Skip to content
Level 3
/
Concurrency
/
Cache computes duplicate work
Previous
Next
Submit review
Task
Code
Findings
Answer
Guide
Task
Model answer
Guide
Coding
/
Concurrency
Cache computes duplicate work
Code review
Medium
20 min
Uber and DoorDash style
Your task
Review this Go in-memory cache. Two goroutines may call GetOrCompute for the same key concurrently.
Model answer
Home
Review
Tracks
Paths
Menu