Skip to content

Commit

Permalink
pubsub.md, delete link to most likely broken example, valkey-io#128
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
  • Loading branch information
zuiderkwast committed Jun 20, 2024
1 parent b037085 commit 5fc2cd0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions topics/pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ It restricts the propagation of messages to be within the shard of a cluster.
Hence, the amount of data passing through the cluster bus is limited in comparison to global Pub/Sub where each message propagates to each node in the cluster.
This allows users to horizontally scale the Pub/Sub usage by adding more shards.

## Programming example

Pieter Noordhuis provided a great example using EventMachine and Valkey to create [a multi user high performance web chat](https://gist.github.com/pietern/348262).

## Client library implementation hints

Because all the messages received contain the original subscription causing the message delivery (the channel in the case of message type, and the original pattern in the case of pmessage type) client libraries may bind the original subscription to callbacks (that can be anonymous functions, blocks, function pointers), using a hash table.
Expand Down

0 comments on commit 5fc2cd0

Please sign in to comment.