Need Assistance?

support@tutorialshub.in

Replication, Sentinel & Redis Cluster

Hash Tags ({tag}) for Multi-Key Operations

ADVERTISEMENT
Redis Free Lesson
5 min read
ADVERTISEMENT

In Redis Cluster, multi-key commands like MGET or SINTER fail unless all keys live on the same hash slot. Wrap the shared part in curly braces—e.g., {user:101}:profile and {user:101}:orders—so Redis hashes only user:101!

ADVERTISEMENT
Hi, I'm Tuby! Here to help you