[Zope-dev] Re: serving BLOBs

Tres Seaver tseaver at zope.com
Mon Oct 11 12:05:20 EDT 2004


Alan Milligan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I know serving large BLOBs is rather frowned up using Z2, but I have a
> requirement to use the zope security machinery prior to serving a blob
> circa 500Mb.
> 
> I thought I'd just wrap it in an ExternalFile and it would simply stream
> to the client.  In fact I was even anticipating taking advantage of
> chunked transfer encoding for HTTP1.1 clients.
> 
> However, I'm getting out of memory exceptions thrown by the server.
> This would indicate that no intermediate buffer flushing is occuring at 
> all!
> 
> What am I missing?

I don't know the ExternalFile product, but Chris McDonough's 
presentation to the Plone conference in Vienna should be relevant:

   http://plope.com/Members/chrism/2004_plone_pres

Also, you might want to check out Railroad, which is a different take on 
the problem:

   http://zope.org/Members/infrae/news/railroad_products_0_2

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope-Dev mailing list