MongoDB vs. Redis
-
I was working on my first production NoSQL project recently, or a project leveraging NoSQL, and had the choice of working with Redis or MongoDB. MongoDB I know relatively well from having been exposed to it in many discussions, it is a very high profile NoSQL database option. Redis I really only knew by name.
For the project, my high level takeaway was that MongoDB seemed like it was the NoSQL analogue to MySQL and Redis was the equivalent to SQLite. Both are great but one is much more "enterprise" and/or scalable while the other is more embedded or meant for small, simple, local deployments.
Does anyone have any experience or insight to share? I am loving NoSQL performance and continue to be really interested in this area.
-
A year later and no one posts.
Just came across this today. Did not realize that Rackspace has added a Redis and MongoDB product!
-
Since this time, the topic has come up a bit in other threads. We are planning a NoSQL overview and general database overview as part of MangoCon 2019.
-
NoSQL is a huge field. You should pick a database according to what your app requires and not "by reputation". Redis and Mongo are very different, and are used for very different use cases.
-
@dyasny said in MongoDB vs. Redis:
NoSQL is a huge field. You should pick a database according to what your app requires and not "by reputation". Redis and Mongo are very different, and are used for very different use cases.
In the case of NodeBB, they were the two (now PostgreSQL is added... talk about really different!) that were available for it at the time. Redis was the default (and still is in the docs) and MongoDB was for "bigger" deployments. Now MongoDB is the default in the config files, at least.
Very odd that they chose those two and had to develop so differently for each.
-
@scottalanmiller weird indeed. Also, Mongo at scale is a nightmare (manual resharding when adding a node!)
Mongo is great for a developer who is just starting a project - it's damn easy to use, initially, and when you aren't big enough to actually need someone with DBA (or whatever hipster name you want to call them) skills
-
@dyasny said in MongoDB vs. Redis:
@scottalanmiller weird indeed. Also, Mongo at scale is a nightmare (manual resharding when adding a node!)
Mongo is great for a developer who is just starting a project - it's damn easy to use, initially, and when you aren't big enough to actually need someone with DBA (or whatever hipster name you want to call them) skills
Are there new hipster names for DBAs? We see the opposite, suddenly hipsters call everyone DBAs, even people very far removed from the database.
-
@scottalanmiller said in MongoDB vs. Redis:
Are there new hipster names for DBAs? We see the opposite, suddenly hipsters call everyone DBAs, even people very far removed from the database.
I see a lot of "data scientists" and "data engineers" who really are people with a bit of python, some basic statistics and knowledge of SQL
-
@dyasny said in MongoDB vs. Redis:
@scottalanmiller said in MongoDB vs. Redis:
Are there new hipster names for DBAs? We see the opposite, suddenly hipsters call everyone DBAs, even people very far removed from the database.
I see a lot of "data scientists" and "data engineers" who really are people with a bit of python, some basic statistics and knowledge of SQL
Ah, I see.
-
@dyasny said in MongoDB vs. Redis:
@scottalanmiller said in MongoDB vs. Redis:
Are there new hipster names for DBAs? We see the opposite, suddenly hipsters call everyone DBAs, even people very far removed from the database.
I see a lot of "data scientists" and "data engineers" who really are people with a bit of python, some basic statistics and knowledge of SQL
I'm a "data scientist" or "data engineer", who knew?
-
@travisdh1 said in MongoDB vs. Redis:
I'm a "data scientist" or "data engineer", who knew?
Just drink your smoothie, you hipster you
-
@scottalanmiller Sorry I wasnt around here then. However Ive been a rackspace customer since then lol
-
@dyasny Oh thats why I never hear the dba title thrown around anymore, its evolved I guess.
-
@jmoore said in MongoDB vs. Redis:
@dyasny Oh thats why I never hear the dba title thrown around anymore, its evolved I guess.
I think, with all the NoSQL around, DBAs are considered "those old farts doing Oracle in the basement". The term is just not as flashy as "ninja unicorn narwhal rock star"
-
@jmoore said in MongoDB vs. Redis:
@dyasny Oh thats why I never hear the dba title thrown around anymore, its evolved I guess.
It's not, DBA is always a DBA. Actual DBAs have never changed.
-
@dyasny said in MongoDB vs. Redis:
@jmoore said in MongoDB vs. Redis:
@dyasny Oh thats why I never hear the dba title thrown around anymore, its evolved I guess.
I think, with all the NoSQL around, DBAs are considered "those old farts doing Oracle in the basement". The term is just not as flashy as "ninja unicorn narwhal rock star"
Also not needed as much. Modern databases still need people who understand them, but it isn't like you are sitting there twisting the knobs all day like you used to in the 1980s.
-
@dyasny lol I love that one!
-
@scottalanmiller I mean the term, not the role. Sorry I thought that was apparent.
-
@scottalanmiller I see DBAs in large organizations, managing large databases, obviously, it's not about knobs anymore, but more about optimizing queries, load distribution, analytics around the DB use etc.
-
@jmoore I would love it too, if I didn't get to hear it so much, especially from recruiters who don't know anything about IT, so instead of catching up on tech at least to be able to read a CV, they just use a bunch of flashy words and hope that's what will catch the more expensive talent for them to market.
In fact, I just got almost this very phrase from a 60 year old recruiter, who called me and claimed I was one, and that he would love to set me up with a new job. I wish a hung up phone was able to hit people on the ass as well as a closed door can