You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I continue to explore your new SDK and I find out that Python WS implementation is too slow: I subscribed on 5 random coins, and I got full CPU utilization, and eventually it crashed:
WARNING:root:Read buffer full
ERROR:root:Exception in keep_alive: Not connected
I used yappi profiler to find a root cause, and it seems that I found it: Event.is_set method was called very frequently, please see profiler's report attached. yappi_1734990303.log
Thank you, it is much better now. Consumption is still a bit higher than other similar SDKs I'am trying to work with, but it's ok. (Each of them subscribed to 100 same coins on corresponding exchange, network traffic is comparable)
Hello.
I continue to explore your new SDK and I find out that Python WS implementation is too slow: I subscribed on 5 random coins, and I got full CPU utilization, and eventually it crashed:
WARNING:root:Read buffer full
ERROR:root:Exception in keep_alive: Not connected
I used yappi profiler to find a root cause, and it seems that I found it: Event.is_set method was called very frequently, please see profiler's report attached. yappi_1734990303.log
The client was initialized using this function:
yappi was configured as follows:
The text was updated successfully, but these errors were encountered: