Skip to content
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

Update config.md #9921

Merged
merged 2 commits into from
Jun 7, 2023
Merged

Update config.md #9921

merged 2 commits into from
Jun 7, 2023

Conversation

MarcoPolo
Copy link
Contributor

Per data collected by @marten-seemann's Kubo node.
image

@MarcoPolo MarcoPolo requested a review from a team as a code owner June 7, 2023 20:39
Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT ?

docs/config.md Outdated
Comment on lines 1922 to 1924
[TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) doesn't
directly support encryption and/or multiplexing, so libp2p will layer a security
& multiplexing transport over it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) doesn't
directly support encryption and/or multiplexing, so libp2p will layer a security
& multiplexing transport over it.
[TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) is a simple
and well deployed transport, it should be inter-compatible with most
implementations and network configurations.
TCP doesn't directly support encryption and/or multiplexing, so libp2p will
layer a security & multiplexing transport over it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Widely deployed" instead of "well deployed". "should be compatible" instead of "inter-compatible".

besides that, looks good.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 will you commit then I merge ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant well deployed as:

Should be resistant-ish to middle boxes fucking up things they don't know about.

(because they most likely know about TCP)
Yours sounds better.

docs/config.md Outdated
built-in encryption and multiplexing. The primary benefits over TCP are:
[QUIC](https://en.wikipedia.org/wiki/QUIC) is the most widely used transport by
Kubo nodes. It is a UDP-based transport with built-in encryption and
multiplexing. The primary benefits over TCP are:

1. It doesn't require a file descriptor per connection, easing the load on the OS.
2. It currently takes 2 round trips to establish a connection (our TCP transport
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I would add HOL to that list.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the 2 rounds trips is wrong. Just 1.

@Jorropo Jorropo enabled auto-merge (squash) June 7, 2023 22:30
@Jorropo Jorropo disabled auto-merge June 7, 2023 22:31
@Jorropo Jorropo enabled auto-merge (squash) June 7, 2023 22:31
@Jorropo Jorropo disabled auto-merge June 7, 2023 23:04
@Jorropo Jorropo merged commit 8390f85 into master Jun 7, 2023
@Jorropo Jorropo deleted the marco/update-docs branch June 7, 2023 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants