Massimo, thanks a lot for your help!

I will upgrade right away then. (I have very limited time, so I was afraid 
to break things.)

My comments:

(a) We need to get the import process run instantly on user UI action (link 
click). Couple of seconds later is okay, but half a minute later is not 
okay.

(b) We may have several users doing that at the same time, thus n such 
tasks need to be able to run in parallel.

Will the scheduler allow me to implement an acceptable solution?

Thanks!
YD


On Monday, December 2, 2013 9:41:40 AM UTC+2, Massimo Di Pierro wrote:
>
> The first recommendation would be upgrade to 2.8.2 (nothing should break) 
> and use the scheduler.
>
> Do not use threads because they may still be killed by the web server.
> You can run a simple background process that every minute checks if there 
> is something to do. Then use an auxiliary table to queue the fb credentials 
> of those users that need to be processed.
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to