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
There is something wrong with createHistoryStream over a network connection. Locally it takes around 600ms, using net protocol the same call takes 6.500ms and using ws the exact same call takes 20.000ms?
Oh something that might be related but not sure, this might be interacting badly with nagle (buffering on tcp). Especially since pull-box-stream writes the packet header then the packet... disabling nagle would be easy to confirm. I havn't had time to test it yet.
That sounds wierd. The plugin I linked just exposes the method and this is fast, so I don't think nagle is the problem we are seing here unless there is some wierd interaction between the legacy protocol and that.
There is something wrong with createHistoryStream over a network connection. Locally it takes around 600ms, using net protocol the same call takes 6.500ms and using ws the exact same call takes 20.000ms?
The problem seems to be buried in the legacy protocol for ssb-replication somewhere.
I havn't had time to properly debug this. But to confirm I made a plugin to help debug.
CC @staltz @cryptix as you are talking about initial sync
The text was updated successfully, but these errors were encountered: