This example contains an optional sessionAffinity pool configuration for session awareness. It sets a cookie to make sure that requests from the consumer session are routed to a certain backend from the pool. The choice just isn't often binary. A lot of businesses utilize a hybrid model: preserving core logic https://cesarsyadc.amoblog.com/a-review-of-backend-web-development-58250892