Live data from Hacker News

Improving distributed caching performance and efficiency at Pinterest

medium.com

1–10 of 25 posts

Re: Improving distributed caching performance and efficiency at Pinterest

#2
I do hope Pinterest would fund memcached development going forward, especially the language clients for memcached. I've been using pylibmc to access memcached fast, and that project seems to be almost dead (https://github.com/lericson/pylibmc/issues).

Re: Improving distributed caching performance and efficiency at Pinterest

#3

I do hope Pinterest would fund memcached development going forward, especially the language clients for memcached. I've been using pylibmc to access memcached fast, and that project seems to be almost dead ( https://github.com/lericson/pylibmc/issues ).

client ecosystem is definitely a sore point now. I've just sort of started working on a replacement for libmemcached to hopefully cut down on the complexity... but then that's a migration and nobody wants to do that.

Pinterest should drop me a line if they're interested in sponsoring work though :)

Re: Improving distributed caching performance and efficiency at Pinterest

#4
post #3

I do hope Pinterest would fund memcached development going forward, especially the language clients for memcached. I've been using pylibmc to access memcached fast, and that project seems to be almost dead ( https://github.com/lericson/pylibmc/issues ).

client ecosystem is definitely a sore point now. I've just sort of started working on a replacement for libmemcached to hopefully cut down on the complexity... but then that's a migration and nobody wants to do that. Pinterest should drop me a line if they're interested in sponsoring work though :)

Thanks for memcached! I am surprised how pylibmc even works at this point - its last released version was in 2019. I do hope Pinterest sponsors.

Re: Improving distributed caching performance and efficiency at Pinterest

#7
post #5

> the fleet serves up to ~180 million requests per second For comparison, Google serves about 63k queries per second. I hope there's not a typo in the above line in Pinterest's blog

Google serves up way way more than 63k queries per second (several million requests/s is common for the critical services around search). Source: I worked there.

However, your main point is valid (180 million/s seems way too high). I've started a thread internally to double check these numbers. Please wait for an update.

Re: Improving distributed caching performance and efficiency at Pinterest

#9
post #6
post #5

> the fleet serves up to ~180 million requests per second For comparison, Google serves about 63k queries per second. I hope there's not a typo in the above line in Pinterest's blog

180 million a day sounds about right

I've started a thread internally to double check these numbers. Please wait for an update.

Re: Improving distributed caching performance and efficiency at Pinterest

#10
post #5

> the fleet serves up to ~180 million requests per second For comparison, Google serves about 63k queries per second. I hope there's not a typo in the above line in Pinterest's blog

Google serves up way way more than 63k queries per second (several million requests/s is common for the critical services around search). Source: I worked there. However, your main point is valid (180 million/s seems way too high). I've started a thread internally to double check these numbers. Please wait for an update.

It's 180M/s memcached requests. A single page view probably hits 10s of requests. Just like a google search may hit 1K+ servers
Post reply on HN