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

ttrpc: support connection recovery with fdstore #2

Open
wants to merge 3 commits into
base: v0.7.1-kuasar
Choose a base branch
from

Conversation

abel-von
Copy link

use fdstore of systemd to store the connections and request in systemd so that we can serve the connection and request after restart.

image

the sequence diagram:
fdstore1

TODO:

  1. add a flag in Server to choose if we use fdstore even the feature gate is open
  2. introduce a kv store for the message store, currently we just write all messages everytime we insert or delete the messasge.

The ttrpc service support fdstore to send the connections and the
incomplete requests to systemd file descriptor store and restore them
after systemd service restart.

Signed-off-by: Abel Feng <[email protected]>
the compile should be in the ../compiler but not ../ttrpc-compiler

Signed-off-by: Abel Feng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant