You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently metacom streams do not optimize chunks provided by the data source. Websockets use frames for messages, thus if we have a lot of small messages it creates additional overhead with frame metadata. We can reduce it by grouping binary packets to optimal size like 1Mb, which will improve websocket performance.
How to implement
Take control over chunks and concat them into single one with desired size.
The task
Currently metacom streams do not optimize chunks provided by the data source. Websockets use frames for messages, thus if we have a lot of small messages it creates additional overhead with frame metadata. We can reduce it by grouping binary packets to optimal size like 1Mb, which will improve websocket performance.
How to implement
Create a PR to branch streams
The text was updated successfully, but these errors were encountered: