App Platform and Sticky Sessions on Load Balancer

Posted February 19, 2021 1.1k views
NetworkingLoad BalancingDigitalOcean Managed Load BalancersDigitalOcean App Platform

Hi, I know regular DO Load Balancers offer sticky sessions, but I’m curious if the balancers in App Platform also do? If so how would one configure that setting?

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.

Submit an Answer
1 answer

Hello, sticky sessions like in DigitalOcean Load Balancer utilizing cookies to route follow-up requests from the same client to a single instance of a service within the app is not supported currently. If you’re looking to use this type of mechanism for auth related purpose, it is recommended to store login sessions in a shared database. Redis is commonly used for this. Hope this helps!