Roberto;

Thanks so much; this is almost the information I am looking for;
Spooler.

I have to see how I would use this in web2py.

Thanks.


On 7/11/11 11:42 AM, Roberto De Ioris wrote:
Il giorno 11/lug/2011, alle ore 17.27, David J. ha scritto:

I am not using celery;

The more I think about it I think celery would be easier to work with than what 
I had asked;

Celery is a process that runs in the background its uses AMPQ so that service 
is running; so if there were a client you could easily integrate the two;

what I am asking would be a bit different; because I want when the application 
starts to start a background process;

which you can do as Anthony pointed out in the docs; but the next question is 
that if you use uwsgi; then you would need some way to perform that same 
startup scenario in wsgi.

Thanks.

I do not want to look non-modest, but the current uWSGI (0.9.8.2-dev) version 
makes celery completely useless (do not forget that celery requires a daemon 
for itself, an amqp server and some form of integration). It is still not very 
clear to me what you are trying to accomplish, but looks like the spooler is 
what you are searching for.

Try reading this

http://projects.unbit.it/uwsgi/wiki/Decorators

and then

http://projects.unbit.it/uwsgi/wiki/Spooler

Integrating with web2py is not a problem, as they all works with normal python 
functions, so simply define them and call asynchronously from web2py views.

Again, i am not sure to understand what you are trying do to, but i bet some of 
the uWSGI features will help you without istalling additional stacks.


--
Roberto De Ioris
http://unbit.it



Reply via email to