News for hackers. Stuff that matters.
Re:How much faster is Redis at storing a blob of JSON compar... by krenoten on Wednesday October 02, 2019 @12:16PM (#21138099)
Just use a hashmap. Hashmaps in some cases can be like 8 orders of magnitude faster than Redis.
Re:How much faster is Redis at storing a blob of JSON compar... by phamilton on Wednesday October 02, 2019 @09:03PM (#21142552)
Hashmaps are faster, except when you need the data to be available to multiple machines.

A good description of redis is a "shared heap". HashSets, HashMaps, Heaps, Priority Queues, etc. are all great and fast in an application, but once you need to start sharing that data things get complicated quickly. So you designate a single server to implement those data structures and expose them to your application. And what you end up with is basically redis.