viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.67k stars 1.49k forks source link

How to ensure high availability of memory data #213

Open kavonm opened 4 years ago

kavonm commented 4 years ago

Market data is stored in the memory and history is updated slowly. How to ensure that memory data can not be missing if encountering accident or upgrading?

lealife commented 4 years ago

Don't worry, viabtc store order/balance log on database and will redo it when restart it.