what is the cost of having multiple subscriptions in pulsar?

In Pulsar, a topic (or a partition) is owned by a single Broker meaning that all reads and writes go through that broker. Brokers cache bookies entries in memory so that it can dispatch messages directly to all consumers. This will avoid a network round-trip and a possible disk read on bookies.

In addition, you should note that a broker must send data over the network for each subscription. This can lead to network saturation if you have a very high throughput.

Moreover Bookies also have a write/reach cache to reduce disk access.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top