Skip to content
PlantUML templates

Cache-Aside Read (PlantUML Sequence)

A cache miss falling through to the database.

Template previewPlantUML
Rendering…

Make it your own.

@startuml
participant Client
participant API
participant Cache
database DB
Client -> API : GET /item/42
API -> Cache : get(42)
Cache --> API : miss
API -> DB : SELECT * WHERE id=42
DB --> API : row
API -> Cache : set(42, row)
API --> Client : 200 item
@enduml