Graceful shutdown
rajks
rajks at hotmail.com
Sun Nov 8 22:17:44 EST 2009
Hi,
I am using the netty HTTP server example as the base and I am also using the
http client as the backend.
1. Since the server is creating a server factory and client factory, do I
need to use two individual channelgroups to add channels of server and
backend clients respectively or use a single channelgroup for both the
server and client backend channels - to do graceful shutdown. I am using the
graceful shutdown method described by TL in the forum.
2. MY server will receive http requests and make a backend http calls to
different servers.
Do I need to create/maintain a MAP of { client factory, host:port} and
reuse the factory or do I need to create a separate factory everytime for
every connection. The backend connections may or may not be persistent.
Thanks
Raj
--
View this message in context: http://n2.nabble.com/Graceful-shutdown-tp3970981p3970981.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list