Hasura Launches Event Triggers on Postgres to Enable Building Serverless Applications

Share Article

Hasura's new open-source event trigger system for Postgres will enable developers to seamlessly integrate serverless workloads for increased resiliency and scalability.

Hasura (http://www.hasura.io/) today launches an open-source event-trigger system on Postgres that will allow developers to trigger their serverless functions or webhooks whenever there is a change in the database. The event source mechanism is atomic and reliable to ensure that no events are dropped, and it supports the types of retry & retention logic and observability plumbing required for production systems. It works seamlessly with both new and existing Postgres applications.

Building event-driven systems with serverless is an emerging pattern for developing application backends. In an event-driven and serverless (or functions-as-a-service) architecture, business logic code rests in stateless “functions” and is triggered via events. Such a system can achieve massive resiliency and scalability without requiring any further dev or ops effort, but requires an upfront investment in building reliable event plumbing.

Hasura’s open-source GraphQL engine (https://github.com/hasura/graphql-engine/) that gives you instant realtime APIs on Postgres (for new & existing applications), has been starred over 3500 times on GitHub since it launched 8 weeks ago and gained a lot of love from users for its seamless developer experience. Building on top of the technology to provide realtime GraphQL, Hasura now provides instant event-source tooling with the same smooth developer experience.

Several users, businesses and open-source projects have already deployed Hasura successfully in production. Hasura event-triggers is a welcome addition to these early users who’re looking at integrating serverless workloads and run business logic asynchronously for their applications.

Khoa Nguyen, creator of sketch.sh (https://sketch.sh/) an online ReasonML code collaboration platform built using Hasura), plans to use event-triggers to enable improved SSR performance which would be cumbersome to implement without cache updates. He says: “SSR sites usually suffer from slow time-to-first-byte and caching is really a headache. With an event-triggers/webhook model, you can aggressively cache the SSR result and purge it from the CDN as content changes.”

Tanmai, CEO Hasura, says, “Hasura makes it easy for developers to close the loop between their serverless backends and their apps. When serverless functions running business logic are triggered, propagating information back to the end-user on say an app used to be a challenge. Hasura’s realtime GraphQL makes it easy for developers to do this without any effort. Developers can use realtime GraphQL to build reactive UX to go along with their async backends!”

About Hasura:
With offices in San Francisco and Bangalore, privately-held Hasura builds developer tools that make it easier to work with GraphQL and Serverless technologies. The company is venture-backed by Nexus Venture Partners and GREE Ventures. Interested parties can visit http://www.hasura.io.

Share article on social media or email:

View article via:

Pdf Print

Contact Author

Rajoshi Ghosh
+91 9606441099
Email >
since: 02/2015
Follow >
Visit website