I noticed that my JS application sometimes slows down (all UIs slow down). I tried to understand why, and I noticed that the PUBNUB event to cancel the subscription is really hard. All other PUBNUB events, such as status, subscription, work well.
It should be asynchronous, I know, but even being asynchronous, it slows down the entire application, even when it is very simple.
I use the presence of pubnub.

Do you know that this is happening? Is this a pubnub bug? And how to improve its performance.
javascript websocket pubnub
Mïchael makaröv
source share