Hasty Briefsbeta

Bilingual

Show HN: Constellation is an open-source Hasura-compatible GraphQL engine in Go

9 hours ago
  • #GraphQL
  • #Backend Development
  • #Open Source
  • Introduces Constellation, a new open-source GraphQL engine written in Go, designed as a near drop-in replacement for Hasura Community Edition.
  • Constellation reads the same metadata as Hasura, generates a Hasura-compatible GraphQL API, and supports PostgreSQL and SQLite as first-class backends.
  • Built due to changes in Hasura's open-source model (v3), a desire for lighter resource usage (lower memory and latency), and the need to own critical infrastructure.
  • Early production results show Constellation uses ~90% less memory and slightly lower latency compared to Hasura when serving the same traffic.
  • Currently in alpha, it supports core GraphQL features (queries, mutations, subscriptions) but lacks some Hasura functionalities like Actions, event triggers, and REST endpoints.
  • Can be run alongside Hasura on Nhost projects for testing with zero migration risk, allowing users to compare performance and schema compatibility.
  • Encourages community feedback through schema diff reports, bug reports, and contributions to help harden the engine for broader use.