Software Alternatives, Accelerators & Startups

Hasura VS Amazon API Gateway

Compare Hasura VS Amazon API Gateway and see what are their differences

Hasura logo Hasura

Hasura is an open platform to build scalable app backends, offering a built-in database, search, user-management and more.

Amazon API Gateway logo Amazon API Gateway

Create, publish, maintain, monitor, and secure APIs at any scale
  • Hasura Landing page
    Landing page //
    2023-10-21
  • Amazon API Gateway Landing page
    Landing page //
    2023-03-12

Hasura features and specs

  • Real-Time Data
    Hasura provides built-in support for GraphQL subscriptions, allowing you to easily implement real-time data updates in your applications.
  • Auto-Generated APIs
    With Hasura, you can instantly generate a fully-functional, scalable GraphQL API from your existing databases without writing any code.
  • Authorization and Authentication
    Hasura provides granular authorization controls and integrates well with various authentication services, helping to secure your data access.
  • Microservices & Event Triggers
    Hasura allows you to create event-driven architectures by allowing you to trigger webhooks based on specified database events.
  • Scalability
    Designed for performance, Hasura can handle large-scale applications by optimizing database queries and offering load-balancing capabilities.
  • Multi-Data Source Support
    Hasura can connect to multiple data sources and databases, making it a versatile choice for complex architectures.
  • Developer Productivity
    The tool significantly reduces the time required for backend development, allowing developers to focus on building frontend features and improving user experience.
  • Community and Support
    Hasura has a growing community and offers comprehensive documentation, which can be invaluable for troubleshooting and getting the most out of the platform.

Possible disadvantages of Hasura

  • Complex Initial Setup
    Although Hasura simplifies many tasks, setting it up initially can be complex and may require a good understanding of both GraphQL and your underlying database.
  • Vendor Lock-In Concerns
    Depending heavily on Hasura can create vendor lock-in situations, making it difficult to switch technologies later without significant redevelopment effort.
  • Learning Curve
    Developers unfamiliar with GraphQL, event-driven architectures, or advanced database concepts may face a steep learning curve when adopting Hasura.
  • Limited Customization
    Some advanced use cases may require lower-level customizations not easily achievable through Hasura’s auto-generated APIs.
  • Performance Overhead
    Although optimized for performance, the additional layer Hasura introduces can still introduce latency, especially in highly complex queries.
  • Debugging Complexity
    Diagnosing issues can sometimes be complicated due to the number of components involved, including the database, Hasura, and the generated APIs.
  • Cost
    While Hasura offers a free tier, advanced features and enterprise-level support come at a cost, which can add up as your project scales.

Amazon API Gateway features and specs

  • Scalability
    API Gateway automatically scales to handle the number of requests your API receives, ensuring high availability and reliability.
  • Ease of Integration
    Seamlessly integrates with other AWS services like Lambda, DynamoDB, and IAM, enabling a cohesive environment for developing serverless applications.
  • Built-in Security
    Provides features such as IAM roles, API keys, and AWS WAF integration for safeguarding your APIs from potential threats.
  • Monitoring and Logging
    Supports CloudWatch integration for monitoring API requests and responses, helping you maintain observability and troubleshoot issues effectively.
  • Cost-Effective
    You only pay for the requests made to your APIs and the amount of data transferred out, making it a cost-effective solution for many use cases.
  • Caching
    Built-in caching at the API Gateway level can improve performance and reduce latency for frequently accessed data.

Possible disadvantages of Amazon API Gateway

  • Complexity in Configuration
    Setting up and managing API Gateway can be complex, especially for users who are not familiar with AWS services and cloud infrastructure.
  • Cold Start Latency
    When integrated with AWS Lambda, cold starts can introduce latency which can affect the performance of your API.
  • Cost for High Throughput
    While cost-effective for low to moderate usage, the costs can escalate with high throughput and large data transfers.
  • Debugging Issues
    Diagnosis can be complicated due to the multi-tenant nature of the service and the need to dive into multiple AWS logs and services.
  • Limited Customization
    There might be constraints regarding customizations and fine-tuning your APIs compared to self-hosting solutions.
  • Vendor Lock-in
    Dependence on AWS infrastructure can lead to vendor lock-in, making it challenging to migrate to other cloud providers or solutions.

Hasura videos

Scott Tries Hasura - A Realtime GraphQL API Builder

More videos:

  • Review - Evaluating Hasura
  • Review - The founder of Hasura teaching me about Hasura - FUN!

Amazon API Gateway videos

Building APIs with Amazon API Gateway

More videos:

  • Review - Create API using AWS API Gateway service - Amazon API Gateway p1

Category Popularity

0-100% (relative to Hasura and Amazon API Gateway)
GraphQL
100 100%
0% 0
API Tools
0 0%
100% 100
Developer Tools
100 100%
0% 0
APIs
38 38%
62% 62

User comments

Share your experience with using Hasura and Amazon API Gateway. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Hasura might be a bit more popular than Amazon API Gateway. We know about 122 links to it since March 2021 and only 107 links to Amazon API Gateway. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Hasura mentions (122)

  • Supabase Alternatives 🔄 in 2025 😼
    Hasura is a neck-to-neck competitor to Supabase as a BaaS, but with a crucial difference: its GraphQL-first approach. Unlike Supabase, Hasura doesn't bundle database services, allowing it to work with virtually any database including Supabase's own Postgres, Neon, and others. - Source: dev.to / about 2 months ago
  • Automatically Generate REST and GraphQL APIs From Your Database
    Hasura and PostGraphile lead the PostgreSQL GraphQL landscape. Hasura provides real-time subscriptions and a powerful permissions system, while PostGraphile offers deep PostgreSQL integration and excellent performance for complex queries. - Source: dev.to / 5 months ago
  • The Myth of GraphQL
    Here is an example data schema we get for a query using Hasura and GraphQL-Codegen. - Source: dev.to / 7 months ago
  • Hasura CLI on NixOS: A Working Solution
    Hasura is a great tool. I was worried about a few things such as huge RAM consumption, excessive focus on new features and functions despite many outstanding issues, long time rewrite of the server in Rust, etc... - Source: dev.to / 9 months ago
  • Haskell Certification Program
    Hasura has commercial use: https://hasura.io/. - Source: Hacker News / 10 months ago
View more

Amazon API Gateway mentions (107)

  • 10 Lightweight API Gateways for Your Next Project
    AWS API Gateway is Amazon’s managed gateway service, designed to work seamlessly within the AWS ecosystem. It supports both REST and WebSocket APIs, with HTTP APIs being the lightweight, lower-cost option for simple proxying and routing use cases. - Source: dev.to / 6 days ago
  • 4 Cognito User Pools features you might not know about
    This opens up a world of customization options for controlling app access. For example, we can embed custom data in the ID token for the front-end client to use, enabling guards to restrict content. Alternatively, we can add custom scopes to the access token and implement fine-grained access control in an API Gateway API. All it takes is some Lambda function code, and Cognito triggers it at the right time. - Source: dev.to / 26 days ago
  • Verifying Cognito access tokens - Comparing three JWT packages for Lambda authorizers
    When the built-in Amazon API Gateway authorization methods don’t fully meet our needs, we can set up Lambda authorizers to manage the access control process. Even when using Cognito user pools and Cognito access tokens, there may still be a need for custom authorization logic. - Source: dev.to / about 1 month ago
  • Implementing advanced authorization with AWS Lambda for endpoint-specific access
    The API Gateway includes an endpoint structured like this:. - Source: dev.to / about 1 month ago
  • Turning APIs into Revenue: Passive Income Strategies for Developers
    Amazon Web Services exemplifies this approach with automatic volume discounts that encourage increased usage while maximizing revenue at each consumption level. - Source: dev.to / about 1 month ago
View more

What are some alternatives?

When comparing Hasura and Amazon API Gateway, you can also consider the following products

Supabase - An open source Firebase alternative

AWS Lambda - Automatic, event-driven compute service

GraphQl Editor - Editor for GraphQL that lets you draw GraphQL schemas using visual nodes

Postman - The Collaboration Platform for API Development

How to GraphQL - Open-source tutorial website to learn GraphQL development

Apigee - Intelligent and complete API platform