Hi,
On Fri, Apr 17, 2020 at 12:15 AM Ram C <
time...@gmail.com> wrote:
>
> Hi Simone,
>
> In our current setup, we use cometd without any extension on jboss application. sometimes the users on browser facing delays.
Can you detail what you mean by "delays"?
> is there a way to measure round trip time from the server side?
The TimeSync extension allows a server application to retrieve the
network lag between client and server.
Once you have it installed in both client and server you can do:
serverSession.getAttribute(TimesyncExtension.LAG_ATTRIBUTE)
to retrieve the lag in milliseconds.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.