News for hackers. Stuff that matters.
Re:Lessons from Coinbase’s Wild Ascent by strken on Wednesday October 10, 2018 @10:09AM (#18184966)
I was hoping for something like "don't use an AP NoSQL database for storing your financial transactions". I've always wondered how and why they chose MongoDB.
Re:Lessons from Coinbase’s Wild Ascent by dustingetz on Wednesday October 10, 2018 @10:35AM (#18185220)
Coinbase was founded in 2012 in peak mongodb hype, and while the issues with MongoDB are well understood today, six years ago you'd have to be a cutting edge emerging database type developer to know that, and that's not the type of person who Y Combinator likes to fund.
Re:Lessons from Coinbase’s Wild Ascent by wmf on Wednesday October 10, 2018 @11:23AM (#18185714)
I don't know; it sure seems like people understood the issues in 2010: https://news.ycombinator.com/item?id=1636198
Re:Lessons from Coinbase’s Wild Ascent by madeuptempacct on Wednesday October 10, 2018 @12:57PM (#18186732)
I still don't understand them past "no PK/FK integrity" and duplicating data + problems with complicated queries.
Re:Lessons from Coinbase’s Wild Ascent by aero- on Wednesday October 10, 2018 @10:43AM (#18185319)
What's the best current alternative database for storing financial transactions? Just use a SQL over a NoSQL?
Re:Lessons from Coinbase’s Wild Ascent by manigandham on Wednesday October 10, 2018 @12:18PM (#18186303)
NoSQL is a meaningless term, and SQL is a query language. The actual database types are relational, key-value/wide-column, document store, graph, search, OLAP/column-oriented, etc.

Any of them will work as long as you can durably store your data. Relational databases have always implemented ACID and SQL which makes them easy to work with, and they can support almost any data model with decades of updates and tooling which is why they are the default choice unless you specifically have other needs. Newer relational databases can also scale horizontally by applying the same sharding techniques as the other database types, so even that issue is no longer relevant.

Re:Lessons from Coinbase’s Wild Ascent by simonebrunozzi on Wednesday October 10, 2018 @11:49AM (#18186010)
PostgreSQL all the way down. I know I'm in the minority here.
Re:Lessons from Coinbase’s Wild Ascent by lawn on Wednesday October 10, 2018 @02:41PM (#18187712)
I doubt you're the minority TBH.
Re:Lessons from Coinbase’s Wild Ascent by m0j0e on Wednesday October 10, 2018 @11:11AM (#18185605)
Probably OneTick.
Re:Lessons from Coinbase’s Wild Ascent by mastermojo on Wednesday October 10, 2018 @03:30PM (#18188107)
If you subscribe to the Lean Startup learning where the author spent 2 years building out a product and then realized that nobody wanted to use it the heroku + mongoDB stack makes a lot of sense. It lets a startup to get a product out the door quick and figure out product market fit.