babl-ws / babl

Low-latency WebSocket Server
https://babl.ws
Apache License 2.0
68 stars 22 forks source link

why do you use Multi-Topic Broadcast #123

Closed fizz12344321 closed 1 year ago

fizz12344321 commented 2 years ago

Hi, can you tell me why you use Multi-Topic Broadcast for your architecture ?

fizz12344321 commented 2 years ago

hi

epickrram commented 1 year ago

Refer to the documentation on the website:

https://babl.ws/multi_topic_broadcast.html

johnboy14 commented 5 months ago

Are there any performance limitations to the number of topics on a broadcast? For arguments sake, let's say I had 8,000 potential topics I want to broadcast data across. My use case is very similar to the documentation but updates are required at a product level.

epickrram commented 5 months ago

Hi @johnboy14 babl should be able to handle a high number of topics. They are used to lookup a number of subscribed sessions, using an open-addressed hashmap. See SessionBroadcast for details.