Hi,
Il 07/05/2015 07:15, Roberto De Ioris ha scritto:
Hello,
I need to defer a function call by a fixed amount of time. With the uwsgi
python
module I think i have at least a couple of options:
- the spooler with the at parameter
- timers and uwsgi signals
I've implemented them with the spooler and it works fine, though there's
quite a
bit of overhead and jitter (wrt spooler frequency).
I think your best bet is the spooler with the 'at' parameter.
Yep, that's our current solution
If jittering is a problem try setting --spooler-frequency to 1 and check
this ticket: https://github.com/unbit/uwsgi/issues/904
it could help in reducing load and ram usage when there are no tasks
enqueued.
Seen that. Not worried about resources usage at the moment.
thanks a lot
--
Riccardo Magliocchetti
@rmistaken
http://menodizero.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi