greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

Optimize heartbeat payload size

Open MichaelScofield opened this issue 1 year ago • 14 comments

If a datanode contains over 10,000 regions, i wonder that if the heartbeat request is too large.

Originally posted by @killme2008 in https://github.com/GreptimeTeam/greptimedb/pull/1558#discussion_r1196490874

As the comment above suspects, it's needed to see how the heartbeat payload size is when it contains very many region stats. Optimization should be taken in place to reduced the bandwidth usage (and the cpu time and memory to process them of course).

MichaelScofield avatar May 18 '23 03:05 MichaelScofield