Hi,

I have some long running requests which I would like to make
asynchronous: queue in database and run when the server is idle or not
very busy.

I was thinking about scheduling a cron job that would be executed
every 10 seconds or so which would issue a request to execute a job
from the queue if the current server load is low.

How to check load of a Pylons application? Maybe it is possible to
access Paste's thread pool and calculate how many threads are idle.
Does anybody know how to do it?


Cheers,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to