1. System downtime description:
At 7:19 am UTC and 9:36 am UTC on Jan. 12, OKEx perpetual swap trading service had been suspended twice due to system downtime.
After troubleshooting, we discovered the cause for the downtime:
For the first downtime that happened at 7:19 am UTC, OKEx found that there was a system upgrade for perpetual trading at 6:30 am UTC. The TBT channel for perpetual swaps failed to pass the depth data due to a configuration error and triggered an emergency mechanism, resulting in the service suspension of perpetual trading.
For the second downtime that happened at 9:36 am UTC, OKEx detected that after the WebSocket push system upgrade, an abnormality occurred in the common components between the push system and the perpetual trading system, which interrupted the procession of perpetual transactions and led to the service suspension of perpetual trading.
Summary for the first downtime on Jan. 12:
As of 6:30 am UTC, the perpetual swap system upgrade was initiated as planned.
As of 6:41 am UTC, the perpetual swap system upgrade had been completed.
As of 6:42 am UTC, OKEx detected the configuration error that caused the TBT channel to fail to pass the trading depth data out and made an urgent repair.
As of 7:19 am UTC, OKEx suspended the perpetual trading service and started system maintenance.
As of 7:39 am UTC, the system maintenance had been completed, and the perpetual trading service was resumed.
Summary for the second downtime on Jan. 12:
As of 9:00 am UTC, the WebSocket system upgrade was initiated as planned.
As of 9:32 am UTC, the WebSocket system upgrade had been completed.
As of 9:33 am UTC, OKEx detected an abnormality in the perpetual trading system and made an urgent repair.
As of 9:36 am UTC, OKEx had suspended the perpetual trading service and started system maintenance.
As of 10:10 am UTC, the system maintenance had been completed, and the perpetual trading service was resumed.
2. Why did this downtime happen?
OKEx provides 24/7 trading services and has been dedicated to making its trading system ultra-stable and smooth. However, given the complexity and unexpected abnormalities of a trading system with high performance, we cannot guarantee that the system will work perfectly at all times. However, we have been working hard to improve system stability and minimize the probability of downtime from all aspects.
3. What work do we do to ensure the stability of the OKEx platform?
1). We strengthen engineering quality assurance and optimize the test system. The code for new functions can be launched only after it runs stably for a period of time in demo trading.
2). We upgrade architecture. The high availability of multiple servers in various regions is being realized, with less downtime caused by hardware and software problems.
3). Hot upgrades will be realized in a stateless way, which reduces the impact of the upgrade on user transactions.
4. How do we optimize the process of fault repair?
After the failure, we will immediately post maintenance notifications on the Status page and notify users in time through market and community channels (API user community + regular user community). Meanwhile, API users can be notified of the updates by subscribing to System/Status channel.