7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions
https://twitter.com/dustingetz
comment 9y ago · link · parent
Git is another ACID single-writer system with strong consistency and distributed reads.
comment 9y ago · link · parent
Postgresql with read replicas is ACID-Consistent transactions because there is a single writer process to prevent data loss. Only the reads are distributed and thus cap-AP eventually consistent.
comment 9y ago · link · parent
Postgresql with read replicas is ACID-Consistent transactions because single writer, and CAP-AP eventually consistent because distributed reads.
It is easy to agree with you here: "PostgreSQL basically stops working well too, once you start mixing transaction processing and business reporting and BI in the same box at scale." It's worse than that - the app has to be coded before it can be scaled so you get fucked by complexity-scale via ORM a lot sooner than bigdata-scale. But as you sort of say, the point of a data warehouse is to be cap-AP (eventually consistent) through read-replicas without breaking ACID-consistent transactions for the system as a whole.
as to the argument "everything is bad at scale" i think that has merit too, I just gave a talk at ClojureNYC about building real apps with Postgres (tables) vs Neo4J (graph) vs Mongo (documents) vs Datomic (eavt): https://github.com/hyperfiddle/hypercrud.browser/issues/4 (Did I say real "apps"? I meant "balls of mud")
comment 9y ago · link · parent
Second of all, Mongo marketing and ecosystem is foremost about making dashboard crud apps easy with not a lot of engineering. dashboards are not about point reads. Whether or not mongo is engineered for it, this is what the customers are using it for.
Third, I just wrote a proposal today for a client on Mongo, not at scale, who experiences silent database failures due to lack of acid. they only noticed because Mongo sometimes tells them there are -2 people left in the room.
Nobody at scale uses mongo because somewhere along the way you spend your giant bags of scale-money to hire a real engineering team to solve the silent errors and failwhales you've been suffering by migrating to an architecture that actually lets you reason about failure a little better than "it looks like something bad happened but we have no idea when how or why"
comment 9y ago · link · parent
That's a great example of a concrete implementation detail - unbreakable links means a central link database - that has significant implications in the shape of the vision. For example the only way I can think of to do unbreakable links but also distributed is an immutable public ledger perhaps something like a blockchain. And now we can talk about specifics like what other properties does a blockchain implementation shape? What does a database app with HTML forms and such look like? But did Nelson understand this? Can anyone cite an implementation source that goes into Nelson's analysis of this stuff?
comment 9y ago · link · parent
comment 9y ago · link · parent
https://en.wikipedia.org/wiki/Church_encoding
Facebook does this also with GraphQL - GraphQL queries are theoretically dynamic and defined by the client, but you can bake them when you ship, and then provide optimized implementations of the query that also have knowledge of the UI and database that they aren't supposed to otherwise have.
comment 9y ago · link · parent
"Now suppose there were a hypothetical language with a stronger guarantee: if two programs are equal then they generate identical executables. Such a language would be immune to abstraction: no matter how many layers of indirection you might add the binary size and runtime performance would be unaffected. Here I will introduce such an intermediate language named Morte that obeys this stronger guarantee."
http://www.haskellforall.com/2014/09/morte-intermediate-lang...
comment 9y ago · link · parent
At ClojureNYC last night I gave a talk about literally this! Here are the slides: https://github.com/hyperfiddle/hypercrud.browser/issues/4
2118.
GData (Google Data Api) – what ever happened to it?
1 points · by dustingetz · 9y ago · discuss
2120.
Maze generation code, inspired by working through Mazes for Programmers(github.com ↗)
26 points · by dustingetz · 9y ago · 1 comment
comment 9y ago · link · parent
For example, server side rendering. Though Hyperfiddle is a bit more sophisticated than that.
comment 9y ago · link · parent
2124.
Bitcoin Forum Alternate Cryptocurrencies Announcements (Altcoins)(bitcointalk.org ↗)
3 points · by dustingetz · 9y ago · discuss
comment 9y ago · link · parent