Requirements
Linux Distributions
- Ubuntu
16.04,18.04 - RedHat Enterprise Linux
7.x - CentOS
7.x - Debian
8.x,9.x
Processor Architecture
x86_64/64-bit
CPU and Memory
- RAM:
16GB - CPU:
10GHz
To calculate the available CPU capacity, multiply the number of cores by CPU clock speed, for example
4x2.5GHz =10GHz.
Disks
- Disk Type: SSD
- Application files:
2GB. - Daily log files:
20GB. - Market data:
200GB.
File System
The standalone version is supported on local ext4 file system.
Scale-out deployment is supported on Apache HBase on file systems such as Hadoop (HDFS), Amazon EMRFS, and Azure Storage.
OS Settings
- Increase
ulimitnofileparameter to at least32768. - Enable NTP. If co-located at the trading venue, synchronize with NTP servers operated by the exchange.
Network Settings
Increase network buffers and disable Reverse Path Filtering.
sudo vim /etc/sysctl.conf
# Increase the maximum total buffer-space allocatable
net.ipv4.udp_mem = 65536 131072 262144
# Default Socket Receive Buffer
net.core.rmem_default = 25165824
# Maximum Socket Receive Buffer
net.core.rmem_max = 134217728
# Increase the read-buffer space allocatable (minimum size,
# initial size, and maximum size in bytes)
net.ipv4.tcp_rmem = 20480 12582912 25165824
net.ipv4.udp_rmem_min = 16384
# Default Socket Send Buffer
net.core.wmem_default = 25165824
# Maximum Socket Send Buffer
net.core.wmem_max = 25165824
# Increase the write-buffer-space allocatable
net.ipv4.tcp_wmem = 20480 12582912 25165824
net.ipv4.udp_wmem_min = 16384
# Maximum number of packets in waiting queue
net.core.netdev_max_backlog=50000
# Disable Reverse Path Filtering
net.ipv4.conf.all.rp_filter = 0
Apply changes.
sudo sysctl -p