this post was submitted on 09 Sep 2023
617 points (96.8% liked)

Programmer Humor

32710 readers
633 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fubo 46 points 1 year ago* (last edited 1 year ago) (2 children)

What you want in that situation is called a "replicated database", not a "distributed ledger" and certainly not a "blockchain".

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (1 children)

99.999% of the time what people imagine when they say blockchain is good is effectively just the matrix protocol, which can be summarized as federated eventually consistent databases (and that's pretty dang neato).

[–] fubo 24 points 1 year ago (2 children)

If a single organization owns all the servers, there's not even in theory a reason to prefer blockchain over a plain replicated database. And in practice anyone who's pushing blockchain is either an ideologue or a scammer; either way they don't have the user's best interests at heart.

[–] [email protected] 12 points 1 year ago

that's my point, most of the time people don't even know what a blockchain actually is, and the reason they think it's good is because in their head they imagine something less shit

[–] [email protected] 1 points 1 year ago

Could not have said it better myself

[–] [email protected] 2 points 1 year ago (1 children)

I haven't seen a replicated database that operates over the same scale of failure domains as distrubuted ledgers, do you have good examples of that?

[–] fubo 10 points 1 year ago* (last edited 1 year ago) (2 children)

They don't have to. If you don't have database replicas that are actively trying to subvert the system, inject bogus transactions, etc. then you don't have the set of failure domains for which blockchains are in theory useful for.

If you're running backups for a single organization, you just need replicated data storage on servers owned and operated by that organization. If you're running backups for a set of users who all trust your organization (e.g. if you're Dropbox or the like), you also don't need blockchain.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

It's pretty reasonable not to implicitly trust an organization to always get things right or always be honest about what they are doing. Couldn't there be theoretical value in spreading backups across multiple organizations and having cryptographic evidence they are all doing their jobs correctly, to reduce the need for that trust?

[–] fubo 6 points 1 year ago (1 children)

Theoretically? Sure. But in reality, blockchain pushers are fanatics, scammers, or both, so no real organization should trust them.

[–] [email protected] -1 points 1 year ago (1 children)

IMO that's a pretty limiting perspective. The existence of a lot of noise around a technology isn't a great reason to take a hard stance against ever using it.

[–] fubo 4 points 1 year ago (1 children)

If you think you've found the one honest snake-oil salesman, you're almost certainly wrong. That's part of reality.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I can agree that it's a bad idea to trust a salesman trying to market a blockchain product or service, but part of the point of open standards and techniques is that you can evaluate them on their own merits and implement them without needing to trust anyone.

[–] [email protected] 1 points 1 year ago (1 children)

I am not talking about back ups but more of dealing with the problems of distributed data in general. I.E. How do you, across a network of intermittent reliability (at a certain scale this is a guarantee not a choice), in sure that a piece of data written to and read by multiple actors is constant and available across the system?

[–] fubo 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Cloud only and closed source, right?

[–] fubo 1 points 1 year ago

I'm pointing at the architecture, not the specific implementation. Build something like Spanner, not something like a blockchain.