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

Google Cloud Run

274
228
+ 1
62
Heroku

25.4K
20.1K
+ 1
3.2K
Add tool

Google Cloud Run vs Heroku: What are the differences?

Comparison Between Google Cloud Run and Heroku

  1. Deployment Model:

    • Google Cloud Run is a serverless platform that allows developers to deploy containerized applications and run them on demand. It is based on the Kubernetes ecosystem.
    • Heroku, on the other hand, is a Platform-as-a-Service (PaaS) that provides an easy and intuitive way to deploy applications without the need to manage infrastructure. It supports various programming languages and frameworks.
  2. Scaling:

    • Google Cloud Run automatically scales the number of instances up or down based on the incoming request traffic. It allows both manual and automatic scaling and can handle high traffic loads.
    • Heroku provides an auto-scaling feature as well, but it is limited in terms of scalability compared to Google Cloud Run. Heroku dynos have certain memory and CPU limitations, which might not be sufficient for high traffic applications.
  3. Pricing Model:

    • Google Cloud Run follows a pay-as-you-go pricing model, where you are billed based on the number of requests and resource consumption of your application.
    • Heroku offers a freemium model with a limited set of resources for free, and you need to upgrade to a paid plan for additional resources and features.
  4. Libraries and Dependencies:

    • Google Cloud Run allows you to use any programming language or runtime as long as it is containerized. It provides flexibility in terms of language choice and allows developers to use different libraries and dependencies.
    • Heroku has a curated list of supported languages and runtimes. While it supports popular programming languages like Ruby, Node.js, and Python, it may limit your choice of libraries and dependencies.
  5. Integration with Cloud Services:

    • Google Cloud Run integrates well with other Google Cloud services like Cloud Storage, Cloud Firestore, Cloud Pub/Sub, and more. This allows seamless communication between different services and makes it easier to build scalable applications.
    • Heroku has a wide range of integrations available, including popular services like PostgreSQL, Redis, MongoDB, and more. It also supports add-ons that can be easily plugged into your application.
  6. Deployment Options and Control:

    • Google Cloud Run provides a more comprehensive set of deployment options, including revision rollbacks, traffic splitting, and canary deployments. It gives developers more control over the deployment process and allows them to have different versions of their application running simultaneously.
    • Heroku simplifies the deployment process by providing easy-to-use command-line tools and a web interface. However, it lacks some advanced deployment features like traffic splitting and canary deployments.

In summary, Google Cloud Run offers a serverless platform with powerful scaling capabilities, flexible language support, extensive integration with Google Cloud services, and advanced deployment options. Heroku, on the other hand, provides a user-friendly PaaS with a freemium model, a curated list of supported languages, and a wide range of integrations.

Decisions about Google Cloud Run and Heroku
Clifford Crerar
Software Engineer at Bidvest Advisory Services · | 9 upvotes · 66.1K views

Run cloud service containers instead of cloud-native services

  • Running containers means that your microservices are not "cooked" into a cloud provider's architecture.
  • Moving from one cloud to the next means that you simply spin up new instances of your containers in the new cloud using that cloud's container service.
  • Start redirecting your traffic to the new resources.
  • Turn off the containers in the cloud you migrated from.
See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Google Cloud Run
Pros of Heroku
  • 11
    HTTPS endpoints
  • 10
    Fully managed
  • 10
    Pay per use
  • 7
    Concurrency: multiple requests sent to each container
  • 7
    Deploy containers
  • 7
    Serverless
  • 6
    Custom domains with auto SSL
  • 4
    "Invoke IAM permission" to manage authentication
  • 0
    Cons
  • 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 Google Cloud Run
Cons of Heroku
    Be the first to leave a con
    • 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

    What is Google Cloud Run?

    A managed compute platform that enables you to run stateless containers that are invocable via HTTP requests. It's serverless by abstracting away all infrastructure management.

    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 Google Cloud Run?
    What companies use Heroku?
    See which teams inside your own company are using Google Cloud Run 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 Google Cloud Run?
    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
    3040
    GitHubPythonNode.js+47
    54
    72280
    GitHubPythonSlack+25
    7
    3148
    Jun 19 2015 at 6:37AM

    ReadMe.io

    JavaScriptGitHubNode.js+25
    12
    2344
    GitHubPythonDocker+24
    13
    17002
    What are some alternatives to Google Cloud Run and Heroku?
    AWS Lambda
    AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.
    Google App Engine
    Google has a reputation for highly reliable, high performance infrastructure. With App Engine you can take advantage of the 10 years of knowledge Google has in running massively scalable, performance driven systems. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow.
    AWS Fargate
    AWS Fargate is a technology for Amazon ECS and EKS* that allows you to run containers without having to manage servers or clusters. With AWS Fargate, you no longer have to provision, configure, and scale clusters of virtual machines to run containers.
    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.
    Serverless
    Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.
    See all alternatives