Periodic latency spikes in websocket connection
-
I am connected to the websocket for data, but I have observed a weird issue that has started today only:
Every 25 seconds or so, the websocket gets stuck and takes some delay to release the incoming data. Basically, the latency (local_time - exchange_time) suddenly spikes every 25 seconds.This has to be some server issue at your end, please check this and sort. As I said, this has started happening from today only.
-
Hello @vivekjha05
Are you doing any data processing in the code while getting the data stream? Doing additional data processing in the might be causing the delay. Please do all the data processing only after the data has been received and modify your code accordingly.Regards,
SmartAPI Team -
Hello @trader_noob, @vivekjha05
We will get this checked by our tech team and get back to you.
Thank you.
Regards
SmartAPI Team -
-
@trader_noob I am seeing massive delay in the websocket now. Around 5-10 mins old data is streaming strangely.