Http.MultiServer provides the server-side for Layer5.Http.MultiClient. More...
Methods | |
Description.Get | |
Returns a textual description of the object. | |
MaximumSegmentSize.Get | |
Returns the TCP maximum segment size. More... | |
MaximumSegmentSize.Set size | |
Sets the TCP maximum segment size. More... | |
Parent.Get | |
Returns the parent object. | |
Port.Get | |
Returns the TCP port for the HTTP server. More... | |
Port.Set port | |
Sets the TCP port on which the HTTP server will listen. More... | |
ReceiveWindow.InitialSize.Get | |
Gets the initial receive window for the server. More... | |
ReceiveWindow.InitialSize.Set windowsize | |
Sets the initial receive window for the server. More... | |
ReceiveWindow.Scaling.Enable scaling | |
Enables of disables windowscaling. More... | |
ReceiveWindow.Scaling.IsEnabled | |
Returns if window scaling is enabled or not. More... | |
ReceiveWindow.Scaling.Value.Get | |
Returns the current receive window scale. More... | |
ReceiveWindow.Scaling.Value.Set scale | |
Sets the window scale which will be used for new clients. More... | |
Result.Get | |
Returns the current result counters. More... | |
Result.History.Get | |
Returns the result history. More... | |
Sampling.BufferLength.Get | |
Number of samples to keep in the buffer. More... | |
Sampling.BufferLength.Set | |
Sets the number of samples to keep in the buffer. More... | |
Sampling.Interval.Duration.Get | |
Duration of one sampling interval in nanoseconds. More... | |
Sampling.Interval.Duration.Set | |
Sets the duration of one sampling interval. More... | |
SlowStartThreshold.Get | |
Returns the initial slow-start threshold value used by TCP. More... | |
SlowStartThreshold.Set ssthresh | |
Set the initial slow-start threshold value used by TCP. More... | |
Start | |
Starts the HTTP server on the configured port with the configured configuration. More... | |
Status.Get | |
Returns the HTTP server status. More... | |
Stop | |
Stops the HTTP server. More... | |
Tcp.CongestionAvoidance.Algorithm.Get | |
Gets the current TCP Congestion Avoidance Algorithm for new clients. More... | |
Tcp.CongestionAvoidance.Algorithm.Set congestionAvoidanceAlgorithm | |
Selects the TCP Congestion Avoidance Algorithm. More... | |
Tcp.Prague.Enable | |
Enables TCP Prague congestion control for L4S. | |
Tcp.Prague.IsEnabled | |
Returns if TCP Prague congestion control is enabled or not. | |
Http.MultiServer provides the server-side for Layer5.Http.MultiClient.
See Layer5.Http.MultiClient for more information.
Layer5.Http.MultiServer::MaximumSegmentSize.Get |
Layer5.Http.MultiServer::MaximumSegmentSize.Set | size | ||
Layer5.Http.MultiServer::Port.Get |
Layer5.Http.MultiServer::Port.Set | port | ||
Sets the TCP port on which the HTTP server will listen.
port | The TCP port on which the HTTP server will listen for incoming requests. |
ByteBlower.Exception.InvalidValue.Integer | when the value is not an Integer |
ByteBlower.Exception.InvalidConfig | when the value is not between 1 and 65535 |
Layer5.Http.MultiServer::ReceiveWindow.InitialSize.Get |
Gets the initial receive window for the server.
Small windowsizes can decrease the performance of a TCP session. Please use a good size for your configuration and network setup.
ByteBlower.Exception.InvalidValue.Integer | when the value is not an Integer |
Layer5.Http.MultiServer::ReceiveWindow.InitialSize.Set | windowsize | ||
Sets the initial receive window for the server.
Small windowsizes can decrease the performance of a TCP session. Please use a good size for your configuration and network setup.
windowsize | New value of the initial receive window. |
ByteBlower.Exception.InvalidValue.Integer | when the value is not an Integer |
Layer5.Http.MultiServer::ReceiveWindow.Scaling.Enable | scaling | ||
Enables of disables windowscaling.
Windowscaling allows windowsizes to grow further than 65,536 bytes. For high speed or high latency links, window scaling should be enabled for a good throughput.
scaling | Boolean which will enable ( true or >0 ) or disable ( false or 0 ) windowscaling. Following values can be used: |
ByteBlower.Exception.InvalidValue | when the value is not an integer or true or false |
To enable window scaling
or
To disable window scaling
or
Layer5.Http.MultiServer::ReceiveWindow.Scaling.IsEnabled |
Returns if window scaling is enabled or not.
Windowscaling allows windowsizes to grow further than 65,536 bytes. For high speed or high latency links, window scaling should be enabled for a good throughput.
When enabled: Returns:
1
When disabled: Returns:
0
Layer5.Http.MultiServer::ReceiveWindow.Scaling.Value.Get |
Returns the current receive window scale.
The TCP window scale option is an option to increase the receive window size allowed in Transmission Control Protocol above its former maximum value of 65,535 bytes. This TCP option, along with several others, is defined in IETF RFC 1323.
Returns:
3
Layer5.Http.MultiServer::ReceiveWindow.Scaling.Value.Set | scale | ||
Sets the window scale which will be used for new clients.
This must be done before requesting a page from a client, because this option is negotiated at the beginning of the TCP session.
The TCP window scale option is an option to increase the receive window size allowed in Transmission Control Protocol above its former maximum value of 65,535 bytes. This TCP option, along with several others, is defined in IETF RFC 1323.
scale | Integer (0-8), which is used for bitwise shifting. |
ByteBlower.Exception.InvalidValue.Integer | when the value is not an integer |
Layer5.Http.MultiServer::Result.Get |
Returns the current result counters.
Returns:
<Layer5.Http.MultiResultSnapshot object>
Layer5.Http.MultiServer::Result.History.Get |
Returns the result history.
This method returns a Layer5.Http.MultiResultHistory Object. This will contain the Cumulative and the Interval counters over time.
Returns:
<Layer5.Http.MultiResultHistory object>
Layer5.Http.MultiServer::Sampling.BufferLength.Get |
Layer5.Http.MultiServer::Sampling.BufferLength.Set |
Sets the number of samples to keep in the buffer.
The ByteBlower server has a buffer to keep some samples before they are transferred to the client. This method sets the maximum number of samples the server can hold.
Layer5.Http.MultiServer::Sampling.Interval.Duration.Get |
Layer5.Http.MultiServer::Sampling.Interval.Duration.Set |
Layer5.Http.MultiServer::SlowStartThreshold.Get |
Returns the initial slow-start threshold value used by TCP.
The slow-start threshold indicates when the slow-start phase ends and the congestion avoidance phase starts. Consider increasing this value if you find that TCP takes a long time to reach peak throughput. See RFC 5681 "TCP Congestion Control" for more information on this topic.
Returns:
65535
Layer5.Http.MultiServer::SlowStartThreshold.Set | ssthresh | ||
Set the initial slow-start threshold value used by TCP.
The slow-start threshold indicates when the slow-start phase ends and the congestion avoidance phase starts. Consider increasing this value if you find that TCP takes a long time to reach peak throughput. See RFC 5681 "TCP Congestion Control" for more information on this topic.
ssthresh | New value for the slow-start threshold |
ByteBlower.Exception.InvalidValue | when the value is not a positive integer |
To set slow-start threshold to 1000000
Layer5.Http.MultiServer::Start |
Layer5.Http.MultiServer::Status.Get |
Returns the HTTP server status.
Before starting the HTTP server:
{stopped} After starting the HTTP server:
{started}
Layer5.Http.MultiServer::Stop |
Layer5.Http.MultiServer::Tcp.CongestionAvoidance.Algorithm.Get |
Gets the current TCP Congestion Avoidance Algorithm for new clients.
Returns:
sack
Layer5.Http.MultiServer::Tcp.CongestionAvoidance.Algorithm.Set | congestionAvoidanceAlgorithm | ||
Selects the TCP Congestion Avoidance Algorithm.
Selects the TCP Congestion Avoidance Algorithm which will be used for new clients. This must be selected before requesting a page from a client, because for some algorithms, the congestion avoidance support is negotiated a the beginning of the TCP session.
congestionAvoidanceAlgorithm | Congestion Avoidance Algorithm to configure.
|
<tcl_error> | Failed to parse enumerator: When the value could not be interpreted as a valid TCAA |
Configure NewReno as congestionAvoidance Algorithm
Configure Sack as congestionAvoidance Algorithm
Configure None as congestionAvoidance Algorithm