Make the ping/pong mechanism use simple strings instead of a full JSON RPC message.
Why? :thinking:
This saves some CPU cycles by avoiding the creation of an object and also its encoding by msgpack. Pings now always take less than 1ms for the whole roundtrip
What? :boat:
Make the ping/pong mechanism use simple strings instead of a full JSON RPC message.
Why? :thinking:
This saves some CPU cycles by avoiding the creation of an object and also its encoding by msgpack. Pings now always take less than 1ms for the whole roundtrip
Links :earth_americas:
PS :eyes: