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? In one test, I concatenated it all into one big file, and the other had the library split into 12 files. Read the complete test methodology. Compress The above tests were run with Brotli compression 2. Cache This is the easy one.

Cache 348
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

Use Cases and Requirements At Netflix, our counting use cases include tracking millions of user interactions, monitoring how often specific features or experiences are shown to users, and counting multiple facets of data during A/B test experiments , among others.

Latency 251
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. To launch Phase 1 safely, we used AB Testing. To launch Phase 2 safely, we used Replay Testing and Sticky Canaries. We knew we could test the same query with the same inputs and consistently expect the same results.

Traffic 357
article thumbnail

Caching Across Layers in Software Architecture

DZone

The purpose of this article is to help readers understand what is caching, the problems it addresses, and how caching can be applied across layers of system architecture to solve some of the challenges faced by modern software systems.

Cache 130
article thumbnail

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

Smashing Magazine

In this article, well discuss six ways to design websites for high-traffic events like product drops and sales: Compress and optimize images , Choose a scalable web host , Use a CDN , Leverage caching , Stress test websites , Refine the backend. You can also find optimization plugins or caching solutions that give you access to a CDN.

Traffic 86
article thumbnail

Introducing Configurable Metaflow

The Netflix TechBlog

Frequently, practitioners want to experiment with variants of these flows, testing new data, new parameterizations, or new algorithms, while keeping the overall structure of the flow or flowsintact. this could take a few minutes) All packages already cached in s3. All environments already cached in s3. nflxfastdata(2.13.5);nflx(2.13.5);metaboost(0.0.27)