[Zope] Storing many large objects in many folders
Toby Dickenson
tdickenson@geminidataloggers.com
Mon, 9 Dec 2002 18:43:16 +0000
On Monday 09 December 2002 4:53 pm, Oliver Bleutgen wrote:
> Christoph Schmitz wrote:
> > Hi,
> >
> > I need to store many=20
how many is 'many'?=20
> > large objects (30+MB video files) in a way that
> > Zope can serve them; plus, these files should be distributed over a
> > large folder tree /mytree/... in my Zope system.
>
> I really wouldn't do this.
> Someone correct me if I'm wrong,
sure ;-)
> but serving
> such big files blocks one of only 4 (per-default) of zopes worker threa=
ds.
> This means that 4 concurrent downloads make it impossible for someone
> else to get to your server,
No. Worker threads run as fast as they can, and are not constrained by cl=
ient=20
connection speed. Wirker threads transfer the response to the medusa thre=
ad,=20
which spools the reponse back to the client. It can handle thousands of=20
connections.