Hi Maarten, I would suggest looking into using a task queue like Celery. http://celeryproject.org/
There are also a few alternatives like http://kr.github.com/beanstalkd/ and http://nvie.com/posts/introducing-rq/, your you could roll your own solution using Redis. But Celery works really well for me so far. Best Regards, Jesaja Everling On Mon, Jan 28, 2013 at 12:50 PM, Maarten De Schrijver <[email protected]> wrote: > Hello, > > I've written an application in Pyramid. In one particular view, I need to > connect to a kind of CRM system via SOAP-XML (need to check if the user > exists and if not add to this CRM system). It works fine, but, it is slow: > the users web browser "hangs" (or rather: is busy) sometimes for over 10 > seconds. > > How could I best solve this? I'm thinking along the lines of "handing over" > this particular task to another "application"? Or should I investigate > Eventlet and coroutines? > > Thanks in advance. > Maarten > > -- > 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]. > Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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]. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
