DEV Community

Discussion on: I'm planning on creating a website with NodeJS, What can I use to future proof it?

Collapse
 
mrm8488 profile image
Manuel Romero • Edited

And about MongoDB.You must know some things like:

  • Document max size is 16 MB
  • Embedded arrays are not the Panacea. You should use it to represent relationship one to many when that many are a FEW and grow in a predictable way.
  • MongoDB atomicity is document level. There is an operator to do a kind of transaction but there is no rollback.
  • MongoDB have started recently to implement joins to database level (so another relational database are much more powerful and advanced in this field)