Does ES as DB can replace MongoDB?

I wonder if ES as DB could replace MongoDB ?

In some cases yes but you must read this: https://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html

Thanks :slight_smile: .
My case is that I should use the aggregations of ES so I store my data in mongodb and I make mongo-connecter between mongodb and ES so is it better to use mongo connecter like I did it or only elasticsearch , I 'm really confused!

You can just use elasticsearch as long you agree that elasticsearch is not (yet) a 100% safe datastore as explained in the link I pasted. Shit can hit the fan :wink:

So it's up to you.

Thank you :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.