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

Doesn't work with multiple clients #12

Open
jarnoux opened this issue Jul 18, 2022 · 0 comments
Open

Doesn't work with multiple clients #12

jarnoux opened this issue Jul 18, 2022 · 0 comments

Comments

@jarnoux
Copy link

jarnoux commented Jul 18, 2022

hash is not deterministic when used across multiple clients, so the cache will only hit with the client that created it: https://death.andgravity.com/stable-hashing#hash-not-stable-too-restrictive

Defeats the purpose of a distributed cache. Maybe use hashlib and pickle instead.

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

No branches or pull requests

1 participant