article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Caching them at the other end: How long should we cache files on a user’s device? Given that 66% of all websites (and 77% of all requests ) are running HTTP/2, I will not discuss concatenation strategies for HTTP/1.1 What happens when we adjust our compression strategy? Cache This is the easy one. in this article.

Cache 348
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. In the following sections, we’ll explore various strategies for achieving durable and accurate counts. Additionally, we employ a bucketing strategy to prevent wide partitions.

Latency 251
Insiders

Sign Up for our Newsletter

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

article thumbnail

Cache Grab: How Much Are You Leaving on the Table?

CSS Wizardry

For the longest time now, I have been obsessed with caching. I think every developer of any discipline would agree that caching is important, but I do tend to find that, particularly with web developers, gaps in knowledge leave a lot of opportunities for optimisation on the table. Want to know everything (and more) about HTTP cache?

Cache 237
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
article thumbnail

Elasticsearch Indexing Strategy in Asset Management Platform (AMP)

The Netflix TechBlog

Although this indexing strategy worked smoothly for a while, interesting challenges started coming up and we started to notice performance issues over time. It was time to take a step back and reevaluate our ES data indexing and sharding strategy. We also changed our mapping strategy to overcome these issues.

Strategy 264
article thumbnail

Front-End: Cache Strategies You Should Know

DZone

Caches are very useful software components that all engineers must know. In this article, we are going to describe what is a cache and explain specific use cases focusing on the frontend and client side. In this article, we are going to describe what is a cache and explain specific use cases focusing on the frontend and client side.

Cache 147
article thumbnail

Migrating Netflix to GraphQL Safely

The Netflix TechBlog

The three strategies we will discuss today are AB Testing , Replay Testing, and Sticky Canaries. And we definitely couldn’t replay test non-functional requirements like caching and logging user interaction. Let’s discuss the three testing strategies in further detail. To launch Phase 1 safely, we used AB Testing.

Traffic 357