viabtc / viabtc_exchange_server

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

technical support and consulting #193

Closed qyangdu closed 5 years ago

qyangdu commented 5 years ago

Please contact me for support & consulting about,

insomax commented 5 years ago

似乎报价系统在查询压力过大时经常会卡死kafka的消息,导致行情不更新,请问对与这种情况有相关尝试和优化经验吗?

qyangdu commented 5 years ago

因为marketprice处理请求和kafka数据是在同一个线程的,查询太忙就读不了kafka了,把marketprice中查询处理和kafka读取分离到不同线程可以解决。