P
P
PoopZemli2014-07-13 22:11:37
Python
PoopZemli, 2014-07-13 22:11:37

Is there a lightweight alternative to rq that doesn't use Redis?

There is a need to regularly score a large queue. Redis stores information in RAM. Sometimes it may not be enough. Sometimes it may be necessary to restart the computer before all the tasks in the queue have finished executing. (I don't know if Redis can save the base between runs.) I would like to have something lightweight like rq, but insensitive to the amount of RAM.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kolofut, 2014-08-15
@kolofut

Redis can write to disk, and there are several write strategies, more details here .

P
pansa, 2014-08-27
@pansa

Write to text files, in append mode.
Rotate them every N seconds/minutes for as long as you need. Rotated files are sorted by the worker, and all new incoming files go to the current file.
Very simple and stupid =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question