Advertisement

Active Job

  • Stefan Wintermeyer
Chapter

Abstract

Sometimes a specific piece of code takes a long time to run but doesn’t need to run right away. An example is sending an e-mail after creating an order at the end of an online shopping workflow. It can take a long time to send an e-mail, but you don’t want your user to wait for that to happen within the controller. It makes more sense to use a queueing mechanism for these tasks.

Copyright information

© Stefan Wintermeyer 2018

Authors and Affiliations

  • Stefan Wintermeyer
    • 1
  1. 1.BochumGermany

Personalised recommendations