Protocol v4.1.4
This release updates full node grpc streaming.
-
Introduces a configurable protocol-side buffered channel of full node streaming updates.
- prevents the full node from halting/lagging on a slow or unresponsive client by buffering updates.
- Once the configurable buffer limit is reached, all subscriptions and buffered updates will be dropped.
-
The
grpc-streaming-buffer-size
CLI flag has been added.- Defaults to 1000. Please adjust based on the responsiveness of your client implementation.
-
Metrics emitted
- Buffer size is emitted as a gauge (
grpc_streaming_buffer_size
) - Number connections is emitted as a gauge (
grpc_streaming_num_connections
)
- Buffer size is emitted as a gauge (
Note that the grpc streaming proto changes from v4.1.3 to v4.1.4 are proto-compatible. Current grpc streaming clients will not need to be updated.
Add a channel buffer to decouple abci and grpc streaming (backport #1530) #1595