- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Fri, 13 Oct 2000 16:59:55 +0200
- To: Yves Lafon <ylafon@w3.org>
- CC: Sheldon Conaty <sconaty@hotmail.com>, www-jigsaw@w3.org
Yves Lafon wrote:
> 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
> things.
That's what I call "make it unsynchronized" ;-)
Benoit -
--
- Benoît Mahé -------------------------------------------------------
World Wide Web Consortium (W3C)
Architecture domain - Jigsaw Engineer
http://www.w3.org/People/Mahe - bmahe@w3.org
---------------------------------------------------------------------
Received on Friday, 13 October 2000 11:00:01 UTC