Hi 👋 . Looking at this Helm chart [1], and seeing it has a HorizontalPodAutoscaler (hpa) is seems i...
m
Hi 👋 . Looking at this Helm chart [1], and seeing it has a HorizontalPodAutoscaler (hpa) is seems it is possible to run multiple supertokens-core instances that connect to the same database. - Is this assumption correct? - Does anyone have experience running multiple supertokens-core instances? Are there things to look out for? [1]: https://github.com/supertokens/supertokens-docker-mysql/tree/master/helm-chart
r
hey @michael_pxr we have this setup for many users. You can scale the cors horizontally behing a load balancer, and it works well
m
ok. great to know!
E.g. one issue we have with keycloak is that the keycloak instances register themselves in the database on startup. But sometimes an instance will crash before it can remove its. Then it can't start up again, due to those records already existing. I hope we won't run into similar issues when migrating to supertokens 🤞
r
yeaa.. no such issues!
the core is fully stateless and can be removed / added at any time
m
great!
2 Views