# Session Connection Common Settings Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/MakerAdapterSettings/MakerAdapters_SessionConnection.htm Session Connection Common Settings These settings control the Session connection times for the Maker, and include settings pertaining to FIX messaging and TCP settings. Warning: Most Advanced TCP settings should not be changed without consulting oneZero Support support@onezero.com. (The times at which sessions begin and end for this adapter, during which the Maker can actively send quotes and receive trades. Note: At least one session must be configured for the Maker adapter to function. Setting Description Setting Description Time Zone The time zone that applies to the Maker session. Available Time Zones: UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago Time Zone The time zone that applies to the Maker session. Available Time Zones: UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago Time Ranges The time ranges that define available operating sessions. Setting Description Setting Description Start Time of Day The time at which the session begins in HHHH:MM: SS.UUUUUU Start Time of Day The time at which the session begins in HHHH:MM: SS.UUUUUU Start Day of the Week The day of the week on which the session begins. Start Day of the Week The day of the week on which the session begins. End Time of Day The time at which the session ends in HHHH:MM:SS.UUUUUU End Time of Day The time at which the session ends in HHHH:MM:SS.UUUUUU End Day of the Week The day of the week on which the session ends. End Day of the Week The day of the week on which the session ends. Advanced settings relating to TCP. Warning: Many of these settings should not be changed before consulting oneZero Support support@onezero.com, as doing so can negatively affect the performance of your entire network. Setting Description Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Internal Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into from the TCP stack. During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. Guideline: Valid input range of 128 to 2,147,483,647 specified in bytes. Note: This setting currently only applies to FIX connections. Internal Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into from the TCP stack. During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. Guideline: Valid input range of 128 to 2,147,483,647 specified in bytes. Note: This setting currently only applies to FIX connections. Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. This sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. This sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Internal Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into before the data is passed to the TCP Stack. Tuning this value can be useful in a few circumstances: Reduces CPU overhead during normal operation by batching messages together and reducing the number of asynchronous TCP Send calls dispatched. Enables some level of buffering even when TCPNoDelay is enabled. Sizes the data fed into the TCP Stack to match frame sizes for optimal throughput. Guidelines: During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. A value of -1 enables real time mode. Messages are sent to the TCP stack immediately, without any attempt to buffer them internally. These messages may still be buffered in the TCP Stack, depending on the TCPNoDelay setting. This setting currently only applies to FIX connections. Internal Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into before the data is passed to the TCP Stack. Tuning this value can be useful in a few circumstances: Reduces CPU overhead during normal operation by batching messages together and reducing the number of asynchronous TCP Send calls dispatched. Enables some level of buffering even when TCPNoDelay is enabled. Sizes the data fed into the TCP Stack to match frame sizes for optimal throughput. Guidelines: During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. A value of -1 enables real time mode. Messages are sent to the TCP stack immediately, without any attempt to buffer them internally. These messages may still be buffered in the TCP Stack, depending on the TCPNoDelay setting. This setting currently only applies to FIX connections. Inactivity Timeout Period of inactivity over TCP before Hub forces a disconnect from the Taker. Guideline: Measured in seconds. Period of inactivity over TCP before Hub forces a disconnect from the Taker. Guideline: Measured in seconds. Max Queue Size Before Forced Disconnect Number of FIX messages allowed to build up in the queue before Hub forces a disconnect from the Taker. Max Queue Size Before Forced Disconnect Max Individual Message Size Determines an incoming message size above which the connection is forced to disconnect. Guidelines: This setting is specified in bytes. Valid input range is 0 to 2,147,483,647. Note: This setting is used to protect the application from running out of memory in the event that erroneous data is sent. Max Individual Message Size Determines an incoming message size above which the connection is forced to disconnect. Guidelines: This setting is specified in bytes. Valid input range is 0 to 2,147,483,647. Note: This setting is used to protect the application from running out of memory in the event that erroneous data is sent. Max Receive Message Queue Size Determines a maximum total message size allowed in the message queue. Incoming messages are pre-fetched into this message queue before being processed. Guidelines: This setting is specified in bytes. Valid input range is 128 to 2,147,483,647. Determines a maximum total message size allowed in the message queue. Incoming messages are pre-fetched into this message queue before being processed. Guidelines: This setting is specified in bytes. Valid input range is 128 to 2,147,483,647. TCP No Delay Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP messages are sent as quickly as possible, instead of packing multiple messages together to minimize network traffic. This can reduce latency but may increase network congestion. If disabled, network congestion may be reduced in extremely high-traffic situations, but at the cost of added latency on some messages (in some cases, 100 or more milliseconds of extra latency). Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP messages are sent as quickly as possible, instead of packing multiple messages together to minimize network traffic. This can reduce latency but may increase network congestion. If disabled, network congestion may be reduced in extremely high-traffic situations, but at the cost of added latency on some messages (in some cases, 100 or more milliseconds of extra latency). Use Socket Push Immediate Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP does not hold the receive/read request on partially filled pending messages, and instead completes the messages immediately. This setting can be useful in cases where receiving and processing partial data immediately helps decrease processing latency. Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP does not hold the receive/read request on partially filled pending messages, and instead completes the messages immediately. This setting can be useful in cases where receiving and processing partial data immediately helps decrease processing latency. Intervals and Latency Setting Description Setting Description Heartbeat Interval Heartbeat interval in seconds. Heartbeat Interval Heartbeat interval in seconds. Latency Alert Threshold If a FIX message has a network latency greater than this value, an email alert is sent. Note: Latency is measured by comparing a message's Sent time against the local system clock. Latency Alert Threshold If a FIX message has a network latency greater than this value, an email alert is sent. Note: Latency is measured by comparing a message's Sent time against the local system clock. Latency Disconnect Threshold If a FIX message has a network latency greater than this value, the session disconnects. Note: Latency is measured by comparing message's Sent time against the local system clock. Latency Disconnect Threshold If a FIX message has a network latency greater than this value, the session disconnects. Note: Latency is measured by comparing message's Sent time against the local system clock. Connection Validation Setting Description Setting Description Validate Fields out of Order Determines whether the Hub validates the order of FIX messages or allows them to be out of order. Guideline: If set to Y (default), the Hub allows out of order messages. Validate Fields out of Order Determines whether the Hub validates the order of FIX messages or allows them to be out of order. Guideline: If set to Y (default), the Hub allows out of order messages. Milliseconds in Time Stamp If set to “Y”, the Hub adds milliseconds to timestamps in the Hub's logs. Format: (PlatformNodeLog.yyyymmdd.log) Milliseconds in Time Stamp If set to “Y”, the Hub adds milliseconds to timestamps in the Hub's logs. Format: (PlatformNodeLog.yyyymmdd.log)