I found strange performance issue with akka http websocket client.
I have a server written using akka http server which works fine. For testing purposes I created a dummy client app that uses akka http websocket client and just consume and drain data from the server. Unfortunately I observed that the consumer app can not handle the load. Server sends somewhere around 20K objects of size ~500 bytes each per second while client is able to consume only 5K. I also did implement another client app using netty and this app worked completely fine.
Any ideas regarding this situation?
Also one more thing which I’ve realised (maybe it is related somehow). I observed BinaryMessage.Streamed quite often even though I would not expect them. I mean all my messages are quite small and I send them as BinaryMessage.Strict. I understand that rfc6455 allows receivers to decide how to consume data (buffer all content before consuming or stream it), but maybe these streamed messages affect the performance?
akka-http: 10.2.0-M1 (also tried 10.1.12)