W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2000

Re: Only one filter created for all client sock threads

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 13 Oct 2000 16:26:34 +0200 (MET DST)
To: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
cc: Sheldon Conaty <sconaty@hotmail.com>, www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0010131624320.29924-100000@tarantula.inria.fr>
On Fri, 13 Oct 2000, Benoit Mahe wrote:

> > We have written a ResourceFilter for Jigsaw, which is running as a proxy. We
> > have noticed that only one instance of our filter is created and shared
> > between all the http-server-socket-client threads. We are concerned that our
> > filter has now become a bottle neck for all requests and replies passing
> > through the proxy.
> >
> > Is there any way to get Jigsaw to allocate a separate filter instance for
> > each of the socket clients it creates?

Well one way of doing it is having a filter creating an instance of your
filter, add it to the request context, and have the filter calling the
filter taken from the request context both in the input and output. That
way the only instance of the filter is doing pretty simple and fast

Yves Lafon - W3C / Jigsaw - XML Protocol - HTTP
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Friday, 13 October 2000 10:26:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:36 UTC