-
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
cfg: hot configuration reloading #51
Comments
Basically, the task can be easily done by the same workflow as currently with several adjustments. We can describe the workflow by following scenario:
The reworked cfg.c (and/or The feature is required now for large cloud installations with large and dynamic set of hosted VMs, so with #680 in mind at least server schedulers must be able to reconfigure in run-time. Typically, it should be done with RCU help: create a new scheduler data structures with existing server connections and change the pointers. In particularly we in this issue at least following dynamic reconfiguration must be possible:
Typically host deletion should be graceful. I.e. if we delete a VM, then it's already migrated to some other place or we just need to do some maintenance on it. Thus if a server is deleted from the configuration, but is still alive, then let all current sessions to finish, but do not schedule new requests to the server. Since sessions can be almost infinite, a new configuration option Also please separate sysctl logic from cfg.c and move it to main.c as it's mentioned in TODO in cfg.c. The issue requires to update code of requests schedulers, so the issue should be relates to #76. |
closed via 3f49ada |
We need to change some configuration options while Tempesta FW is running.
For example, we want to add a new back-end server or tune DoS protection settings, but in the same time we don't want to stop serving client connections even for a short time.
Therefore:
The text was updated successfully, but these errors were encountered: