-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fully remove mplex #10069
Comments
I want this done for Kubo v0.24 |
Given js-ipfs never got yamux and moving to helia isn't a simple straight forward process I want to have a 1 release buffer where mplex is disabled by default. Copy pasting code is always meh, but if it's just for one release I think it's fine. If someone finds bug in the mplex implementation we (Kubo maintainers) wont invest anytime fixing it given we are gonna remove it next month. |
Can you explain where the number 1 is coming from? Helia has been out for a long time. Why does one month more or less make a difference now? |
Because 1 is the smallest number that is not 0. |
My question was: Given that Helia has been out for a long time, why is 0 not a valid number? |
@marten-seemann because > jq ".aggregations.group_by_event_type.buckets[] | select(.key | startswith(\"js-ipfs\"))" < unique-bootstrap-agents-20230823.json
{
"key": "js-ipfs/0.17.0",
"doc_count": 1583455,
"unique_count": {
"value": 269
}
}
{
"key": "js-ipfs/0.18.0",
"doc_count": 1039349,
"unique_count": {
"value": 4312
}
}
{
"key": "js-ipfs/",
"doc_count": 730116,
"unique_count": {
"value": 803
}
}
{
"key": "js-ipfs/0.16.1",
"doc_count": 130080,
"unique_count": {
"value": 12
}
}
{
"key": "js-ipfs/0.15.4",
"doc_count": 31252,
"unique_count": {
"value": 167
}
}
{
"key": "js-ipfs/0.11.1",
"doc_count": 14905,
"unique_count": {
"value": 3
}
}
{
"key": "js-ipfs/0.18.1",
"doc_count": 14869,
"unique_count": {
"value": 291
}
}
{
"key": "js-ipfs/0.9.1",
"doc_count": 12316,
"unique_count": {
"value": 2
}
}
{
"key": "js-ipfs/0.8.0",
"doc_count": 10867,
"unique_count": {
"value": 3
}
}
{
"key": "js-ipfs/0.10.8",
"doc_count": 7189,
"unique_count": {
"value": 6
}
}
{
"key": "js-ipfs/0.10.6",
"doc_count": 2507,
"unique_count": {
"value": 1
}
}
{
"key": "js-ipfs/0.14.1",
"doc_count": 2120,
"unique_count": {
"value": 2
}
}
{
"key": "js-ipfs/0.13.0",
"doc_count": 2076,
"unique_count": {
"value": 3
}
}
{
"key": "js-ipfs/0.12.2",
"doc_count": 1304,
"unique_count": {
"value": 4
}
}
{
"key": "js-ipfs/0.14.3",
"doc_count": 949,
"unique_count": {
"value": 2
}
} AFAIK In other words, over the last 14 days our bootstrappers have seen at least 5880 js-ipfs peerids: > jq "[.aggregations.group_by_event_type.buckets[] | select(.key | startswith(\"js-ipfs\")) | .unique_count.value] | add" < unique-bootstrap-agents-20230823.json
5880 |
If that's the case, what makes you confident that this problem will be resolved within one release cycle then? We could have kept mplex around (with a deprecation warning) in go-libp2p for longer, had this been surfaced in #9958 and libp2p/specs#553. The situation we're in right now is less than ideal. |
One release cycle where users can opt back in wont make it perfect but it's better than zero. I don't know how difficult it is to add yamux to js-ipfs, I guess it's about a day of work max, having one escape hatch release let consumers decide when in the month they want to do that. Ideally Kubo would have turned off mplex a while ago but sadly my time machine is out of fuel right now. We are gonna have our triage in a few hours, will make a decision then, but copying lgtm. |
My understanding of where we have ended up is that:
I have updated the issue description with clear done criteria and some other notes. |
Done Criteria
When this is done, a user will not have the option of enabling mplex in Kubo.
Why Important
TODO: link to the canonical libp2p issue/doc that describes the woes of mplex.
Notes
The text was updated successfully, but these errors were encountered: