Just a heads up, did something similar awhile back and ran into some serious issues with the cdp and ws in network layer.
stuff crashes hard if you push over 80-120mb of messages through the ws interface (when inspecting, the browser is fine with it).
so a good idea is to implement a chunked reader that keeps the memory footprint low when ingesting, and only offer a "download message" for very large blobs of data.
Just a heads up, did something similar awhile back and ran into some serious issues with the cdp and ws in network layer.
stuff crashes hard if you push over 80-120mb of messages through the ws interface (when inspecting, the browser is fine with it).
so a good idea is to implement a chunked reader that keeps the memory footprint low when ingesting, and only offer a "download message" for very large blobs of data.