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

Hasura

328
627
+ 1
144
Heroku

25.3K
20.2K
+ 1
3.2K
Add tool

Hasura vs Heroku: What are the differences?

## Introduction
This Markdown code highlights the key differences between Hasura and Heroku in a concise manner suitable for website integration.

## Key Differences Between Hasura and Heroku
1. **Deployment Flexibility**: Hasura primarily focuses on deploying and managing GraphQL APIs, offering a variety of deployment options such as serverless and container-based solutions. On the other hand, Heroku is a cloud platform that supports multiple programming languages and frameworks, providing a more general-purpose deployment environment.

2. **Databases Integration**: Hasura allows seamless integration with databases like PostgreSQL, providing instant GraphQL APIs on top of them. In contrast, while Heroku supports various databases, the setup and maintenance of these database connections require more manual configuration compared to Hasura's automated approach.

3. **Infrastructure Management**: Hasura automates many aspects of infrastructure management related to GraphQL APIs, including real-time event handling, access control, and data relationships. Heroku, being a platform-as-a-service (PaaS) solution, simplifies overall application deployment and management but may require additional configuration for specific features like real-time capabilities.

4. **Scalability and Performance**: Hasura is designed for high-traffic and scalable applications, offering features like caching, query optimization, and load balancing to enhance performance. While Heroku also supports scalability through dynos and add-ons, Hasura's focus on GraphQL APIs enables more fine-tuning for optimizing performance in real-time applications.

5. **Community Support and Ecosystem**: Hasura has a strong community of developers and contributors dedicated to improving the platform's capabilities and offering support through forums, documentation, and tutorials. While Heroku also has an active community, its ecosystem is broader due to supporting various programming languages and frameworks, resulting in a more diversified community with different areas of expertise.

6. **Cost Analysis**: Hasura offers a more cost-effective solution for projects primarily focused on GraphQL APIs, with pricing plans tailored to different use cases and scalability requirements. In contrast, Heroku's pricing structure is more generalized, covering a wider range of application types and deployment scenarios, which may result in higher costs for specific use cases compared to Hasura's optimized pricing models.

## Summary
In summary, Hasura and Heroku differ in deployment flexibility, databases integration, infrastructure management, scalability and performance features, community support, and cost analysis, catering to distinct needs in the development and deployment of web applications.
Decisions about Hasura and Heroku

I'm transitioning to Render from heroku. The pricing scale matches my usage scale, yet it's just as easy to deploy. It's removed a lot of the devops that I don't like to deal with on setting up my own raw *nix box and makes deployment simple and easy!

Clustering I don't use clustering features at the moment but when i need to set up clustering of nodes and discoverability, render will enable that where Heroku would require that I use an external service like redis.

Restarts The restarts are annoying. I understand the reasoning, but I'd rather watch my service if its got a memory leak and work to fix it than to just assume that it has memory leaks and needs to restart.

See more
Márton Danóczy

We wanted to save as much time as possible when writing our back-end, therefore Apollo was out of the question, we went for an auto-generated API instead. Hasura looked good in the beginning, but we wanted to retain the ability to add a few manual resolvers and modifications to auto-generated ones, which ruled out Hasura. Postgraphile with its Plug-In architecture was the right choice for us, we never regretted it!

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Hasura
Pros of Heroku
  • 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
  • 703
    Easy deployment
  • 459
    Free for side projects
  • 374
    Huge time-saver
  • 348
    Simple scaling
  • 261
    Low devops skills required
  • 190
    Easy setup
  • 174
    Add-ons for almost everything
  • 153
    Beginner friendly
  • 150
    Better for startups
  • 133
    Low learning curve
  • 48
    Postgres hosting
  • 41
    Easy to add collaborators
  • 30
    Faster development
  • 24
    Awesome documentation
  • 19
    Simple rollback
  • 19
    Focus on product, not deployment
  • 15
    Natural companion for rails development
  • 15
    Easy integration
  • 12
    Great customer support
  • 8
    GitHub integration
  • 6
    Painless & well documented
  • 6
    No-ops
  • 4
    I love that they make it free to launch a side project
  • 4
    Free
  • 3
    Great UI
  • 3
    Just works
  • 2
    PostgreSQL forking and following
  • 2
    MySQL extension
  • 1
    Security
  • 1
    Able to host stuff good like Discord Bot
  • 0
    Sec

Sign up to add or upvote prosMake informed product decisions

Cons of Hasura
Cons of Heroku
  • 3
    Cumbersome validations
  • 27
    Super expensive
  • 9
    Not a whole lot of flexibility
  • 7
    No usable MySQL option
  • 7
    Storage
  • 5
    Low performance on free tier
  • 2
    24/7 support is $1,000 per month

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Hasura?

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

What is Heroku?

Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.

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

What companies use Hasura?
What companies use Heroku?
See which teams inside your own company are using Hasura or Heroku.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Hasura?
What tools integrate with Heroku?

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

Blog Posts

Sep 29 2020 at 7:36PM

WorkOS

PythonSlackG Suite+17
6
3049
GitHubPythonNode.js+47
54
72316
GitHubPythonSlack+25
7
3155
Jun 19 2015 at 6:37AM

ReadMe.io

JavaScriptGitHubNode.js+25
12
2361
GitHubPythonDocker+24
13
17014
What are some alternatives to Hasura and Heroku?
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.
PostGraphile
Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database
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.
Apollo
Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.
GraphQL
GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
See all alternatives