Increase Round Trip Delay between Web-SDK and NodeJS Rainbow accounts.
Good morning,
I've a development where the Round Trip between WEBSDK and NodeJS Rainbow account is critical.
If I create a new user in NodeJS and start to use it, the RTT is between 50-150ms. With the use of the application RTT is increasing and for example goes to 1600ms.
If I restart nodeJS, RTT is still the same before restarting.
If I create again a new user without any other modification in the code, and restart code. Automatically RTT start again in low values.
Best regards.
-
Let me add. If I run a simplest code to only send a IM response to keepalive from NodeJS to WebSDK in the same or different server, the RTT is the same.
Note : RTT calculation is done of the following way. When specific account running in WebSDK starts send a IM start Keepalive message to NodeJS. NodeJS starts the keepalive process. Put the timestamp in a IM Keepalive to WebSDK. WebSDK forward the message again to NodeJS, and NodeJS calculate the difference between timestamps.
Please sign in to leave a comment.
Comments
2 comments