VictoriaMetrics/lib/handshake
Zakhar Bessarab 96a62a275a
lib/handshake: use a json payload for metadata exchange
Update the handshake to use an arbitrary JSON payload to transfer metadata.
Handshake sends the metadata length first as an uint64 and then the metadata itself.

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2024-07-29 12:31:22 +04:00
..
buffered_conn.go lib/handshake: substitute time.Now() with fastttime.UnixTimestamp(), since profiling shows time.Now() is slow 2024-01-23 18:39:28 +02:00
handshake.go lib/handshake: use a json payload for metadata exchange 2024-07-29 12:31:22 +04:00
handshake_test.go app/cluster: communicate node IDs when performing a handshake 2024-07-29 12:29:20 +04:00