Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Salvatore Sanfilippo talks Redis design and internals. Parent comment
PUBLISH commands are propagated on slaves. So you can attach your subscribers in a random slave.
Another approach is, if you don't have any pattern matching subscriber, to shard based on the hash of the key.
There are no comments on this comment yet.
PUBLISH commands are propagated on slaves. So you can attach your subscribers in a random slave.
Another approach is, if you don't have any pattern matching subscriber, to shard based on the hash of the key.