You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reference to #1465 (comment), we currently create streams with remote peers for a protocol lazily. ie, when lightpush.send() is called, a stream is created then - thus adding to the time delays for the send() function.
Proposed Solutions
optimistically open streams with peers
instead of opening a stream during the sending of message, open one beforehand
create a small pool of streams
refill the pool as soon as we use up a stream
Notes
Once the above is done, look into work for reducing time taken by pipe()
The text was updated successfully, but these errors were encountered:
This is a feature request
Problem
reference to #1465 (comment), we currently create streams with remote peers for a protocol lazily. ie, when
lightpush.send()
is called, a stream is created then - thus adding to the time delays for thesend()
function.Proposed Solutions
Notes
Once the above is done, look into work for reducing time taken by
pipe()
The text was updated successfully, but these errors were encountered: