Top
Best
New

Posted by todsacerdoti 10/28/2024

RTP: One protocol to rule them all?(paper.wf)
100 points | 63 commentspage 2
archfrog 11/1/2024|
Tiny suggestion, possibly without merit (no comments or email in the article):

Use ULEB64 encoding instead of RAW unsigned 64-bit fields for STRING lengths.

ULEB64 (https://en.wikipedia.org/wiki/LEB128) is a simple encoding where the 7th bit is used to show if there are more bytes following. So, lengths less than 128 can be encoded in one byte and so forth.

I doubt the protocol will routinely send lengths that are more than, say, four gigabytes. The longest ULEB64 number is eleven bytes, as far as I recall.

Other than that, I know nothing about the ancestors of the proposed protocol and thus cannot comment.

yjftsjthsd-h 10/31/2024||
> good single-source performance (unlike BitTorrent)

Is that true? I've never had use for it, but I've heard of people copying files from one machine to another with it and they seemed to think it worked well.

nicce 10/31/2024|
Single source performance is good if the source uploads with the desired download speed for a single leech. This is not always true.
yjftsjthsd-h 10/31/2024|||
Well... Sure? Unless I've missed a trick, I don't think it's physically possible to make a protocol that's not bottlenecked on the cumulative upload speed, which in the single-uploader case is the upload speed of that uploader. I would argue that the question is purely a matter of if bittorrent can or cannot saturate a given uplink if there is a single uploader, and I thought the answer is either yes or that it can get really close.
extraduder_ire 11/1/2024|||
It's also a little extra chatty if the seeder turns on super-seeding mode. (refuse to send more pieces to a peer until that peer sends it to another) Bittorrent can be almost (hashing) as fast as http if you add a web seed though, something many people don't know about.
Communitivity 11/1/2024||
Kudos for creating this. However, as others have said, the HTTP/1.1 protocol is most of what is needed.

I do think there is room for improvement though. Not in the conceptual or logical HTTP/1.1 protocol, but in the physical over-the-wire implementation. I'd like to see a version of HTTP/1.1 designed to work with CBORS as the main over-the-wire format, possibly including support for CBORS over COAP.

Fischgericht 10/31/2024||
French Fries - one dish to rule them all?

Refining the ideas behind pasta, noodles, lasagna to create a simple dish for reliably ending hunger across the world. I came up with the unique name "french fries" all by myself!!1

(this document is a first draft, and is not intended to be implemented in its current form. But I am posting my trivial 5 minutes write-up with a click-bait title to Hackernews, anyway.)

pkulak 11/1/2024||
But it’s TCP that’s holding us back. You can get around it up with multiple range requests, but even then TCP is a bit chatty to be as efficient as theoretically possible.

What we need is an open-source Aspera. I gave it a shot a long time ago, but hammering the bugs out of something like that is really hard.

zokier 10/31/2024||
I think you could save one round-trip if you included the resource size in OPEN response. It could be optional if you want to support streaming responses.
LargoLasskhyfv 11/2/2024||
Real Tidy? Reliable Transfer?
hellavapid 11/1/2024||
https://xkcd.com/927/

but in all seriousness this looks pretty interesting, definitely gonna check in again later :3

wild_pointer 10/31/2024||
xkcd 927 anyone?
OhNoNotAgain_99 10/31/2024|
[dead]
More comments...