gnet
gnet copied to clipboard
Connection migration to other server seemlessly.
Is your feature request related to a problem? Please describe. I am using gnet framework with 30k clients. And use aws codedeploy (blue/green). When I deploy new version of source all connection close and reconnect to new server at once. It might be cause a kind of performance issue. So I try to use onShutdown event, Unfortunately, it fires after all connection closed.
Describe the solution you'd like Can you make a new event type just before start shut down?
Describe alternatives you've considered
Additional context
Sorry, still not so clear about your requirement here, could you describe it step by step and share more details?
Just I want another event which is fire when server shutdown.(before client connections close).
Sorry for late reply.
Let me see what I can do.