Port on which this Server will accept connections
Max number of simultaneous live connections
Maximum idle time for connections when in non high water conditions
Percentage of live/max connections which represent a normal state
Percentage of live/max connections which represent a high water state.
Max idle time for connections when in high water conditions.
Set the max number of simultaneous connections awaiting accepting, or None for NIO default
A colossus.core.RetryPolicy describing how to retry binding to the port if the first attempt fails. By default it will keep retrying forever.
A colossus.core.WaitPolicy describing how to handle delegator startup. Since a Server waits for a signal from the colossus.IOSystem that every worker has properly initialized a colossus.core.Delegator, this determines how long to wait before the initialization is considered a failure and whether to retry the initialization.
Once a Server begins to shutdown, it will signal a request to every open connection. This determines how long it will wait for every connection to self-terminate before it forcibly closes them and completes the shutdown.
A colossus.core.RetryPolicy describing how to retry binding to the port if the first attempt fails.
A colossus.core.RetryPolicy describing how to retry binding to the port if the first attempt fails. By default it will keep retrying forever.
A colossus.core.WaitPolicy describing how to handle delegator startup.
A colossus.core.WaitPolicy describing how to handle delegator startup. Since a Server waits for a signal from the colossus.IOSystem that every worker has properly initialized a colossus.core.Delegator, this determines how long to wait before the initialization is considered a failure and whether to retry the initialization.
Max idle time for connections when in high water conditions.
Percentage of live/max connections which represent a high water state.
Percentage of live/max connections which represent a normal state
Max number of simultaneous live connections
Maximum idle time for connections when in non high water conditions
Port on which this Server will accept connections
Once a Server begins to shutdown, it will signal a request to every open connection.
Once a Server begins to shutdown, it will signal a request to every open connection. This determines how long it will wait for every connection to self-terminate before it forcibly closes them and completes the shutdown.
Set the max number of simultaneous connections awaiting accepting, or None for NIO default
Contains values for configuring how a Server operates
These are all lower-level configuration settings that are for the most part not concerned with a server's application behavior
The low/high watermark percentages are used to help mitigate connection overload. When a server hits the high watermark percentage of live connections, it will change the idle timeout from
maxIdleTime
tohighWaterMaxIdleTime
in an attempt to more aggressively close idle connections. This will continue until the percentage drops belowlowWatermarkPercentage
. This can be totally disabled by just setting both watermarks to 1.Port on which this Server will accept connections
Max number of simultaneous live connections
Maximum idle time for connections when in non high water conditions
Percentage of live/max connections which represent a normal state
Percentage of live/max connections which represent a high water state.
Max idle time for connections when in high water conditions.
Set the max number of simultaneous connections awaiting accepting, or None for NIO default
A colossus.core.RetryPolicy describing how to retry binding to the port if the first attempt fails. By default it will keep retrying forever.
A colossus.core.WaitPolicy describing how to handle delegator startup. Since a Server waits for a signal from the colossus.IOSystem that every worker has properly initialized a colossus.core.Delegator, this determines how long to wait before the initialization is considered a failure and whether to retry the initialization.
Once a Server begins to shutdown, it will signal a request to every open connection. This determines how long it will wait for every connection to self-terminate before it forcibly closes them and completes the shutdown.