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

Re: svn commit: rev 6355 - branches/svnserve-thread-pools/subversion/svnserve

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-06-26 01:48:28 CEST

Greg Hudson wrote:

>On Wed, 2003-06-25 at 19:37, brane@tigris.org wrote:
>
>
>>Reimplement the threaded server in svnserve to use a thread pool.
>>
>>
>
>Is there any way we could move the functionality of thread.c into
>apr-util? I'm uncomfortable with the idea that every network daemon has
>to implement this much code just to receive and process requests
>efficiently.
>
>

I dunno. I'm fairly sure some generic parts could go there; for
instance, the request queue. Although, there's already apr_queue, which
I decided not to use because it has a fixed size. The thread creation
logic itself is fairly specific to svnserve, though, because the
requests aren't independent (one thread can block until another request
is processed -- some diff and merge cases and externals handling are
examples).

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 26 01:49:23 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.