mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
26b38bbe5b
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9631 GitOrigin-RevId: 64c40a30e3483fb0322ce9f2fbb2e9c1e3f1d9ba
1.0 KiB
1.0 KiB
Hasura + NoSQL (JSON)
Mongo is awesome because:
- It is super flexible and developers decide what to do as their requirements change. Eg: All types of read models with varying degrees of normalization. Writes can have different types of guarantees of consistency that allow developers to control how fast or slow writes are.
- Reads & writes are super fast, easy to vertically and horizontally scale, easy to shard and geo-distribute.
What Hasura needs to make Hasura + Mongo awesome:
- Support modeling and querying nested (embedded) documents well since that is the dominant pattern
- Support relationships on complex LHS arguments (nested objects/arrays) with native & awesome mongo ways:
$lookup
,$unwind
: similar to joins$graphLookup
: recursive join! great if we can bring that value to the fore :)
- Support aggregation pipelines in parameterized models
- Other R&D ideas that need significant guidance from mongo users/customers:
- Help data/schema migration on mongo
- Support denormalized writes?