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
Or which features of current frameworks you use you feel you couldn’t live without?
New
DevotionGeo
Some time ago I read somewhere that Rocket will work with stable versions of Rust. The previous version’s changelog says, “Core: Removed...
New
New
New
New
AstonJ
Just discovered Fika - looks pretty neat! fn sum(a: Int, b: Int) : Float do a + b end I quite like the syntax, though would probably ...
New
First poster: bot
proposal: Go 2: permit types to say they may only be created by containing package · Issue #43123 · golang/go. It would be useful to per...
New
almokhtar
Howdy, folks i have this question about it is ok to learn two different programming languages same time, well my story is i joined a comp...
New
pillaiindu
Cross posting from Elixir Forum. Build it with Phoenix is a nice course by Geoffrey Lessel @geo. But if you start with Phoenix 1.7.2 or ...
New
New

Other popular topics Top

New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
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
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
New
PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
New
PragmaticBookshelf
Use advanced functional programming principles, practical Domain-Driven Design techniques, and production-ready Elixir code to build scal...
New