kuzzleio / kuzzle

Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
https://kuzzle.io
Apache License 2.0
1.43k stars 123 forks source link

Can I use RethinkDB with Kuzzle ? #373

Closed meepeek closed 7 years ago

meepeek commented 8 years ago

I don't know much about elasticsearch and how to setup and RethinkDB is easy to setup and scale so I wonder if I could switch to Rethink in the future if a system were go on production

meepeek commented 8 years ago

Any update ?

ballinette commented 8 years ago

Hi, and thanks you for your interest about Kuzzle ;)

To be short, we can answer the same as for MongoDB (see issue #364 )

Actually, Kuzzle data layer is strongly dependent to Elasticsearch, and the question to enable its replacement by another service is still under debate within the team.

Technically, we use the same filtering syntax as Elasticsearch in our API, so just "switch to Rethink" (or any other database service) is not as simple as this. For that we'll need to:

Another option would be to not switch between Elastic and Rethink, but just add a support to Rethink, using a specific plugin (see http://kuzzle.io/guide/#gt-controllers), as we already made for Redis, with the Memory Storage Controller

ballinette commented 8 years ago

Anyway, if you just worry about how to setup and scale Elasticsearch, it's not so difficult, and we will write soon some documentation about this (in addition to elastic's official one) ;)

ballinette commented 7 years ago

I'm closing this issue. You can refer to discussion in #364 , which is about quite the same needs ;)