The only distributed database I'm familiar with is CouchDB. Can anyone give me a birds eye view on how Cockroach is different?
Might be helpful if you already know the couchdb answer for each feature.
61–70 of 86 posts
The only distributed database I'm familiar with is CouchDB. Can anyone give me a birds eye view on how Cockroach is different?
Might be helpful if you already know the couchdb answer for each feature.
Does GDPR really require all Europeans' data to stay on EU soil without explicit consent?
Does GDPR really require all Europeans' data to stay on EU soil without explicit consent?
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
Earlier quoted context omitted.
> the only way to have a CA database is to only have a single node. I know that this is meant to mean: in the real world you cannot just write off partition resilience and still call your system highly available, since partitions will happen sooner or later and when they do your CA system won't be available. But in the other hand, having a system that is always available _except_ during a network partition is a usefu…
It's my understanding that Google Spanner is leveraging hardware (direct lines between machines), so the degree at which there is a network partition is different than compared to other systems.
I believe at the end of the day the CAP theorem is too fuzzy for such discussions.
> When partitions heal, you might have to make ugly decisions: which version of your customer’s data to you choose to discard? If two partitions received updates, it’s a lose-lose situation. When partitions heal you simply merge all versions through conflict-free replicated data types. No ugly decisions, no sacrificing neither latency nor consistency. We call it strong eventual consistency [1] nowadays. And it's exac…
My application is just plain old CRUD. What if two users want to change e.g. the telephone number of an existing record during a network partition. There just is no obvious way to merge a telephone number. One of them is correct, the other is incorrect. Can CRDTs solve my simple problem?
Earlier quoted context omitted.
My application is just plain old CRUD. What if two users want to change e.g. the telephone number of an existing record during a network partition. There just is no obvious way to merge a telephone number. One of them is correct, the other is incorrect. Can CRDTs solve my simple problem?
I think the issue is solved (while still complex) with an event sourcing system. The chances are really high that the users did not push / updated the number at the exact same time. (so they are at least 1ns apart, even when not it's not that bad). So you can actually restore to a sane state by reapplying the log from scratch. i.e. this is solved with CQRS and Event Sourcing and it probably works in like all database…
Earlier quoted context omitted.
Does this imply that there's a single place that log entries get ingested at? Doesn't that make it a single point of failure?
well you can either use a single database for log entries, or cassandra or a mysql cluster or a pg cluster. that doesn't matter.. basially instead of having a table where you update/delete entries you basically append only to a table. so insert only. you can still have another table that will be aggregated from your log table. where you store (i.e. which database system, cluster whatever) your stuff doesn't matter.
Earlier quoted context omitted.
Does this imply that there's a single place that log entries get ingested at? Doesn't that make it a single point of failure?
No, you can just have partitioned replicated topics like kafka has, just make sure that all the events for one user get put into the same partition, so that they get totally ordered.