hi! I asked LiveKit Assistant about how workers wo...
# agents
f
hi! I asked LiveKit Assistant about how workers work with livekit server nodes. He respond that "Redis serves as both the room data storage and message bus, allowing all nodes to share information about the cluster. This helps them make smart decisions about routing jobs based on who’s available and how busy they are. With this setup, any worker can connect to any LiveKit server node and join the shared pool seamlessly.". can anyone please confirm this and point out where I can find this in source codes? thanks!
f
Here you go. This is under the Self-Hosted section, but still relevant. https://docs.livekit.io/home/self-hosting/distributed/#multi-node-routing This is also a really great article from David about the design. It's a great read and impressive engineer/architecting. https://blog.livekit.io/scaling-webrtc-with-distributed-mesh/
f
Thanks!