![]() ![]() Ok, so I may have annotated the important bit but that's what it feels like - magic - because you just turn it on and. But what if Cloudflare never had to do that unless explicitly instructed to do so? I mean, what if it just stayed in their cache unless we actually changed the source file and told them to update their version? Welcome to Cloudflare Cache Reserve: There was bound to be a number somewhere around that mark due to the transient nature of cache and eviction criteria inevitably meaning a Cloudflare edge node somewhere would need to reach back to the origin website and pull a new copy of the data. We were really happy with that as it was now only 5k requests per million hitting the origin. All free, open source and out there for the community to do good with □ /DSJOjb2CxZ- Troy Hunt May 24, 2022Īnd that's pretty much where we levelled out, at about the 99-and-a-bit percent mark. There it is - Pwned Passwords is now doing north of 2 *billion* requests a month, peaking at 91.59M in a day with a cache-hit ratio of 99.52%. And we were happy with that! As the years progressed, the traffic grew and the caching model was optimised so our stats improved: Put another way, instead of 2 in every million requests hitting the origin it was 85k. Optimising Caching on Pwned Passwords (with Workers)- /BSfJbWyxMy- Cloudflare August 9, 2018Īh, memories □ Back then, Pwned Passwords was serving way fewer requests in a month than what we do in a day now and the cache hit ratio was somewhere around 92%. Actually, it was 99.9998% but we're at the point now where that's just splitting hairs, let's talk about how we've managed to only have two requests in a million hit the origin, beginning with a bit of history: Yep, we just hit "five nines" of cache hit ratio on Pwned Passwords being 99.999%. that was out of a total of more than 166M requests in the same period: that you could run a website from behind Cloudflare and only have 385 daily requests miss their cache and go through to the origin service? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |