Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Use UDP in heartbeat #110

Closed
akiradeveloper opened this issue Dec 1, 2020 · 2 comments
Closed

Use UDP in heartbeat #110

akiradeveloper opened this issue Dec 1, 2020 · 2 comments
Labels

Comments

@akiradeveloper
Copy link
Owner

In v0.6.0, the heartbeat is sent over gRPC which is HTTP/2 over TCP.

We don't need a connection to send heartbeat. Even the response is not necessary. It is just leader sending heartbeat to followers periodically (like 100ms).

If we can send the heartbeat over UDP, there is no connection and it is ideal.

@akiradeveloper
Copy link
Owner Author

akiradeveloper commented Dec 2, 2020

@akiradeveloper
Copy link
Owner Author

akiradeveloper commented Dec 4, 2020

Experimental implementation is here: https://github.com/akiradeveloper/lol/tree/experimental-udp-heartbeat

Repository owner locked and limited conversation to collaborators Sep 9, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

1 participant