Live data from Hacker News

Distributed Databases Should Work More Like CDNs

cockroachlabs.com

11–20 of 86 posts

Re: Distributed Databases Should Work More Like CDNs

#11

CDN post with no performance talk (beside keyword). Never mention lower performance (even on single-node). Add to that aws-vps with pseudo-cores and spectre-upgrade and good luck with your tps-reports.

Would you mind to elaborate? Your criticism is so condensed that I'm unable to make a lot of sense of it.

Re: Distributed Databases Should Work More Like CDNs

#12
post #9
post #8

Earlier quoted context omitted.

It would fall short of all of these goals, as it would get turned into advertisement, colorful magazine pseudocontent and malware distribution platform.

Don’t we now have both things, with the latter subsidising the former?

Yes. Come to think of it, it's not that the original web died - it just didn't grow much; almost the entire growth went to the commercial part.

Re: Distributed Databases Should Work More Like CDNs

#13

Imagine a globally replicated and version controlled object store. You could use this for data, assets, source code, anything you like. Would be incredibly useful for both the development side of things, as well as production.

Like IPFS?

https://github.com/ipfs/ipfs

Re: Distributed Databases Should Work More Like CDNs

#14

Imagine a globally replicated and version controlled object store. You could use this for data, assets, source code, anything you like. Would be incredibly useful for both the development side of things, as well as production.

Why not store the data only where you live ? Worst case meteor strikes and you die with your data.

Sometimes people travel, and it would be nice to have the data if a meteor strikes while you're gone.

Re: Distributed Databases Should Work More Like CDNs

#19
CDN: no trade offs. Faster everywhere. More reliable overall

Cockroach DB: trade some performance for geographic redundancy. The trade off may work in your favor - e.g. read heavy workloads (or not).

I plugged in CDB I place of Postgres for some testing this week, was surprised it worked so well.

Re: Distributed Databases Should Work More Like CDNs

#20
post #19

CDN: no trade offs. Faster everywhere. More reliable overall Cockroach DB: trade some performance for geographic redundancy. The trade off may work in your favor - e.g. read heavy workloads (or not). I plugged in CDB I place of Postgres for some testing this week, was surprised it worked so well.

no trade offs

This is almost never the case, and CDNs are no exception. A CDN like Cloudflare that reuses your domain(s) means that they become just a useless point that your dynamic requests have to travel to and from the main server. A CDN that uses its own domains requires extra DNS queries, extra TCP & SSL connection setup, etc, plus it only starts loading when the browser has started processing the HTML.

Post reply on HN