Hi Evgeny,

The Client instance are already thread-safe and reusable, no need to
recreate them or to pool them! Inside a Restlet Application, the best is to
leverage the Context.dispatcher mechanism which allows the sharing of client
connectors between several applications.

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Evgeny Shepelyuk
> Envoyé : mercredi 27 juin 2007 14:19
> À : [email protected]
> Objet : client perfomance question
> 
>       Hello!
> In my application i'm actively using restlet clients for 
> communicating  
> with my service(also restlet-based).
> So does it make sense to pool client instances and not create 
> them on any  
> request.
> 
> -- 
> Best Regards
> Evgeny K. Shepelyuk

Reply via email to