Reactive Streams Back Pressure

java

(Prakash Seela) #1

Here my question is about Reactive Streams Back Pressure, I have developed two sample reactive(HTTP Server With Reactive Streams) and non-reactive(HTTP Server Without Reactive Streams) applications, and I observed TCP buffers(Recv-Q and Send-Q) by netstat for reactive app, when doing control+Z(pause) on client side (curl app) after that server stops pumping the stream data in to Send-Q buffer, I thought this is expected with reactive streams, and then I tried to observe buffers with non-reactive app, even for this also I did control+Z on receiver side (curl) after that server stops pumping the stream data in to Send-Q buffer, but here, why in these two cases server stops pushing the data into queue(Send-Q) even if client unable to consume the data,? can someone explain the reason OR Am I missing any concept here.

Thanks,
Prakash S