tardis-dev / serum-vial

Real-time WebSocket market data API for Serum
Mozilla Public License 2.0
173 stars 60 forks source link

What does increasing minions-count do/performance stats? #27

Closed DaveWK closed 3 years ago

DaveWK commented 3 years ago

Hi,

I was wondering about what exactly the minions-count parameter does, and when it is necessary to increase it past the default of "1" -- The current description in the readme is kind of recursive. How many would I need for how many markets (IE if I am streaming every market with l3snapshot, do I need more than 1?), and what kind of impact does it have on the RPC for increasing it? If it is too low, what errors/symptoms are there?

thaaddeus commented 3 years ago

Hi, it's more for cases when there are thousands of connected clients to serum-vial, then you can increase it from default '1' so multiple worker threads will handle websocket messages publishing. It's not related to markets that serum-vial handles