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
We recently noticed that additional lag/delay in the method handleUserMessage() due to additional business logic is causing more ping timeout errors at client side and in turn causing more socket disconnects.
So we have made the business logic inside handleUserMessage() asynchronous, which eliminated the ping timeout errors in our lower environment. We are yet to deploy to production, but we are curious how it has fixed the issue.
We recently also noticed some nodes in application cluster processing messages faster than others though all are of type same hardware, we assume the root cause for this also same where handleUserMessage() slowing down new events being picked up and processed in nodes which are getting large volume of message than other nodes.
The text was updated successfully, but these errors were encountered:
Hi,
We are using version
1.7.18
we have this code in our project,
server.addEventListener("usermessage", MessageObject.class, this::handleUserMessage);
We recently noticed that additional lag/delay in the method
handleUserMessage()
due to additional business logic is causing moreping timeout
errors at client side and in turn causing more socket disconnects.So we have made the business logic inside
handleUserMessage()
asynchronous, which eliminated theping timeout
errors in our lower environment. We are yet to deploy to production, but we are curious how it has fixed the issue.We recently also noticed some nodes in application cluster processing messages faster than others though all are of type same hardware, we assume the root cause for this also same where
handleUserMessage()
slowing down new events being picked up and processed in nodes which are getting large volume of message than other nodes.The text was updated successfully, but these errors were encountered: