Skip to content

Feature Request - Graceful Shutdown #258

Open
@ronag

Description

@ronag

I would like to be able to gracefully shutdown a deepstream server (for e.g. upgrade, down-scaling etc..).

This means that close should not return until it can do so without affecting clients.

This would mean e.g.

  1. De-register instance from load-balancer e.g. (HAProxy, NGinx)
  2. Tell client to stop sending new commands and switch over to another server (TCP) or just reconnect of a load balancer is setup (WS).
  3. Wait for any RPC calls to respond
  4. Handle all queued messages
    etc...

This would require handling both on the client and server side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions