Daniel P. Berrange
2006-Oct-25 17:58 UTC
[Xen-devel] [Patch] Make SEXPR HTTP service multi-threaded
The HTTP service used for SEXPR based RPC calls currently serializes all incoming client requests. Since some requests can take non-trivial time blocking out other clients in this way has bad consequences. The attached patch makes XenD spawn a new thread to handle each incoming HTTP request. This same approach is already taken in the XML-RPC service in XenD so I don''t anticipate any multi-thread issues (at least none which don''t already exist). Please apply to xen-unstable tree Signed-of-by: Daniel P. Berrange <berrange@redhat.com> NB, this is same patch as previously submitted http://lists.xensource.com/archives/html/xen-devel/2006-10/msg00264.html Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Dec-07 12:08 UTC
Re: [Xen-devel] [Patch] Make SEXPR HTTP service multi-threaded
On Wed, Oct 25, 2006 at 06:58:17PM +0100, Daniel P. Berrange wrote:> The HTTP service used for SEXPR based RPC calls currently serializes all > incoming client requests. Since some requests can take non-trivial time > blocking out other clients in this way has bad consequences. The attached > patch makes XenD spawn a new thread to handle each incoming HTTP request. > This same approach is already taken in the XML-RPC service in XenD so I > don''t anticipate any multi-thread issues (at least none which don''t already > exist). Please apply to xen-unstable tree > > Signed-of-by: Daniel P. Berrange <berrange@redhat.com> > > NB, this is same patch as previously submitted > http://lists.xensource.com/archives/html/xen-devel/2006-10/msg00264.html >Applied Daniel, thanks, and sorry for the extreme delay -- I''ve just found this one lurking in my inbox. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel