Need advice about which tool to choose?Ask the StackShare community!

AWS AppSync

197
257
+ 1
30
Hasura

333
631
+ 1
144
Add tool

AWS AppSync vs Hasura: What are the differences?

Introduction:

In this article, we will discuss the key differences between AWS AppSync and Hasura, two popular frameworks used for building GraphQL APIs. Both AppSync and Hasura provide powerful features for developing and managing GraphQL APIs, but they have some distinct differences that may make one more suitable for certain use cases than the other.

  1. Real-time capabilities: One of the key differences between AWS AppSync and Hasura is their approach to real-time capabilities. AppSync provides built-in support for real-time features like subscriptions, allowing you to easily build applications that can receive real-time data updates. On the other hand, Hasura leverages database triggers to provide real-time capabilities, making it a good choice if you have complex real-time requirements and want direct control over the underlying database.

  2. Data sources: Another difference lies in how AppSync and Hasura handle data sources. AppSync supports a variety of data sources including AWS DynamoDB, Amazon Aurora, and HTTP/S endpoints, allowing you to integrate with various services seamlessly. Hasura, on the other hand, primarily focuses on database-centric applications and provides deep integration with PostgreSQL as the default data source, making it ideal if you are working with PostgreSQL.

  3. Authentication and authorization: AppSync offers fine-grained access control to data and operations through AWS Identity and Access Management (IAM) roles and policies. It provides a flexible and granular approach to authentication and authorization. Hasura also provides support for authentication and authorization with various providers like JWT and custom webhook, but it has a simpler and less flexible authorization model compared to AppSync.

  4. Deployment and scalability: When it comes to deployment and scalability, AppSync is a fully managed service offered by AWS. It provides automatic scaling, high availability, and integration with other AWS services, making it a good choice if you want a hassle-free deployment and scaling experience. Hasura, on the other hand, can be self-hosted or deployed on various cloud platforms, giving you more control over the deployment process but requiring more manual configuration for scalability.

  5. Extensibility and customizations: AppSync provides a range of extensibility options through AWS Lambda functions and HTTP resolvers, allowing you to customize the behavior and add additional business logic easily. Hasura, on the other hand, provides server-side event triggers and remote schemas for extending its functionality, offering flexibility and options for customizations.

  6. Ecosystem and community support: AWS AppSync is part of the larger AWS ecosystem and benefits from the extensive resources, documentation, and community support provided by AWS. Hasura also has an active community and growing ecosystem, but it may not have the same level of resources and support as AWS AppSync.

In summary, the key differences between AWS AppSync and Hasura lie in their real-time capabilities, handling of data sources, authentication and authorization models, deployment and scalability options, extensibility and customizations, and the ecosystem and community support they offer. Choosing between them depends on the specific needs of your project and the trade-offs you are willing to make.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of AWS AppSync
Pros of Hasura
  • 9
    GraphQL
  • 6
    Real-Time
  • 3
    Offline
  • 3
    Apollo
  • 2
    Fully managed and scalable GraphQL Resolver!
  • 2
    Backed by Amazon
  • 2
    BaaS
  • 2
    AWS
  • 1
    Enterprise Security
  • 23
    Fast
  • 18
    Easy GraphQL subscriptions
  • 16
    Easy setup of relationships and permissions
  • 15
    Automatically generates your GraphQL schema
  • 15
    Minimal learning curve
  • 13
    No back-end code required
  • 13
    Works with new and existing databases
  • 12
    Instant production ready GraphQL
  • 11
    Great UX
  • 4
    Low usage of resources
  • 4
    Simple

Sign up to add or upvote prosMake informed product decisions

Cons of AWS AppSync
Cons of Hasura
    Be the first to leave a con
    • 3
      Cumbersome validations

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is AWS AppSync?

    AWS AppSync automatically updates the data in web and mobile applications in real time, and updates data for offline users as soon as they reconnect. AppSync makes it easy to build collaborative mobile and web applications that deliver responsive, collaborative user experiences.

    What is Hasura?

    An open source GraphQL engine that deploys instant, realtime GraphQL APIs on any Postgres database.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use AWS AppSync?
    What companies use Hasura?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with AWS AppSync?
    What tools integrate with Hasura?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to AWS AppSync and Hasura?
    Prisma
    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
    Firebase
    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
    AWS Mobile Hub
    AWS Mobile Hub is the fastest way to build mobile apps powered by AWS. It lets you easily add and configure features for your apps, including user authentication, data storage, backend logic, push notifications, content delivery, and analytics. After you build your app, AWS Mobile Hub gives you easy access to testing on real devices, as well as analytics dashboards to track usage of your app – all from a single, integrated console.
    AWS Amplify
    A JavaScript library for frontend and mobile developers building cloud-enabled applications. The library is a declarative interface across different categories of operations in order to make common tasks easier to add into your application. The default implementation works with Amazon Web Services (AWS) resources but is designed to be open and pluggable for usage with other cloud services that wish to provide an implementation or custom backends.
    Realm
    The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.
    See all alternatives