2 ms·
I wouldn’t consider YouTube to be any focus of an internet platform. It’s a privately owned and for profit walled garden of content. If I were going to think a
by austin-cheney 1y ago
I wouldn’t consider YouTube to be any focus of an internet platform. It’s a privately owned and for profit walled garden of content.
If I were going to think about an internet revolution it would be a complete change of transmission scheme. WebSockets are vastly superior to HTTP in all regards except that HTTP 1.1 is sessionless. WebSockets also have a processing problem in that they are about 11x faster to send than to receive due to frame header parsing.
So, what I would do is create a new connection scheme with a new protocol that accomplishes only two goals:
1. Lowers transmission latency.
2. Increases security.
To lower latency I would ensure every message size is exactly 16384 bytes, which is maximum message size in TLS 1.3, regardless of actual content. I would also rethink what information is stored in a frame header and when it’s necessary to lower parsing effort. Balancing through put between maximum send rate to maximum receive rate would increase bandwidth and lower cpu management. That would ultimately lower the cost of network transmissions relative to other local hardware processing efforts.
To increase security I would create a new connection scheme away from a client/server model to a local/remote, which is the model git uses. I would continue to use TLS but I would also add an authentication layer based on a scheme of pre-shared keys. That way neither end of a transmission is anonymous, but anonymity is sacrificed for increased trust without reliance on certificates. That will increase privacy in ways the web currently struggles with and saves on security down the line by mitigating away layers of security abstractions that increase opportunities for exploitation.