Does ES as DB can replace MongoDB?


#1

I wonder if ES as DB could replace MongoDB ?


(David Pilato) #2

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


#3

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!


(David Pilato) #4

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.


#5

Thank you :slight_smile:


(system) #6

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