We can use a topicKey that's indexed as most subscriptions will have at least one argument. (Eg. channel id, user id, etc) and then we can skip "filtering" for most publishing.
We can also add a topic as a sort key to the connectionId hashKey on subscriptions that allow us to target specific connections for initial events.
We can use a
topicKeythat's indexed as most subscriptions will have at least one argument. (Eg. channel id, user id, etc) and then we can skip "filtering" for most publishing.We can also add a topic as a sort key to the connectionId hashKey on subscriptions that allow us to target specific connections for initial events.