Remove Architecture Remove Cache Remove Design
article thumbnail

Architectural Insights: Designing Efficient Multi-Layered Caching With Instagram Example

DZone

Caching is a critical technique for optimizing application performance by temporarily storing frequently accessed data, allowing for faster retrieval during subsequent requests. Multi-layered caching involves using multiple levels of cache to store and retrieve data.

Cache 173
article thumbnail

Consistent caching mechanism in Titus Gateway

The Netflix TechBlog

The original assumptions and architectural choices were no longer viable. 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. How do I know that my cache is up to date?

Cache 229
Insiders

Sign Up for our Newsletter

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

article thumbnail

Designing Instagram

High Scalability

Design a photo-sharing platform similar to Instagram where users can upload their photos and share it with their followers. High Level Design. Architecture. Component Design. API Design. We have provided the API design of posting an image on Instagram below. API Design. Problem Statement. Data Models.

Design 334
article thumbnail

Fast memcpy, A System Design

ACM Sigarch

We look here at a Gedankenexperiment: move 16 bytes per cycle , addressing not just the CPU movement, but also the surrounding system design. A lesser design cannot possibly move 16 bytes per cycle. This base design can map easily onto many current chips. Cache pollution is addressed in a section below.). byte loads.

Design 145
article thumbnail

How DoorDash Rearchitected its Cache to Improve Scalability and Performance

InfoQ

DoorDash rearchitected the heterogeneous caching system they were using across all of their microservices and created a common, multi-layered cache providing a generic mechanism and solving a number of issues coming from the adoption of a fragmented cache. By Sergio De Simone

Cache 112
article thumbnail

How RevenueCat Manages Caching for Handling over 1.2 Billion Daily API Requests

InfoQ

RevenueCat extensively uses caching to improve the availability and performance of its product API while ensuring consistency. The company shared its techniques to deliver the platform, which can handle over 1.2 billion daily API requests. The team at RevenueCat created an open-source memcache client that provides several advanced features.

Cache 108
article thumbnail

Introducing Netflix’s Key-Value Data Abstraction Layer

The Netflix TechBlog

In this post, we dive deep into how Netflix’s KV abstraction works, the architectural principles guiding its design, the challenges we faced in scaling diverse use cases, and the technical innovations that have allowed us to achieve the performance and reliability required by Netflix’s global operations.

Latency 248