Skip to content

How to scale anycable on cloud? #145

Answered by Envek
rzepetor asked this question in Q&A
Discussion options

You must be logged in to vote

See the docs about scaling and load balancing: https://docs.anycable.io/deployment/load_balancing

  1. You can and should scale anycable-go and grpc instances independently. Depending on your connect-disconnect rate and number of websocket messages from clients to server their proportion will vary (server to clients messages doesn't use grpc instances)
  2. Your application will broadcast messages to all WS servers and these will re-transmit them to interested clients only.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by palkan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #144 on March 04, 2022 09:07.