Facebook's Memcached Multiget Hole: More machines = More Capacity
highscalability.com
Facebook's Memcached Multiget Hole: More machines = More Capacity
1–10 of 17 posts
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#2Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#3the title should be != More Capacity
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#4If you store and retrieve an object only to server # (object.id % numservers), you don't face this issue. (Obviously you could use a better hash than %.)
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#5the title should be != More Capacity
Yes, as in - this is not sarcasm; the actual article title is: "Facebook's Memcached Multiget Hole: More machines != More Capacity"
Though, to argue with the article's title -- while a straightforward addition of more memcached nodes did not solve their capacity problem, the strategy of replicating nodes & load balancing read requests between them appears to be a solution to this particular capacity problem; so more machines = more capacity, so long as they are organized appropriately.
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#6Being a little smarter on the client side can help a lot here. If you store and retrieve an object only to server # (object.id % numservers), you don't face this issue. (Obviously you could use a better hash than %.)
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#7Being a little smarter on the client side can help a lot here. If you store and retrieve an object only to server # (object.id % numservers), you don't face this issue. (Obviously you could use a better hash than %.)
The proposed solution is to instead replicate nodes and load balance read requests. In this case, this doubles your read capacity, though you must write twice (or N times depending on your replication level).
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#8Being a little smarter on the client side can help a lot here. If you store and retrieve an object only to server # (object.id % numservers), you don't face this issue. (Obviously you could use a better hash than %.)
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#9Being a little smarter on the client side can help a lot here. If you store and retrieve an object only to server # (object.id % numservers), you don't face this issue. (Obviously you could use a better hash than %.)
I wonder what sort of sandbox they have to play on. They also probably lack the ability to Google or stackoverflow the problem.
Re: Facebook's Memcached Multiget Hole: More machines = More Capacity
#10Earlier quoted context omitted.
Yes, as in - this is not sarcasm; the actual article title is: "Facebook's Memcached Multiget Hole: More machines != More Capacity"
Right. Though, to argue with the article's title -- while a straightforward addition of more memcached nodes did not solve their capacity problem, the strategy of replicating nodes & load balancing read requests between them appears to be a solution to this particular capacity problem; so more machines = more capacity, so long as they are organized appropriately.
more capacity != more machines
more capacity = more machines + load distribution strategy