By jajinkus
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Heya,
As of now, DigitalOcean App Platform does not support sticky sessions. Because of this, running a service across multiple instances that relies on sticky sessions — like a Socket.IO server — may deliver unexpected results.
For more information, you can refer to this DigitalOcean documentation: DigitalOcean App Platform Docs.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.