High Availability Architecture Program
The following deployment scenarios are recommended for 7×24 hour continuous trading requirements:
- Process isolation design::
1. Use Supervisor to manage critical processes (transaction engines/data services)
2. Configurationautorestart=truecap (a poem)startretries=3 - Redundant deployment::
- The primary and backup servers are connected to thevnpy_rpcservicesynchronized state
- Regular backups.vntraderConfiguration files and historical databases - network optimization::
- Selection of cloud servers in the same city as the exchange (CTP recommends Shanghai region)
- Multi-line BGP network access - monitoring system::
- CPU/Memory/Network Monitoring via Zabbix
- Telegram connection for anomaly alerts
Disaster Recovery Program:
- Preparation of one-click switching scripts (modification of CTP server configuration)
- Regularly verify backup data recoverability
This answer comes from the articleVeighNa: a popular open source quantitative trading framework in ChinaThe































