Colby on Nostr: We are indeed fetching a bunch of resources from the same server across different ...
We are indeed fetching a bunch of resources from the same server across different streams.
Libp2p allows us to use multiplexing so we can open as many bi-directional streams as we want over a single connection, it's awesome. We use it for Airlock (permission system for the decentralized GitHub).
I understand your point about the OS handling TCP instead of each app handling networking individually, which does make a lot of sense. I wish there were a plug-and-play TCP+TPO+Noise library that could handle multiplexing! Would be a nice addition to include in libp2p.
Published at
2024-10-20 22:29:08Event JSON
{
"id": "761bb514bba6603f4709be8bdf5ba7c7cfa926372f9988b3c0144ce2955c78ca",
"pubkey": "59cacbd83ad5c54ad91dacf51a49c06e0bef730ac0e7c235a6f6fa29b9230f02",
"created_at": 1729463348,
"kind": 1,
"tags": [
[
"e",
"000060092803690ec457c766db52fe7af3281e9c8385d4de5948cd22f00f2ded",
"",
"root"
],
[
"e",
"5355c48af7ce9bd9d5b4b3495dcf01d7abf522751b4f93b7ad59091c35632e07",
"",
"reply"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"bbc73cae41502ddad7a4112586dcaf4422810d60aa4b57c637ccd1a746b07844"
],
[
"p",
"3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594"
]
],
"content": "We are indeed fetching a bunch of resources from the same server across different streams.\n\nLibp2p allows us to use multiplexing so we can open as many bi-directional streams as we want over a single connection, it's awesome. We use it for Airlock (permission system for the decentralized GitHub).\n\nI understand your point about the OS handling TCP instead of each app handling networking individually, which does make a lot of sense. I wish there were a plug-and-play TCP+TPO+Noise library that could handle multiplexing! Would be a nice addition to include in libp2p.",
"sig": "7070a02042addc0cd8d33b6bea183092a8e9db68937332684059f8d908a8ef401fddba28fe7d2bcc186b2781ebdaf0174c760343aeb4e6b56e8855eedae9f2e3"
}