
Hasura Unveils New Innovations to Enhance Data Delivery and API Development
SAN FRANCISCO, June 22, 2023 — Hasura has announced a number of new features that are set to redefine how data is delivered from producers to consumers, offering a more streamlined and efficient process for application developers.
These innovations include the Hasura Data Delivery Network (DDN), Schema Registry, and Hasura Native Data Connector for MongoDB, among other additions. These new solutions underline Hasura’s commitment to making data APIs accessible and beneficial to all developers.
“This is the largest and most significant set of innovations that we have created to date in our journey to make data APIs available and beneficial to all developers,” said Tanmai Gopal, co-founder and CEO of Hasura. “Hasura DDN introduces a number of industry firsts, and does more to reduce the time that data takes to make it from provider to consumer than any other Hasura capability. We are extremely proud of what we have accomplished since the last HasuraCon, and look forward to showing the community what else we have in store.”
Hasura Data Delivery Network (DDN) Enables Unparalleled API Performance at Global Scale
Hasura DDN is an edge network that enables developers to run low-latency/high-performance data APIs at global scale, with no additional effort and no additional fees. All projects deployed on Hasura Cloud will be automatically deployed to an edge network of 100+ global regions, with 99.99% uptime guarantees, delivering the best experience to the end consumer. It’s like a CDN for real-time, streaming and analytical data that automatically routes and executes client requests on the Hasura instance closest to the client, minimizing the round-trip time (RTT) and latency.
Hasura DDN integrates seamlessly with distributed databases (e.g. CockroachDB, Amazon Aurora, Yugabyte, etc.), automatically routing data queries from the user to the nearest database replica/shard. This minimizes the network latency between not just the client and Hasura, but also Hasura and the underlying data source.
Hasura DDN is made possible by a major architecture change of the Hasura engine that reduced its cold start time to under 1 millisecond. As a result, the Hasura runtime can be instantiated on the edge region when the API is invoked, enabling instant auto-scaling to handle any spike in traffic – globally. DDN is a much more cost-efficient way to get value-based API pricing, instead of infrastructure-based pricing, than alternative approaches like always-on or warmed-up instances.
Hasura DDN will soon be available on Hasura Cloud, and as Private DDN for self-hosted Hasura customers. Sign up here.
DDN Enables Sub-Second API Iteration and Rapid Testing
Hasura DDN allows developers to iterate on their APIs – go from code to global-scale production (including building, validation, and testing) – in less than one second. This rapid CI/CD is true regardless of the number of data models connected, across all changes and scenarios.
Building APIs traditionally requires build/validate/test on the code. This is difficult to do at scale, and previously took anywhere from minutes to hours depending on the type of change and the complexity of the metadata. Hasura’s disruptive innovations improve speed and predictability of changes, enabling developers to rapidly test multiple deploys in a day – or even an hour. Metadata changes will now create builds that can be independently tested and applied to projects, enabling superior API version control and more seamless collaboration between developers.
These changes will go live as a part of the Hasura DDN launch. Sign up here.
Hasura Schema Registry Streamlines Governance and Evolution of Federated GraphQL
Hasura Federation is one of the most efficient ways to compose multiple domain APIs into a single, unified API, aka the supergraph. It makes it simple for developers to specify relationships on models across services (GraphQL and REST) and data stores. Building on these capabilities, the new Hasura Schema Registry makes managing, governing, and collaborating on a federated API even simpler. Hasura Schema Registry allows developers across multiple teams to easily control and audit GraphQL schema changes across diverse data sources, which helps them more reliably and confidently push changes in mission-critical production apps.
Instant GraphQL on NoSQL, starting with MongoDB
The launch of Hasura Data Connectors for Snowflake, MySQL, MariaDB, and Oracle in the last six months have rapidly moved forward Hasura’s mission to bring instant GraphQL/API to all data. Today’s launch of the Hasura MongoDB connector brings the Hasura magic to a whole new data store category – NoSQL. As with all previous data connectors, users can now point Hasura to their MongoDB instances and auto-generate a fully-featured GraphQL API from their collections and documents – in minutes. For any developer looking to build modern GraphQL-powered apps on MongoDB, this connector compresses the backend development effort by orders of magnitude and accelerates the time to market.
With this connector, Hasura now supports the top five databases as ranked by DB-Engines. Bringing API automation to NoSQL stores required Hasura to rethink how the Hasura JIT compiler automatically translates an arbitrary GraphQL query into a performant, native MongoDB query. It takes into account pushing down permission rules and projecting fields as the first cut on performance, with an eye to several other areas where it is possible to make fewer requests to optimize end-user performance. Connectors for other NoSQL stores, including Cassandra/Datastax and Elasticsearch, will be available soon, as will support for existing NoSQL capabilities including PostgreSQL JSONB columns.
Native Queries and Logical Models Boost Database Interactivity
Native Queries and Logical Models allow developers to seamlessly incorporate the full capacity of a database’s query language, such as SQL in PostgreSQL, into the Hasura auto-generated API. It offers users an enriched and extended range of query possibilities and operations, enhancing the developer experience and broadening the capabilities of the Hasura-generated API.
Native Queries and Logical Models come with an array of compelling benefits:
- Enhanced Query Expressivity: By enabling users to employ their database’s full query language capabilities, Native Queries opens up a broader set of operations that can be performed, bringing the expressivity of SQL into Hasura auto-generated API.
- Lower Privilege Requirements: Native Queries does away with the need for DDL privileges to build custom mapping, making it far more accessible for users in different settings, particularly within enterprises.
- Expanded Function Return Types: This feature is designed to support a more comprehensive range of function return types. It allows Hasura to handle functions that do not necessarily return a table, thus accommodating a more diverse set of databases and function types.
About Hasura
Hasura is helping to build the modern world of globally relevant, data-driven applications and APIs. Hasura’s range of data access solutions helps organizations accelerate product delivery by instantly connecting data and services to applications with GraphQL APIs. Hasura was open-sourced in July 2018, and is used by tens of thousands of developers as the data access layer for modern applications.
Source: Hasura