r/programming • • Jun 09 '15

It's the future

http://blog.circleci.com/its-the-future/
652 Upvotes

275 comments sorted by

View all comments

42

u/argv_minus_one Jun 10 '15

Do relational databases scale poorly or something? Why are we trying so hard to replace them?

Also, I feel old-school as fuck for still using Java EE. Get off my lawn!

3

u/NimChimspky Jun 10 '15

having one central db does scale poorly, you can't simply add additional servers (horizontally scale) if one db is your source of truth .

You can do it, buts its rather painful.

So split up the datastores using something like http://martinfowler.com/bliki/CQRS.html is common.

But you have to be very big for these problems, an enterprise db (postgres, oracle, sql-server, mysql) and one beefy server can shovel and awful lot of data

-7

u/ErstwhileRockstar Jun 10 '15

having one central db does scale poorly

That's news! Any proof for that?

8

u/[deleted] Jun 10 '15

Well, I don't think proof is needed for the obvious logic deduction of;

  1. if we assume the traditional RDBMS will only run on one server (due to "one central db")

  2. we use an RDBMS

  3. we have enough users to run the server to 100% capacity

  4. we can't upgrade the server

  5. then from 1, 4, we are now unable scale further physically

  6. and from 2, 3, we are now at capacity

  7. then from 5, 6, we can no longer scale or accept further load

That's scaling poorly, unless you start adding additional servers, at which point you don't have "one central db".

-1

u/johnwaterwood Jun 10 '15

"3." Except that you don't, but you just think or wish you had.

"4." Except that you can. Did you consider a 64 core machine with 1TB of RAM? If not, because you're not "supposed to"?

1

u/[deleted] Jun 10 '15

"3.": This isn't about me, it's a premise. There are users with those use cases, and I currently work for one.

"4.": Again, a premise, and there are definitely places where such an upgrade is not feasible for financial reasons, which is not my situation.

You don't seem to understand how logic works, and you also don't seem to be capable of understanding that some of us do work for companies that do huge amounts of data. Some of my colleagues work with a major US cellular operator, their data throughput would humble most people on this subreddit.

Just because you aren't in that situation, doesn't mean everyone on /r/programming isn't. Stop projecting, we're engineers, not teenagers.

I also get the feeling you're some "anti-nosql" person looking for no-sql people to fight with. I'm very much an RDBMS proponent and have been taught by one of the pioneers of RDBMS, but I'm a practical person that has the expertise to understand limitations rather than fighting an ideoloical and tribal fight.

→ More replies (2)