[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: dav memory scalability

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-30 00:14:06 CEST

Justin Erenkrantz <justin@erenkrantz.com> writes:

> Getting mod_dav to be streamy may be just as hard as getting the pool
> usage right. =) But, perhaps not. Let me know if you need any help.

Ugh, this looks really hard.

dav_method_propfind has many call layers below it, and they *all*
assume that the provider is writing into a text-buffer. When control
returns to the top level, it sends out the whole buffer.

What we really want is for dav_method_propfind to look like
dav_method_report: create an output filter, pass it down to the
provider. The provider creates a brigade and spews data into it.
Voila, instant streaming.

But this looks like a total rewrite of dav_method_propfind to me. :-(

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 30 00:15:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.