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? Cache This is the easy one. Caching is something I’ve been a little obsessed with lately , but for static assets as we’re discussing today, we don’t need to know much other than: cache everything as aggressively as possible.

Cache 353
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. Reducing Code Complexity : We reduce a lot of code complexity in Counter Abstraction by delegating a major portion of the functionality to an existing service.

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

The Advantage of Using Cache to Decouple the Frontend Code

DZone

We can agree decoupling is a good practice that simplifies the code and the maintainability of the project. A common way of decoupling the code is to divide the responsibilities into different layers. A very common division is:

Code 182
article thumbnail

Seeing through hardware counters: a journey to threefold performance increase

The Netflix TechBlog

We also see much higher L1 cache activity combined with 4x higher count of MACHINE_CLEARS. a usage pattern occurring when 2 cores reading from / writing to unrelated variables that happen to share the same L1 cache line. Cache line is a concept similar to memory page?—? Thread 0’s cache in this example.

Hardware 363
article thumbnail

Progressive delivery at cloud scale: Optimizing CPU intensive code with Dynatrace

Dynatrace

And the code-level root cause information is what makes troubleshooting easy for developers. As Dynatrace automatically captures stack traces for all threads at all time the CPU Hotspot analysis makes it easy to identify which code is consuming all that CPU in that particular thread. Step 3: Identifying root-cause in code.

Code 246
article thumbnail

Code-level observability for Flutter apps drives great user experience

Dynatrace

When you set up user actions in your code, OneAgent automatically links associated web requests to those user actions. Additionally, it exposes API calls to the Flutter code and forwards these API calls to OneAgent for iOS/Android. This flushes the cache on the Dynatrace Cluster; you should see events in the web UI shortly thereafter.

Code 244
article thumbnail

Introducing Configurable Metaflow

The Netflix TechBlog

A natural solution is to make flows configurable using configuration files, so variants can be defined without changing the code. Unlike parameters, configs can be used more widely in your flow code, particularly, they can be used in step or flow level decorators as well as to set defaults for parameters. nflxfastdata(2.13.5);nflx(2.13.5);metaboost(0.0.27)