KnowledgeIsPower

KnowledgeIsPower

What is your choice for NoSQL database?

MongoDB, Cassandra, DynamoDB and etc.

Also, do you use VM or container to run it?

Most Liked

OvermindDL1

OvermindDL1

I just use PostgreSQL, including for nosql stuff, when I need some advanced features then it has it, without needing to add ‘yet another’ database of something else.

Maartz

Maartz

Yep, tbh Postgres has everything we need, from GeoJSON to just JSON support with good support for querying inside the JSON.

I’ve to work with Mongo for one of my clients, I just want to leave this world each time I’ve to interact with Mongo.

But it seems that SurrealDB is good. I’ve never tried tho.

Maartz

Maartz

I think it’s an issue with NoSQL.
No joints, not ACID, duplication of data, constraints on read rather on write.
Some NoSQL tries to solve this “lack” of features.
I said lack with quotes because usually that’s what you’re seeking for when choosing NoSQL.
The biggest pain point for me is querying, especially nested stuff. This drives me crazy.

Nevertheless, I go with PG as default, if I need to store JSON, I’ll go for JSONB in PG. Same for GeoJSON, I’ll use PostGIS, etc.
Thought it doesn’t support sharding, but there’s other way to get this mechanism in SQL.

I’ve used DynamoDB to act like an event store, same goes for Firebase.

At work we’ve a MongoDB database, with Rails backend, the thight coupling beteween MongoDB and the models make the migration task almost impossible, or we’ll have to cut the development of any feature during 6 months or more…

Where Next?

Popular Backend topics Top

AstonJ
I’ve seen more and more people get into Rust recently, so thought it would be cool to have a thread for people to share what they like ab...
New
bot
So you want to live-reload Rust - fasterthanli.me. Good morning! It is still 2020, and the world is literally on fire , so I guess we c...
New
New
New
CommunityNews
The Magic of Python Context Managers. Recipes for using and creating awesome Python context managers, that will make your code more read...
New
First poster: bot
What's so exciting about Postgres? with Craig Kerstiens (The Changelog #417). PostgreSQL aficionado Craig Kerstiens joins Jerod to talk ...
New
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
lucasvegi
Hello guys! Perhaps some of you have already seen this invitation on other channels in the Elixir community or even responded to our surv...
New
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New