Natan Silnitsky
Advanced Caching Patterns used by 2000 microservices
#1about 7 minutes
Why caching is critical for services at scale
Caching reduces latency, lowers infrastructure costs, and improves reliability by making services less dependent on databases or third-party services.
#2about 1 minute
Knowing when not to implement a cache
Avoid adding a cache prematurely for young products with low traffic, as it introduces unnecessary complexity, potential bugs, and additional failure points.
#3about 4 minutes
Caching critical configuration with an S3-backed cache
Use a read-through cache backed by S3 to store static, rarely updated configuration data, ensuring service startup reliability even when dependencies are down.
#4about 6 minutes
Building a dynamic LRU cache with DynamoDB and CDC
Implement a cache-aside pattern using an in-memory LRU cache backed by DynamoDB and populated via Kafka CDC streams to reduce database load for frequently accessed data.
#5about 5 minutes
Using Kafka compact topics for in-memory datasets
For smaller datasets, use Kafka's compact topics to maintain a complete, up-to-date copy of the data in-memory for each service instance.
#6about 6 minutes
Implementing an HTTP reverse proxy cache with Varnish
Use a reverse proxy like Varnish Cache with a robust invalidation strategy to dramatically reduce response times for services with expensive computations like server-side rendering.
#7about 4 minutes
A decision tree for choosing the right caching pattern
Follow a simple flowchart to select the appropriate caching strategy based on whether the data is for startup, dynamic retrieval, or stable HTTP responses.
#8about 12 minutes
Q&A on caching strategies and implementation details
The discussion covers HTTP header caching, custom invalidation logic, handling the "thundering herd" problem, and the choice of JVM for high-performance services.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Matching moments
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
03:34 MIN
The business case for sustainable high performance
Sustainable High Performance: Build It or Pay the Price
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
Featured Partners
Related Videos
Scaling: from 0 to 20 million users
Josip Stuhli
HTTP headers that make your website go faster
Thijs Feryn
In-Memory Computing - The Big Picture
Markus Kett
Swapping Low Latency Data Storage Under High Load
George Asafev
The Rise of Reactive Microservices
David Leitner
Single Server, Global Reach: Running a Worldwide Marketplace on Bare Metal in a Cloud-Dominated World
Jens Happe
Event based cache invalidation in GraphQL
Simone Sanfratello
Sleek, Swift, and Sustainable: Optimizations every web developer should consider
Andreas Taranetz
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Qvest Digital AG
Köln, Germany
Intermediate
Senior
Software Architecture
Cloud (AWS/Google/Azure)

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
GitHub Copilot
Anthropic Claude
Cloud (AWS/Google/Azure)

Douglas GmbH
Düsseldorf, Germany
Intermediate
Senior
Java
Google Cloud Platform

Grühn GmbH
Wiesbaden, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management



Wavestone
Zürich, Switzerland
Senior
Go
Bash
Azure
DevOps
Python
+11

Wizeline
Barcelona, Spain
Senior
Agile Methodologies
Microsoft SQL Server
Amazon Web Services (AWS)