article thumbnail

What Is the Maximum max-age?

CSS Wizardry

If you wanted to cache a file ‘forever’, you’d probably use a Cache-Control header like this: Cache-Control: max-age=31536000 This instructs any cache that it may store and reuse a response for one year (60 seconds × 60 minutes × 24 hours × 365 days = 31,536,000 seconds ). Does Cache-Control say anything different?

Cache 205
article thumbnail

Migrating Critical Traffic At Scale with No Downtime?—?Part 1

The Netflix TechBlog

Replay Traffic Testing Replay traffic refers to production traffic that is cloned and forked over to a different path in the service call graph, allowing us to exercise new/updated systems in a manner that simulates actual production conditions. It helps expose memory leaks, deadlocks, caching issues, and other system issues.

Traffic 347
Insiders

Sign Up for our Newsletter

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

article thumbnail

Seamlessly Swapping the API backend of the Netflix Android app

The Netflix TechBlog

This allows the app to query a list of “paths” in each HTTP request, and get specially formatted JSON (jsonGraph) that we use to cache the data and hydrate the UI. Functional Testing Functional testing was the most straightforward of them all: a set of tests alongside each path exercised it against the old and new endpoints.

Latency 241
article thumbnail

MezzFS?—?Mounting object storage in Netflix’s media processing platform

The Netflix TechBlog

Disk Caching? — ? MezzFS can be configured to cache objects on the local disk. Regional caching? —?Netflix If an application in region A is using MezzFS to read from an object stored in region B, MezzFS will cache the object in region A. we only pay the transfer costs for one worker, and the rest use the cached object.

Media 218
article thumbnail

Pushy to the Limit: Evolving Netflix’s WebSocket proxy for the future

The Netflix TechBlog

Where aws ends and the internet begins is an exercise left to the reader. The DeviceToDeviceManager is also responsible for observability, with metrics around cache hits, calls to the data store, message delivery rates, and latency percentile measurements. Sample system diagram for an Alexa voice command.

Latency 234
article thumbnail

Interactive Learning Tools For Front-End Developers

Smashing Magazine

CSS Selectors Cheatsheet is an interactive exercise to test your understanding of CSS selectors. The first few are fairly easy but the exercises increase in difficulty as you get into more advanced selectors like lesser-used pseudo-classes. TypeScript Exercises. Image source: TypeScript Exercises ). Design Patterns Game.

article thumbnail

Bring Your Own Cloud (BYOC) vs. Dedicated Hosting at ScaleGrid

Scalegrid

This becomes really important for cache solutions like Redis™. This is especially apparent in the enterprise space, as these organizations have teams of database administrators managing their deployments and require the freedom to exercise their internal expertise over their clusters. Interested in BYOC, but don’t want SSH access?

Cloud 242