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 ). But why one year? Why not 10 years? 6bb70b2a.css.

Cache 187
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. Also, since this logic resides on the server side, we can iterate on any required changes faster.

Traffic 339
Insiders

Sign Up for our Newsletter

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

Trending Sources

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 233
article thumbnail

MySQL Capacity Planning

Percona

Unfortunately, this topic is more of an art than a science, given that there is really no foolproof algorithm or approach that can tell you exactly where you might hit a bottleneck with server performance. Global memory caches are static in size as they are defined solely by the configuration of the database itself.

Traffic 90
article thumbnail

Fixing a slow site iteratively

CSS - Tricks

With all of this in mind, I thought improving the speed of my own version of a slow site would be a fun exercise. It begins with retrieving the HTML from the server and converting this into the Document Object Model (DOM). Compressing, minifying and caching assets. The final thing we can check is caching.

Cache 92
article thumbnail

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

Scalegrid

This becomes really important for cache solutions like Redis™. AWS Security Groups and Azure Network Security Groups allow you to lock down access to your servers through advanced virtual firewalls. At ScaleGrid we recommend you deploy your clusters on private VPC subnets so that your database is not routable from the internet.

Cloud 242
article thumbnail

How to Assess MySQL Performance

HammerDB

Instead, focus on understanding what the workloads exercise to help us determine how to best use them to aid our performance assessment. For the network, we can use Iperf to assess the network bandwidth between the client and the database server to ensure it will be enough to meet our peak requirement.