An open API service indexing awesome lists of open source software.

https://github.com/mkhuda/gowes-pingpong

Golang Websocket PingPong Latency Test
https://github.com/mkhuda/gowes-pingpong

golang melody ping-pong websocket

Last synced: about 2 months ago
JSON representation

Golang Websocket PingPong Latency Test

Awesome Lists containing this project

README

        

# Golang with Gin & Melody as PingPong

> Measure latency of websocket ping-pong to the server

> This actually not ping-pong mechanism, because ping-pong are handled automatically by client-server frame. This implementation just to take advantage of `HandlePong` on Melody module then measure the timestamps that sended by client to server (round trip).

![image](https://user-images.githubusercontent.com/738088/145684183-9a0f9988-2ac6-4de3-bdf1-6271f7947534.png)