Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SocketServer dynamic config changes should be written to a file. This file is watched to apply configuration changes to in-memory config state.

During startup, the opening of ports and creating of acceptor and processor data structures that occurs in SocketServer construction would now occur after dynamic configuration changes from the file are appliedserver will:

  1. First validate and load in the dynamic configurations from the file before constructing the SocketServer. Even if the static configuration is invalid, so long as it was dynamically reconfigured to be valid, the SocketServer can be constructed and ports can be bound, so startup will not throw an exception. 
  2. Default to static configurations when no SocketServer dynamic reconfigurations exist or when they are invalid.

Compatibility, Deprecation, and Migration Plan

...