tarantool / queue

Create task queues, add and take jobs, monitor failed tasks
Other
237 stars 52 forks source link

utubettl: slow take #228

Closed oleg-jukovec closed 4 months ago

oleg-jukovec commented 5 months ago

Our clients reported that utubettl:take() loads CPU too much and takes too much time when there is a utube with a big amount of tasks (+100.000).

I suggest to make the task in the order:

  1. Create a benchmark for the problem and ensure that we have the problem.
  2. You offer solutions to the problem in the issue, which we will discuss.
  3. Fix the problem after discussion. Ensure that it helps.
  4. Create a regression benchmark and ensure that we don't degrade performance.