Websocket endpoint for service requests
guilhermelawless opened this issue · comments
Testing with the help of @BitDesert indicates linux (unknown which distros) will attempt a handshake for every request, and this adds about 200ms of latency. Windows performs as expected.
time_namelookup: 0.004
time_connect: 0.030
time_appconnect: 0.248
time_pretransfer: 0.248
time_redirect: 0.000
time_starttransfer: 0.275
----------
time_total: 0.275
Add a WSS endpoint for a persistent connection with services.
ffc0508 adds an id
in the response field (if sent in request, and exactly the same), which helps tracking in applications with asynchronous request-reply loops.
Added since a2fb892
Measured latency is as expected, ~50ms (RTT) using the websocket after initial handshake.