News for hackers. Stuff that matters.
Re:Do you really need Redis? How to get away with just Postg... by pjmlp on Saturday June 12, 2021 @05:42AM (#27483116)
Yeah, most of the NoSQL solutions boil down to not learning how powerful SQL and its programming extensions are.
Re:Do you really need Redis? How to get away with just Postg... by kasey_junk on Saturday June 12, 2021 @08:03AM (#27483872)
That’s a bit of rewriting history. NoSql, particularly document style stores came about at least as much as a reaction to the overweight policies & orms the sql world has made rampant at the time.

You’d be trying to store a tiny bit of simple state and all the books/articles would have you standing up read only views & stored procedures for all your crud ops. The document stores came along with a fresh perspective and easy scaling.

Then their were the columnar stores and time-series stores that really did solve the newer scale problems in ways the existing sql stores didn’t.

I’m a sql guy through and through but it’s important to recognize the nosql movement was a reaction to real pain points. Also it made the sql databases better.

Re:Do you really need Redis? How to get away with just Postg... by pjmlp on Saturday June 12, 2021 @09:29AM (#27484346)
What history rewriting?

I have been using RDMS all along since 1996.

Nokia NetAct was scaling GB of data across multiple clusters with OLAP reporting engine in 2005 with no hiccups.

The experience I had with DynamoDB kind of proved to me I haven't lost anything by staying in the SQL path.

Most NoSQL deployments I have seen, could have been easily done in Oracle or SQL Server, provided they actually had a DBA on the team.

Re:Do you really need Redis? How to get away with just Postg... by kasey_junk on Saturday June 12, 2021 @11:07AM (#27484978)
But that’s sort of the point. You are saying “if you have a DBA and use proprietary products and have the skill to understand the trade offs of running a db with another data warehouse product layered in you can handle GB of data”.

Mongo said “Throw data at me and I’ll scale with very little work”.

Now, I’ve always largely believed that’s penny wise and pound foolish but it’s certainly a good pitch.

Re:Do you really need Redis? How to get away with just Postg... by sorokod on Saturday June 12, 2021 @12:46PM (#27485632)
"mongo said" - the obligatory mongo DB is webscale video:

https://m.youtube.com/watch?v=b2F-DItXtZs

Re:Do you really need Redis? How to get away with just Postg... by pjmlp on Saturday June 12, 2021 @01:34PM (#27486032)
Which is what I originally stated "boil down to not learning how powerful SQL and its programming extensions are".

One can only have bought into Mongo's story, by lacking the skills to understand how fake it was.

Re:Do you really need Redis? How to get away with just Postg... by nemothekid on Saturday June 12, 2021 @01:42PM (#27486105)
DynamoDB was designed to solve a very different problem than a traditional SQL database. When DynamoDB (and the other Cassandra flavors) were released there were no databases doing multi-master failover with high write throughput - we are talking about TBs, not GBs. It's not a coincidence that Google, Facebook, and Amazon all had to write to their own database at around the same time (BigTable, Cassandra, Dynamo).

With those new tools you had other companies building on top of those databases for far cheaper than a license to MSSQL or any other OLAP of choice would give you.

Re:Do you really need Redis? How to get away with just Postg... by rad_gruchalski on Saturday June 12, 2021 @07:41AM (#27483776)
How so?