Psping ziti overlay latency

I have a setup where I have an OpenZiti router on the same LAN and two servers on the same LAN. There is about 1–2 ms response time when I run a psping between them, as well as to the Ziti router.

When I create a service and run a psping, I get 18–20 ms latency between them. Is this normal?

Hi @msbusk. I did some quick tests with local traffic, and that seems plausible, depending on how you're testing. It depends if you're authenticating, getting a session token, setting up a new circuit, etc. Depending on how you test you might be doing all of those, if you're starting up a fresh sdk app each time.

To setup a circuit it has to talk to the controller, which has to send route updates, so there's some overhead there, although generally over pre-existing connections at that point.

We are working towards trimming the overhead starting with allowing authentication to happen on the router and hopefully, in future, having pre-established paths so we can avoid per-circuit routing. We'll see how that evolves.

Cheers,
Paul

Hi Paul,

Thanks for the reply. That makes very good sense.

I have to admit, I had expected much lower latency with a client on the same LAN as a router, where both endpoints are on the same LAN and the traffic is being relayed through a router on that same LAN. But in this case I’m seeing around 18–20 ms, where I would have expected something more like 4–5 ms.