Hello,
Currently we use mojo DataPipe to transfer compressed media (audio/video) data. This design dates back to the early days of mojo in Chromium and the reason is that DataPipe is more performant for transporting large data (e.g. 1090p video at 60fps). I checked the code base and we use DataPipe for media, network and storage, which all make sense.
But recently I got a question on exactly how performant DataPipe is compared to just sending data over MessagePipe, and I couldn't find any answer in existing documents in the code base. Basically I am looking for:
- Recommendations on when to use DataPipe vs MessagePipe
- Advantages of using DataPipe, e.g. performance numbers.
Is there any doc available on these topics? Thanks!
Best,
Xiaohan