[IronPython] Object Pooling of IronPython 2.0 engine

Dody Gunawinata empirebuilder at gmail.com
Thu Jul 17 10:57:34 CEST 2008


I have a scenario in which I need to execute multiple python scripts within
a single HTTP request. Right now I create a new instance of the engine for
every single HTTP request and use the engine to service those requests.

This works fine except that the whole stack breaks down in moderate traffic
and I start getting a bunch errors.

Is there any facility within the hosting API to support object pooling or do
I have to implement them myself? Is object pooling an appropriate solution
for this type of scenario at all?

Dody G.

-- 
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080717/0fdf1a77/attachment.html>


More information about the Ironpython-users mailing list