Sphere
Log in Join
☆ 1

Redis: serialized JSON string or hash for an object that is about 3 MB?

We cache a product object with roughly 3 MB of nested attributes. Right now it is one JSON string with SET/GET. A colleague wants to move it to a hash so we can update individual fields. At this size, is a hash actually better, or does it just add round trips? Nobody on the team has measured it.

⚑ Report

0 replies

No replies yet.
Log in to reply.