Live data from Hacker News

Jepsen: Testing Partition Tolerance of PostgreSQL, Redis, MongoDB, Riak (2013)

infoq.com

1–10 of 16 posts

Re: Jepsen: Testing Partition Tolerance of PostgreSQL, Redis, MongoDB, Riak (2013)

#3
For me choosing a database involves carefully considering the value of data that will be housed within.

To what degree do I care about the data? How long would it take to recreate? What's the cost to my business if data is lost.

Time and time again, I end up choosing PostgreSQL for ANY data that I care about (i.e. anything that is not simply 'in-flight data'.

Re: Jepsen: Testing Partition Tolerance of PostgreSQL, Redis, MongoDB, Riak (2013)

#4
This is a much more recent presentation by Kyle (the author of the linked article) with a more mature version of his Jepsen tool. I imagine he'll get around to a written version of his findings soon, until then it's worth the time to watch this and learn a bit about distributed systems, databases and testing. https://www.youtube.com/watch?v=XiXZOF6dZuE

Re: Jepsen: Testing Partition Tolerance of PostgreSQL, Redis, MongoDB, Riak (2013)

#10
post #3

For me choosing a database involves carefully considering the value of data that will be housed within. To what degree do I care about the data? How long would it take to recreate? What's the cost to my business if data is lost. Time and time again, I end up choosing PostgreSQL for ANY data that I care about (i.e. anything that is not simply 'in-flight data'.

From the point of view of a "devops" developer - who has done hard time in QA and DBA as well - this requirement changes drastically when performance and scaling enter the equation. The scale slides quickly from "lose no data, ever" to "we can lose a few seconds of transactions if it speeds up the web page" to "we can lose a lot of data and still be OK, as long as we're still online".

Seconds, or even minutes worth of lost data do cost the company, but not nearly as much as poor performance. And unfortunately, developers tend to over-value data in the equation, leading to decisions which cause a company problems when it comes time to grow.

Ultimately, the best tools for ensuring business continuity (with few exceptions) is redundancy coupled with a set of proper backups.

Post reply on HN