-
Notifications
You must be signed in to change notification settings - Fork 38
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
Example on using aiomcache for a cluster #195
Comments
@duxing I was looking at the source code, as I'm still wondering if I should use aiomcache, emcache or pymemcache (probably will end up with emcache as pymemcache provides most features, but emcache is async, and aiomcache doesn't appear to have cluster support). I don't see any hashing code. I doubt this library provides clustering support at the time of writing this. |
@takeda I did the same assessment and I prefer the features and performance of |
But, if anyone wants to work on it, we can certainly accept new PRs. |
The hash computation can be expensive, especially with large number of nodes, because (as I understand from looking at emcache code) the hashing is done for every node, and then node with highest score is picked up. That could be the reason why it is slower. I do like aiomcache interface, |
same here, looking for hashing - cluster - hashring implementation through aiomcache
|
facebook/mcrouter#368 (comment) mcrouter has raft / consensus while replicating as seen from this reply |
Thanks for building this amazing lib!
I was wondering if you can share an example for using
aiomcache
to connect to a memcached cluster with more than one host?Seems like this is how connection are established and I don't see any other source code for connection management for multi-node cluster. Given how widely memcached clusters are used, I think an example would be really helpful
The text was updated successfully, but these errors were encountered: