renku-python icon indicating copy to clipboard operation
renku-python copied to clipboard

POC: sticky core service

Open Panaetius opened this issue 2 years ago • 3 comments

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.

Panaetius avatar Jul 21 '22 13:07 Panaetius

Perhaps this CLI stuff could help with testing:

curl --cookie cookie.txt --cookie-jar cookie.txt https://<endpoint>

seanrmurphy avatar Aug 22 '22 15:08 seanrmurphy

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)

Panaetius avatar Aug 24 '22 13:08 Panaetius

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.

olevski avatar Aug 31 '22 06:08 olevski