Hi,

Currently JSR356 provides possibility to add message handlers in order to
receive web socket
messages but there is no way to instruct the web socket implementation to
suspend for a while
the incoming messages (backpressure) so that the application is able to
process the already delivered messages.
The other web containers (Jetty, Undertow) supports such functionality so I
would like to introduce it in Tomcat.
Here [1] I prepared one possible implementation.

What do you think about this feature and the proposed implementation?

Regards,
Violeta
[1] https://github.com/violetagg/tomcat/commits/ws-suspend-resume

Reply via email to