MongoDB or Elasticsearch…which database should I use? Maybe the best answer is both! If you keep your MongoDB indexes minimal and simple, but then also feed all your records into Elasticsearch as a secondary database, what you get is a database tuned for efficient transactions and a secondary database tunable for speedy, complex, and comprehensive searches. Watch how to build a multi-database solution like this using the Compose Transporter tool which seamlessly keeps a synchronized copy of your MongoDB data in Elasticsearch providing the best of both worlds.

Join The Discussion

Your email address will not be published. Required fields are marked *