Project Description

Slide Slide

Meet The Baconator

ProPublica

“When a resource (like a webpage) is requested, the reverse proxy receives the request and will then check the cache data store. If the cache for that resource exists, it is served. The cache expiration, or time-to-live (TTL), is then checked. If the cache has not yet expired for the resource, it is considered valid and nothing else is done. If the cache has expired, the reverse proxy then adds a request to the queue for that resource’s cache to be updated.

Meanwhile, the queue worker is constantly checking the queue. As requests come into the queue, it generates the webpage from the origin and updates the corresponding cache in the data store.

And finally, at the origin anytime a page is created or edited, the cache data store is amended or updated.”

Art Direction: David Sleight