Comment Comment by serialx PSA: You can also use singleflight[1] to solve the problem. This prevents the thundering herd problem. Pocache is an interesting/alternative way to solve thundering herd indeed![1]: https://pkg.go.dev/golang.org/x/sync/singleflight parent serialx 2 years ago
[1]: https://pkg.go.dev/golang.org/x/sync/singleflight