Delay in streaming data from Alice Blue websocket

I have subscribed for multiple instruments(100+), the streaming data from Alice Blue websocket is getting slow down. Is there any solution to fix the issue?

Thanks for your help in advance.

More than 40 will delay insanely even for Zerodha. That’s why You see they have bifurcated the watchlist areas to limited 40 scrips.

So You need to do a similar thing by making an array of 20 scrips and 5 array variables and asking them one by one and stitching the whole output.

Thank you @dexter for the info.

Is there any limit on no. of sockets that can be opened in Alice Blue API ?

If you want it to work it stably, then 20. Theoretically You can do unlimited.