Scaling socketio server in FastAPI #1328
leestorm4520
started this conversation in
General
Replies: 1 comment 5 replies
-
I can't really give you a recommendation without a complete understanding of why those connections are being refused. Things such as:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using AsyncServer socketio in FastAPI with SQLAlchemy and Postgresql.
I have a list of sub-apps (socketio clients such as Streamlit, Vuejs, FastAPI,...) connected to the server. However, as more users use the app, the server stops accepting new connections. I checked the log of the server and I dont see the problem yet lots of client connections get kicked out so I think I'll need to scale the server.
Do you know any way to scale with my current tech stacks? I dont have Redis so I can only resort to Postgresql
Beta Was this translation helpful? Give feedback.
All reactions