Return to Video

When To Use Task Queue - Developing Scalable Apps with Java

  • 0:00 - 0:03
    Task queues allows you to take the job offline, so
  • 0:03 - 0:06
    you can create the task queue and then add a
  • 0:06 - 0:09
    hundred task that each has the job to send a
  • 0:09 - 0:13
    hundred emails. Tasks can be created for many user activity,
  • 0:13 - 0:16
    and be put on this queue. And as we will
  • 0:16 - 0:19
    see later, these tasks are not executed in the user
  • 0:19 - 0:22
    request strip. So you can immediately return a response to
  • 0:22 - 0:25
    the user, but one question remains then. How will these
  • 0:25 - 0:31
    mails be sent? That actually depends on the type of queue you use. But before we
  • 0:31 - 0:35
    go into that, it's time for you to answer a question. So the question is which
  • 0:35 - 0:38
    is best to use, the HTTP request thread
  • 0:38 - 0:41
    or task queues? When you want to generate
  • 0:41 - 0:44
    the report, or register a new user, checking
  • 0:44 - 0:47
    out the shopping cart, or do photo face recognition?
タイトル:
When To Use Task Queue - Developing Scalable Apps with Java
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
UD859 - Developing Scalable Apps
Duration:
0:48

English subtitles

改訂 Compare revisions