11 ms·
In HTTP batch mode, they're all sent as a batch. In WebSocket mode, yes, you are sending messages with each call. But you're not waiting for anything before se
by kentonv 1y ago
In HTTP batch mode, they're all sent as a batch.
In WebSocket mode, yes, you are sending messages with each call. But you're not waiting for anything before sending the next message. It's not a round trip until you await something. As far as round trips are concerned, there is really no difference between sending multiple messages vs. a single batch message, if you are ultimately only waiting for one reply at the end.