Why doesn't the Go standard library provide a concurrent cache? Because Go emphasizes building custom data structures that fit your needs. In this talk, you will learn how to design, implement, and optimize a concurrent cache in Go, combing LRU & LFU eviction policy, and advanced concurrency patterns beyond sync.Mutex.
GopherCon 2023, San Diego
https://www.youtube.com/watch?v=vT5zI6-sKe8