kinto icon indicating copy to clipboard operation
kinto copied to clipboard

Question: Kinto Vs Elasticsearch Vs Hasura

Open rrjanbiah opened this issue 6 years ago • 5 comments

Here https://github.com/mozilla-services/buildhub/issues/128 I find some reasons for using Elasticsearch within Kinto. Also, found comparison http://docs.kinto-storage.org/en/stable/faq.html

If I'm right, Kinto is using PostgreSQL. In that sense, how it is comparable with Hasura? Similarly, what is the benefit of Kinto over Elastisearch? (Apologies if these are addressed somewhere. TIA)

rrjanbiah avatar Aug 19 '19 14:08 rrjanbiah

You can use Kinto with Elasticsearch if you need fulltext search capabilities. We also have a kinto-algolia plugin if you want to use algolia as a fulltext engine.

I guess Hasura and more generaly GraphQL have both the same issues Kinto was built to fix: Fined grained permissions on records

If all your data are public in your backend and that you don't need authentication then you should take a closer look at Hasura.

However if grating access, managing users data or sharing between users is a feature of your application, Kinto might be the tool you are looking for.

Natim avatar Aug 19 '19 14:08 Natim

@Natim Thank you so much for your quick reply

rrjanbiah avatar Aug 19 '19 14:08 rrjanbiah

I haven't really looked at Hasura yet. So don't no if this is feasible at all, but maybe there could be also a Kinto plugin for Hasura. Or just a proposal for discussion as a starter. To have the authentication and permission system of Kinto with a GraphQL query system. Modern frontend frameworks, for example based on Gatsby, will easily benefit from that :)

webwurst avatar Sep 29 '19 11:09 webwurst

Having a GraphQL endpoint for Kinto seems like a good idea. Feel free to start a proposal of how you see this work.

Natim avatar Sep 30 '19 07:09 Natim

See also #307 #330

leplatrem avatar May 14 '20 09:05 leplatrem