Question

How To Use Socket.io In App Platform With Multiple Containers

It is my understanding that I must enable sticky sessions in order for Socket.io to work in a multiple server/node (scaled) setup. Is this done by default in App Platform? If not, how might I go about including an Apache or Nginx or similar code snippet that would enable such functionality?

Subscribe
Share

We also need to be able to enable sticky sessions in app platform in order to scale our production app. Do you have this in your roadmap? Or is it not a prioritized feature?

I would also appreciate input on this.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted