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

Optimize Redis-based heartbeat implementation #290

Open
zcahana opened this issue Sep 21, 2016 · 0 comments
Open

Optimize Redis-based heartbeat implementation #290

zcahana opened this issue Sep 21, 2016 · 0 comments

Comments

@zcahana
Copy link
Member

zcahana commented Sep 21, 2016

The heartbeat operation is expected to be the most frequent API operation invoked on the Registry.
Today it is implemented using 3 round trips to Redis - read, write, expire - and all with a Write-lock acquired (see #288).

This can already be reduced to 2 operations: read, write+expire as a MULTI-EXEC operation.
Looking forward, we also need to look into using server side scripting (Lua) to implement this as 1 roundtrip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant