27.06.07 в 22:03 Jerome Louvel в своём письме писал(а):
Hello Jerome.
The answer about pooling is clear, thxn.
But this is not so much clear for me :)
Inside a Restlet Application, the best is to
leverage the Context.dispatcher mechanism which allows the sharing of
client
connectors between several applications.
If you have some possibilities and free time could you describe this more
detailly.
Thnx in advance.
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
--
Best Regards
Evgeny K. Shepelyuk