1 Apr 2011 13:27
Re: GSOC idea: Plone tool to run long-running scripts in background
Le 01/04/11 10:55, Suresh V. a écrit : > Hanno Schlichting wrote: >> On Thu, Mar 31, 2011 at 6:08 AM, Suresh V.<suresh_vv@...> wrote: >>> Is plone.app.async planned to be included with Plone pretty soon? >> >> Depends on your definition of soon. I think it makes sense to include >> it at some stage, once it has been used in production by more >> companies and has proven itself. If that means Plone 4.2, 4.3 or later >> isn't clear. >> >>> I looked at this but was put off by the fact that it needed a ZEO like >>> setup and won't work in a single process configuration. Would be nice to >>> have a solution that would work regardless. >> >> If you have only a single application process to do the work for you, >> there's little point in deferring work to "later". Either the person >> requesting the job will have to wait, or somebody else will have to >> wait when the job executes. > > Disagree. If the user's request does not block for a long period and > does not result in a browser or proxy server timeout, it is still a big > improvement over the status quo. And since multiple threads are > available, we should be able to do this without blocking the user. > > Am working on a prototype. Will let you know how it goes. > > Suresh You can also take a look at five.taskqueue. Port to Zope2 of lovely.remotetask We run it in production for a few months now. http://zope3.pov.lt/trac/browser/Sandbox/gotcha/five.taskqueue/trunk -- -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
RSS Feed