Can you add an option to opt-out "forcing all API call in mainthread", it hurts performance a lot

Created at 24 Jul 2022, 16:01
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
00

0000wj

Joined 12.05.2020

Can you add an option to opt-out "forcing all API call in mainthread", it hurts performance a lot
24 Jul 2022, 16:01


Did performance testing after forcing all API call in mainthread, 40% worse

I know there will still be some room for optimization. 

But it is also not surprising that making all API call in main thread will decrease the performance.

Just like database have SERIALIZABLE but no companies in practice actually use it when they scale.

IMO this does not only hurts performance, but also make programming harder. One need to keep thinking about which thread the API is calling from, istead of just calling the API originally


@0000wj