Files
spring-messaging-demo/protocol-comparison/docs/output/backpressure.txt
T

11 lines
588 B
Plaintext

=== unbounded stream; client takes 100, then goes quiet ===
protocol quiet 0.5s quiet 1s quiet 2s
RSocket 100 100 100
gRPC 142,000 680,542 1,346,233
WebSocket 23,693 125,099 311,617
RSocket is flat: the server produced exactly what request(n) asked for.
gRPC grows 9.5x between 0.5 s and 2 s; WebSocket grows 13.2x.
Growth that tracks the wait, rather than settling at a buffer size,
means nothing bounded the producer. (Growth is faster than linear
because the loop is still being JIT-compiled during the first run.)