Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Alex Pliutau - Blog
(Uncensored)
subscribe
Map with Expiration in Go
https://pliutau.com/map-with-expiration-go/
links
backlinks
In some cases your application doesn’t need Redis, and internal in-memory map with locks and expiration will suffice. For example you already know the size of the map and you don’t need to store a lot of data.