renku-python
renku-python copied to clipboard
POC: sticky core service
Deploy two core services side-by-side with traefik load balancer in front with sticky sessions (cookie based) enabled and test it (use multiple browsers?).
Does it behave as expected? Are there any errors? How is the latency? What happens if one of the core-services goes down?
Timeboxed to two days to get some initial impression of sticky load-balancing in traefik.
Perhaps this CLI stuff could help with testing:
curl --cookie cookie.txt --cookie-jar cookie.txt https://<endpoint>
we probably also want to separate the worker pods from the core-service pod, so we can scale them independently. Them not having a cache should be fine (it's long-running operations anyways)
In light of the findings from #3094 I propose that we close this and open new issues that will implement the required changes to make this happen.
The POC does prove this is doable.