3 ms·
> One common mistake is serialising objects to JSON strings before storing them in Redis. This works for reading and writing objects as atomic units but is inef
by resonious 3y ago
> One common mistake is serialising objects to JSON strings before storing them in Redis. This works for reading and writing objects as atomic units but is inefficient for reading or updating individual properties within an object
I would love to see some numbers on this. My intuition says there are probably some workloads where JSON strings are better and some where one key per property is better.