35,907 karma · joined Oct 4, 2007 (19y ago) · 17,873 submissions
I live in Cincinnati, Ohio with my wife and two daughters. Ohio is terrible. Don't move here. (Locals still want to be able to afford housing.)
Opinions posted here are entirely my own personal views and not official positions of ZeroTier or any other company or group, unless I explicitly say otherwise.
comment 9y ago · link · parent
For SQL, complex queries, and data warehousing: yes. It's an excellent database and I'm not sure why you'd pick another SQL DB unless it were a lot better on point two.
For high availability and scaling: no, absolutely not.
The problem with the latter is an arcane deployment process and arcane error messages that provide constant worry that you're doing something wrong. It's a many week engineering project to deploy HA Postgres, while HA RethinkDB takes hours -- followed by some testing for prudence... our testing revealed that it does "just work" at least at our scale. We were overjoyed.
The docs for Postgres HA and clustering are also horrible. There are like five different ways to do it and they're all in an unknown state of completion or readiness.
Of course if/when we do want complex queries and more compact storage, we will probably offload data from the RethinkDB cluster to... drum roll... a PostgreSQL database. Of course that will probably be for analytics done "offline" in the sense that if the DB goes down for a bit we are fine. HA is not needed there.
TL;DR: everything has its limitations.
comment 9y ago · link · parent
The problem is tools -- plural. Users think "I have Linux, where do I get the Linux version?" You have to provide arcane instructions for how to add a package repository on Every. Single. Linux. Distribution.
Or you can script it and users can run a command. Still painful, but less so for the user.
As far as the distributions themselves go: they are harder to get software into than the Apple App Store. The rules are arcane and the docs either barely exist or are on wikis that have not been updated in over a decade. The whole process is unnecessarily arcane beyond belief.
comment 9y ago · link · parent
I never understood why web sockets aren't just a straight break out of HTTP(S) to a naked TCP or SSL socket. Why all the extra complexity? All it does is degrade performance and bloat software.
I hate the way protocols are designed by committee, virtually guaranteeing that everything has layers upon layers of cruft that have never actually been needed by anyone for anything but must be implemented because it's in the spec.
comment 9y ago · link · parent
There's only two fields that I can think of where failing gets you a promotion: government and banking. The latter is largely due to the involvement of government.
Edit: this only works for the upper echelons though. If a street level FBI agent screws up badly, they get reprimanded.
comment 9y ago · link · parent
Iraq war, housing bubble, housing collapse, bailouts, rise of ISIS, student debt explosion, ...
Eventually there is a point where confidence is lost.
comment 9y ago · link · parent
Sorry had to do it.
comment 9y ago · link · parent
comment 9y ago · link · parent
Edit: also I was led to believe by PG documentation that LISTEN/NOTIFY is impossible across a cluster, which means that code depending on LISTEN/NOTIFY is impossible to cluster. If that's the case you're stuck with master/slave and manual or (scary) automatic failover now.
We wanted a system that is masterless (or all-master) in the sense that any node can fail at any time and the system doesn't care. RethinkDB delivers that, at least within the bounds of sane failure scenarios, and it delivers it without requiring a full time DBA to set up and maintain. That's worth a certain amount of CPU, disk, and RAM in exchange for stability and personnel costs, especially when a bare metal 32GB RAM SSD Xeon on OVH is <$200/month fully loaded with monitoring and SLA. So far we've been unable to throw a real world work load at those things that makes them do anything but yawn, and OVH has three data centers in France with private fiber between them allowing for a multi-DC Raft failover cluster. It's pretty sweet.
The only thing that would make me reconsider is if the use patterns of our data were really aggressively relational. In that case PGSQL would be a clear winner in terms of the performance of advanced relational operations and the expressivity of SQL for those operations. ReQL gives you some relational features on top of a document DB but it has limitations and is really designed for simpler relational use cases like basic joins.
comment 9y ago · link · parent
I also highly recommend his biography Flashbacks.
comment 9y ago · link · parent
P2P connectivity almost always requires a third party to do a three-way handshake. In IPv4 this is because of NAT, and in IPv6 it's usually still needed due to stateful firewalls. Having stable upstream nodes allows rapid bootstrapping of a P2P network by providing known stable points to act as introducers. You can do it in a less hierarchical fashion, but at the expense of performance and stability and possibly security unless you are very careful (see: sybil attacks).
Curtis' political views are what they are. I fundamentally disagree with the core thesis myself-- while I do have problems with pure democracy I see no evidence that aristocracy is in any way superior. But at the same time I believe in treating others' views with respect and respecting their right to hold them. I also must point out that Curtis' views are often hysterically misrepresented and exaggerated, and I doubt he has much to do with today's alt-right which is more of a populist phenomenon. In fact I could see a neo-reactionary calling the alt-right "demotic", which as far as I recall is the term they use for rhetoric of that style.
comment 9y ago · link · parent
comment 9y ago · link · parent
That's dangerous. I do agree that the USA has subsidized China too much to its own detriment, but the alternative could be significantly worse for both countries. A collapse of trade would crash both economies, and given the fragility of the Chinese economy a crash there could be a humanitarian and political disaster. It could also lead to the ascent of crazy hard liners.
Honestly I don't see either -- continuing to subsidize China or collapsing trade -- to be a good outcome. It seems we've painted ourselves into a corner.
comment 9y ago · link · parent
I think the big thing for us is that everything about RethinkDB screams quality from a technical POV. It's powerful but not over-engineered. The code is pretty clean looking. It "just works" without hiding wads of chewing gum and duct tape in Docker containers or requiring 10-step setup processes. When you do bang on it ChaosMonkey-style it holds up very well.
comment 9y ago · link · parent
We used PostgreSQL before and while excellent on a single node it's deeply painful to cluster. You need a full time DBA to make sure you're doing it right, as GitLab discovered, and when it fails it gives error messages that seem more cryptic than C++ template errors. Amazon RDS was insanely pricey compared to bare metal (our load is both CPU-bound and disk-IO-heavy bare metal on OVH is >10X cheaper than Amazon) and Redshift didn't have pgsql syntax yet. Even now that it does I'm not sure I want to be bound to it as I have an instinctive aversion to cloud lock-in.
comment 9y ago · link · parent
If you live in one of these places and have not spent time in the interior you don't get it.
For an example look into the first, say, ten companies to offer viable home computers. They were in places like Albaquerqie (MITS), Dallas (Tandy), Philadelphia (Commodore), Atlanta (Compucolor), Boca Raton (IBM's PC group), etc. as well as Apple and a few others in the Bay Area. Today they would just about all be in SF/SV with maybe one token in Seattle.
Everything is like that. Regular jobs leave the interior for other countries or are replaced by automation, while high end jobs all go to to LA, NYC, SF, Seattle, and Boston.
I am in LA and grew up in Cincinnati and am as guilty as the next person. It's hard to swim against a torrent. When I go back there I see people stockpiling guns and talking about the new record for heroin deaths. Young people talk about escaping.
This is also bad to a degree for people in rich coastal cities since all this is driving real estate hyperinflation there. No jobs or unaffordable housing: pick one.
For average people things have become tangibly worse. It started in the 70s, accelerated after 2001, and became a visceral downward spiral after 2008. Trump and Sanders talked about this. Nobody else cares or even sees the problem.