← All notes

#system-design

12 notes

Cache Stampede

A cache stampede occurs when many requests try to rebuild the same cached value at once. It commonly happens when a popular key expires, is evicted, or is inval…

#system-design

Cache

Caching is the process of storing frequently accessed data in a temporary storage location, in order in quickly retrieve it without the need to query the data o…

#system-design #cache

Cache invalidation

Cache invalidation removes or updates cached data when its source changes. It is needed when waiting for the TTL to expire would leave data stale for too long. …

#system-design #cache

Caching Type

cache can happen at several layers. Using multiple layers reduces latency and prevents every request from reaching the origin database or service. Stores dat…

#system-design #cache

CDN

Content Delivery Network (CDN) is a distributed proxy server that cache website static content closer to users. This routing visitor requests to the nearest edg…

#system-design #cache

Caching Strategies

There are several cache strategies: - Refresh Ahead - Write-Behind - Write-through - Cache Aside Example: Product catalog pages, trending news feeds, sessio…

#cache #system-design

System design

- monolith-vs-microservice - system-scalability - content-delivery-network-cache - cache - load-balancer - frontend - https://roadmap.sh/system-design - htt…

#system-design

Kafka

Latest Noted 3 November 2021 ที่[เว็บของ Apache Kafka](https://kafka.apache.org/) เขียนไว้ว่า "Apache Kafka is an open-source distributed event streaming pla…

#event-driven #system-design #tools

Load Balancer

#system-design

Frontend

#system-design

System Scalability

Scalability is a system's ability to handle increasing traffic, data volume, or computation without an unacceptable decline in performance or reliability. A sca…

#system-design

Monolith vs Microservice

- All units (ex. UI, Business Logic, Data Access Layer) are implemented in a single components or codebase and connect to one database. - Easy to deploy, debug…

#system-design