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

Parallel the session migration process #421

Open
djshow832 opened this issue Dec 23, 2023 · 0 comments
Open

Parallel the session migration process #421

djshow832 opened this issue Dec 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@djshow832
Copy link
Collaborator

Development Task

Currently, the process of session migration is serial:

  1. Query the session states
  2. Find a backend
  3. Connect to the backend and retry if it fails
  4. Read the initial handshake from the new backend
  5. Handshake with the new backend
  6. Set the session states into the new connection
  7. Disconnect the old connection

A long session migration may affect the query duration. We can do the 1st step while doing the 2nd, 3rd, and 4th steps. It may reduce the session migration duration.

@djshow832 djshow832 added the enhancement New feature or request label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant