Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection migration to other server seemlessly. #330

Open
chikilov opened this issue Feb 25, 2022 · 3 comments
Open

Connection migration to other server seemlessly. #330

chikilov opened this issue Feb 25, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request pending development Requested PR owner to improve code and waiting for the result proposal Proposal for this repo waiting for response waiting for the response from commenter

Comments

@chikilov
Copy link

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

@chikilov chikilov added enhancement New feature or request proposal Proposal for this repo labels Feb 25, 2022
@panjf2000
Copy link
Owner

Sorry, still not so clear about your requirement here, could you describe it step by step and share more details?

@panjf2000 panjf2000 added the waiting for response waiting for the response from commenter label Feb 25, 2022
@chikilov
Copy link
Author

chikilov commented Apr 21, 2022

Just I want another event which is fire when server shutdown.(before client connections close).

Sorry for late reply.

@panjf2000 panjf2000 added the pending development Requested PR owner to improve code and waiting for the result label Apr 24, 2022
@panjf2000
Copy link
Owner

Let me see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending development Requested PR owner to improve code and waiting for the result proposal Proposal for this repo waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

2 participants