hey everyone,

so i wrote some code that does a bunch of web scraping and i just threw the 
code in a regular controller so i can output at different stages of 
development so i can trace the outputs for the next stage.

now i have to code running and it can run for days on end at full CPU 
capacity.  it is working great but it is locking up access from other 
client requests to other functions and views.

if i move the code to a module, will i get better multi-threading/SMTP so 
that the regular side of the website doesn't blow up or lock up or freeze 
out on other client requests?

also, if i setup cron to run this code, where is it best located so that 
the rest of the site doesn't suffer from servicing client requests?

thanx in advance, lucas

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to