article thumbnail

The Power of Caching: Boosting API Performance and Scalability

DZone

Caching is the process of storing frequently accessed data or resources in a temporary storage location, such as memory or disk, to improve retrieval speed and reduce the need for repetitive processing. Bandwidth optimization: Caching reduces the amount of data transferred over the network, minimizing bandwidth usage and improving efficiency.

Cache 246
article thumbnail

Consistent caching mechanism in Titus Gateway

The Netflix TechBlog

We introduce a caching mechanism in the API gateway layer, allowing us to offload processing from singleton leader elected controllers without giving up strict data consistency and guarantees clients observe. The cache is kept in sync with the current leader process. How do I know that my cache is up to date? of the data.

Cache 233
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Netflix’s Distributed Counter Abstraction

The Netflix TechBlog

Best Effort Regional Counter This type of counter is powered by EVCache , Netflix’s distributed caching solution built on the widely popular Memcached. Rollup Cache To optimize read performance, these values are cached in EVCache for each counter.

Latency 251
article thumbnail

Design Of A Modern Cache—Part Deux

High Scalability

The previous article described the caching algorithms used by Caffeine , in particular the eviction and concurrency models. This allows for quickly discarding new arrivals that are unlikely to be used again, guarding the main region from cache pollution.

Cache 200
article thumbnail

Title Launch Observability at Netflix Scale

The Netflix TechBlog

This thoughtful approach doesnt just address immediate hurdles; it builds the resilience and scalability needed for the future. Personalization systems handle the recommendation and serving of titles on these canvases, leveraging a vast ecosystem of microservices, caches, databases, code, and configurations to build these product canvases.

article thumbnail

How To Design For High-Traffic Events And Prevent Your Website From Crashing

Smashing Magazine

For example, you can switch to a scalable cloud-based web host, or compress/optimize images to save bandwidth. Choose A Scalable Web Host The most convenient way to design a high-traffic website without worrying about website crashes is to upgrade your web hosting solution. Caching can help your website combat this issue.

Traffic 86
article thumbnail

How DoorDash Rearchitected its Cache to Improve Scalability and Performance

InfoQ

DoorDash rearchitected the heterogeneous caching system they were using across all of their microservices and created a common, multi-layered cache providing a generic mechanism and solving a number of issues coming from the adoption of a fragmented cache. By Sergio De Simone

Cache 112