Skip to content
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

socket_manager: add feature to take over another server #150

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 3, 2024

  1. socket_manager: add feature to take over another server

    Another process can take over UDP/TCP sockets without downtime.
    
        server = ServerEngine::SocketManager::Server.take_over_another_server(path)
    
    This starts a new server that has all UDP/TCP sockets of the
    existing server.
    It receives the sockets from the existing server and stops it
    after starts a new server.
    
    This may not be the primary use case assumed by ServerEngine, but
    we need this feature to replace both the server and the workers
    with a new process without downtime.
    Currently, ServerEngine does not provide this feature for
    network servers.
    
    At the moment, I assume that the application side uses this
    feature ad hoc, but, in the future, this could be used to support
    live reload for entire network servers.
    
    ref: fluent/fluentd#4622
    
    Signed-off-by: Daijiro Fukuda <[email protected]>
    daipom authored and ashie committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    4a5b1a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. socket_manager_spec: add tests

    Signed-off-by: Shizuo Fujita <[email protected]>
    Watson1978 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    03bc031 View commit details
    Browse the repository at this point in the history