Re: Caching connections ?!

On Tue, 7 Sep 1999, Semuel Vomberg wrote:

> Hello there.
> 
> 
> In jigsaw's client API, it's working with a connections machanizem, and
> caching them, or so I understood.

Exactly, it caches connections to remote servers.
> 
> the question is, why ? what is the motivation to re-use HttpConnection
> objects ?

The motivation is... HTTP/1.1. Kept alive connections are good for the
network and are improving performances, after a connection, Jigsaw will
try to keep it open and to reuse it for future requests, the cache has a
maximum number of connections used, and will garbage collect the LRU ones.
Hope this helps,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Tuesday, 7 September 1999 10:19:34 UTC