• Lung@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Really boring article. It takes like 5 pages to get to what it’s tryna say: use CRDT, which is a real time collaborative editing algo, and CRDT is awesome. Problem is internet topologies and all the weird stuff that goes on

    Take webrtc, which is exactly meant for p2p data streaming between arbitrary peers. Well, the dirty secret is that for it to work well, you usually need a TURN server, which is a centralized data relay. Unless you’re connecting over local network, the turn server serves to literally send all the webrtc data to the peers

    When you think about this some more, many many apps would be worse p2p. Think about anything with a CDN delivering video or files. Obviously you want those videos pre-replicated worldwide so that they can be served asap. Ok so p2p is only for collaboration, fine

    Next problem, there’s a good reason we all chose cloud. Even huge corps realized it would save them a ton of money to switch from their expensive private datacenters and staff. They were already paying money to some bomb shelter style server host, now they are just doing it virtually. And your engineers no longer have to drive out to wipe drives or replug wires, it’s all perfectly managed