HorizenOfficial / zend_oo

This repository is archived, Zendoo is out of beta and has been included in https://github.com/HorizenOfficial/zen.
https://github.com/HorizenOfficial/zen
Other
34 stars 22 forks source link

Websocket write optimization #171

Closed i-Alex closed 3 years ago

i-Alex commented 3 years ago

Redundant thread sleep in case of empty write queue was removed. Issue was with the clients sending requests one by one that caused a 100ms+ delay between the responses. Previously 50 request for get_single_block took in average 8 secs. Currently ~ 0.07 sec