-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sticky cookies #29
Comments
See also implementation of simalr functionality in HAProxy. The Cookies functionality required for intelligent users blocking and load balancing. |
This issue depends on successful resolution of #47. |
Depending on the configuration Tempesta must be able to forward to do following (the feature should have configuration option to enable/disable the logic below):
Timestamp must be stored in the client session. Thus, with the feature enabled backend server behind Tempesta should receive requests only with the sticky cookies. |
A possible bug: The issue #5 states the requirement:
But if the sticky cookie is enabled and we are routing all HTTP requests to the same server, then we can violate the list of Host/URI rules easily. That sounds like a bug. Domain-specific and path-specific cookies could solve the issue, but the problem is the current implementation of Perhaps the simplest solution is to use domain-specific/path-specific cookies, but drop the support of "extended" rules. The issue #76 implies that the |
These are different scheduling algorithms. Current issue doesn't require any scheduling adjustments. Only its possible applications for scheduling was mentioned. |
Merged to master. |
Need to implement analog of Nginx sticky module (https://github.com/lusis/nginx-sticky-module) for users identification. However, the module must be able to generate cryptographically safe cookie value depending on the user IP and User-Agent header value, so the server classification logic can identify a user by the cookie value as well as forward his or her requests to the right backend.
The text was updated successfully, but these errors were encountered: