4 ms·
FWIW, here is a fairly minimal example[0] of broadcasting over websockets reusing the same buffer. I'm not very familiar with vert.x(not a netty expert either)
by WatchDog 5y ago
FWIW, here is a fairly minimal example[0] of broadcasting over websockets reusing the same buffer.
I'm not very familiar with vert.x(not a netty expert either), but I think the author of that article is ascribing blame to the wrong place.
[0]: https://github.com/juggernaut/netty-websocket-broadcast-example/blob/master/src/main/java/co/leanjava/pubsub/WebSocketMessageHandler.java https://github.com/juggernaut/netty-websocket-broadcast-exam...
- winrid 5y agoNot using websockets, but thanks! I have to look into it again. Right now the service is working fine so I haven't been motivated to work on it again. (in-memory CDN based on vertx-web + Caffeine + custom on-disk LRU cache)