User Tools

Site Tools


Sidebar

queues:background-worker

Q. There is a request that comes in from the outside and is answered very fast. But it should start a background process in Tarantool that needs to run and finish long after the response. How can I do that correctly in Tarantool? (2018)

A. The best practice is to put a job in a queue, and a background worker will handle it (see https://github.com/tarantool/queue). In addition, you can monitor the queue length and autoscale workers as needed.

Comments

Enter your comment. Wiki syntax is allowed:
N᠎ Y E D C
 
queues/background-worker.txt · Last modified: 2018/06/04 19:22 by eabates

Real Time Web Analytics