[Zope3-dev] RFC: Make HTTP streaming of large data simpler
Sidnei da Silva
sidnei at enfoldsystems.com
Tue Dec 20 10:22:14 EST 2005
On Tue, Dec 20, 2005 at 09:52:09AM -0500, Jim Fulton wrote:
| >One thing that I had in mind for long-running streaming output is that
| >99% of the time it just needs a constant, read-only view of the
| >database at the time the streaming started so instead of using a
| >connection from the zodb connection pool, it could open a new,
| >read-only connection and use that for delivering the content.
|
| I don't see how that helps. Avoiding writes doesn't substantially
| (if at all) reduce resource consumption.
I was thinking that it would free a database connection back to the
connection pool and use a new, read-only connection with a 'delivery
thread', freeing the application thread. But maybe that doesn't really
help at all.
--
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
More information about the Zope3-dev
mailing list