DevoxxUA 2021. Natan Silnitsky. Advanced Caching Patterns used by 2000 microservices

Опубликовано: 01 Ноябрь 2024
на канале: Devoxx Ukraine
686
10

The talk from Devoxx Ukraine 2021 ONLINE
Fb: www.facebook.com/DevoxxUkraine/
Website: www.devoxx.com.ua


Architecture
Wix has a huge scale of traffic. more than 500 billion HTTP requests and more than 1.5 billion Kafka business events per day.

This talk goes through 3 Caching Patterns that are used by Wix's 2000 microservices in order to provide the best experience for its users along with saving costs, reducing latency and increasing availability.

The patterns include:

Configuration Data Cache - persisted locally or to S3

HTTP Reverse Proxy Caching - using Varnish Cache

(Dynamo)DB+CDC based Cache - for unlimited capacity with continuously updating LRU cache on top each pattern is optimal for other use cases, but all allow to reduce costs and gain performance and resilience.