-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overall optimization #1269
Comments
right now we are considering the switching to infrastructure providing for the some of the blockchain nodes I did the following test:
Right now it consume ~10 calls/minute in idle mode. Probably there is a room for optimisation (what might be a cost cut in case of such subscription service usage or infra loading cut in case of own nodes usage) |
@ozkanonur That's a good idea in general, but I would like to highlight some topics from the list, that have higher priority than others:
|
* Run current balance loop only for coins with active maker orders * Use OrdermatchContext for maker orders and increase balance request interval * Stop balance loops if the maker order of the corresponding coin is cancelled * Prevent multiple balance loops running for the same coin * Fix WASM build problem * Use parking lot mutex for balance loops and fix docker test problems * Fix formatting problem * remove unused imports * Add MakerOrderContext in OrderMatchContext * Fix OrdermatchContext initialization * Fix Mutex lock usages * Fix a wasm issue * Use thread handles to stop balance loops * Import spawn_abortable * Fix format * Add balance loops after adding maker orders * Add further improvements * Use String as spawn_balance_loop parameter
@tonymorony this should be fixed in #1269, could you retest using dev branch, please? |
performed same (as #1269 (comment)) test case today: activated BNB and 1 BEP20 token and left mm2 (without any orders) in idle mode for a day: calls to endpoint were executed only on activation event. So situation above is definitely looks fixed |
Once #1247 is done, we should consider doing overall optimization around the project. Aim is simply decreasing the huge compilation time, and increasing runtime performance as much as possible.
Things should be considered:
The text was updated successfully, but these errors were encountered: