go-mplex icon indicating copy to clipboard operation
go-mplex copied to clipboard

Stream opening should be lazy

Open Stebalien opened this issue 7 years ago • 2 comments

Currently, we end up sending a bunch of tiny open packets.

Stebalien avatar Sep 14 '18 03:09 Stebalien

@Stebalien wondering if we have an analysis of the packets we are sending, and their contents? Also, do you think there are two issues here, i.e. opening streams lazily and reducing opening traffic?

raulk avatar Sep 19 '18 10:09 raulk

Right. Much of that will be improved with https://github.com/libp2p/go-mplex/pull/29. However, we'll still end up sending a separate opening packet followed by the message.

So, I guess at this point, bunch = 2.

Stebalien avatar Sep 19 '18 16:09 Stebalien