Batching iopub to reduce protocol chattiness

I am aware that there is a iopub data rate limit which I have lifted.

Is there a way to batch iopub messages from the kernel to the browser so that (say) they are sent and executed in groups of 100 or 1 every 100 milliseconds?

I’ve already got the kernel sampling data to avoid overloading the browser but as the number of things being sampled grows, it becomes more difficult to coordinate them all and I thought iopub would be the perfect coordination point.

Here is a screenshot which shows the timing and sizes for things I’m looking at coordinating. The most straightforward thing would be if I could just batch them all through iopub and send them at a prescribed rate, which I’ve tried to do, but obviously imperfectly.

Thanks in advance!