Software Alternatives, Accelerators & Startups

Heroku VS HHVM

Compare Heroku VS HHVM and see what are their differences

Heroku logo Heroku

Agile deployment platform for Ruby, Node.js, Clojure, Java, Python, and Scala. Setup takes only minutes and deploys are instant through git. Leave tedious server maintenance to Heroku and focus on your code.

HHVM logo HHVM

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP.
  • Heroku Landing page
    Landing page //
    2023-10-05
  • HHVM Landing page
    Landing page //
    2022-03-13

Heroku features and specs

  • Ease of Use
    Heroku offers an extremely user-friendly interface and a high level of abstraction, making it easy for developers to deploy, manage, and scale applications without worrying about the underlying infrastructure.
  • Quick Deployment
    One of Heroku’s strongest points is the ability to deploy applications quickly using Git. Developers can push their code to Heroku with a simple command, streamlining the entire process.
  • Scalability
    Heroku provides effortless scaling options by allowing developers to add more dynos (containers) with a single command to handle increased traffic and workload.
  • Add-Ons Ecosystem
    Heroku offers a rich ecosystem of add-ons, such as databases, caching, monitoring, and more, which can be easily integrated into applications to extend their functionality.
  • Automatic Updates
    Heroku automatically handles operating system and server updates, allowing developers to focus solely on their application code rather than maintenance tasks.
  • Free Tier
    Heroku offers a free tier with sufficient resources to host small projects and learn the platform without incurring costs, making it accessible for beginners and small-scale applications.

Possible disadvantages of Heroku

  • Cost
    While Heroku offers a free tier, the costs can quickly add up for larger applications and professional use. Paid plans and additional dynos or add-ons can become expensive.
  • Performance
    Heroku’s performance can sometimes be suboptimal compared to other cloud providers, particularly when running high-performance or resource-intensive applications.
  • Limited Control
    Heroku abstracts away a lot of infrastructure management, which can be a downside for developers who need fine-grained control over their environments and configurations.
  • Dyno Sleeping
    Applications running on Heroku’s free tier experience 'dyno sleeping,' where the application goes to sleep after 30 minutes of inactivity, causing a delay when it wakes up after receiving a new request.
  • Vendor Lock-In
    Relying heavily on Heroku’s ecosystem and platform-specific features can lead to vendor lock-in, making it challenging to migrate to another platform if needed.
  • Add-On Costs
    The costs for add-ons can also become significant, as many useful features and integrations require paid add-ons, increasing the overall expense.

HHVM features and specs

  • Performance
    HHVM uses Just-In-Time (JIT) compilation to convert PHP code into machine code, which can significantly improve execution speed compared to traditional PHP interpreters.
  • Hack Language Support
    HHVM supports the Hack programming language, which offers additional features like static type checking, generics, and asynchronous code execution, allowing developers to write safer and more efficient code.
  • Scalability
    HHVM is designed to handle high-traffic environments, making it suitable for large-scale applications and websites with high concurrency demands.
  • Open Source
    HHVM is open-source software, allowing developers to contribute to its development and benefit from community-driven improvements and support.

Possible disadvantages of HHVM

  • Compatibility
    HHVM is not fully compatible with all PHP extensions and libraries. This can create issues when migrating existing PHP applications to HHVM, requiring additional refactoring.
  • Resource Intensive
    HHVM can consume more memory and CPU resources than traditional PHP interpreters, which might be a concern for applications running on limited hardware.
  • Linux Focused
    HHVM primarily supports Linux-based systems. While there is some support for other operating systems, it may not be as robust, limiting its use in heterogeneous environments.
  • Evolving Technology
    HHVM and the Hack language are continuously evolving, which can lead to breaking changes and the need to keep development teams updated with the latest features and fixes.

Analysis of Heroku

Overall verdict

  • Heroku is a solid choice for developers seeking a straightforward, cloud-based solution for deploying and managing applications. However, it may not be the most cost-effective option for large-scale or data-intensive applications.

Why this product is good

  • Heroku is a popular platform as a service (PaaS) due to its ease of use, fast deployment process, and robust support for multiple programming languages. It allows developers to focus on building applications without worrying about the underlying infrastructure. Heroku offers scaling capabilities, a wide variety of add-ons, and a strong developer community.

Recommended for

    Heroku is recommended for startups, small to medium-sized applications, hobby projects, and developers who value ease of use and quick deployment cycles. It is particularly suited for those who are developing web applications in languages such as Ruby, Node.js, Python, and others supported by the platform.

Analysis of HHVM

Overall verdict

  • In recent years, HHVM has shifted focus more towards supporting Hack rather than full PHP compatibility. While it was once a popular option for running PHP applications efficiently, many projects now recommend sticking to PHP 7.x or later, which has seen significant performance improvements. Therefore, HHVM is considered good if you're specifically using Hack, but might not be the best choice for standard PHP applications.

Why this product is good

  • HHVM (HipHop Virtual Machine) was originally developed by Facebook to provide improved performance for PHP applications. It offers features like a just-in-time (JIT) compiler and compatibility with Hack, Facebook's PHP dialect. It has been praised for enhancing the speed of PHP execution, particularly for large-scale applications.

Recommended for

    HHVM is recommended for organizations or projects that primarily use Hack or have legacy systems built around it. It can also be beneficial for enterprises looking to leverage its performance benefits in a Hack environment. However, for new projects or those focused solely on PHP, sticking with the latest PHP versions is advisable.

Heroku videos

What is Heroku | Ask a Dev Episode 14

More videos:

HHVM videos

HHVM GLIMPSE MEME REVIEW||HARI HARA VEERA MALLU MEME REVIEW||POWER STAR..!

More videos:

  • Review - HHVM Performance Status - Hack Dev Day
  • Review - Scaling PHP-based Development with HHVM and Hack

Category Popularity

0-100% (relative to Heroku and HHVM)
Cloud Computing
100 100%
0% 0
DevOps Tools
0 0%
100% 100
Cloud Hosting
100 100%
0% 0
Continuous Integration And Delivery

User comments

Share your experience with using Heroku and HHVM. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Heroku and HHVM

Heroku Reviews

  1. mark-mercer
    Useful Cloud Platform

    Great service to build, run and manage applications entirely in the cloud!

    🏁 Competitors: Amazon AWS, Dokku on Digital Ocean, Firebase
    👍 Pros:    Easy user interface|Good customer service|Multi-language cloud application platform
    👎 Cons:    Limitation with some addons|Low network performance
  2. jamestelford
    · Full Stack Developer at OutDev ·
    🏁 Competitors: Docker, Amazon AWS
    👍 Pros:    Powerful development environments|Great value for the money|Great customer support|Paas

10 Top Firebase Alternatives to Ignite Your Development in 2024
Heroku’s focus on simplicity and developer experience makes it a perfect fit for those who want to focus on building their apps, not babysitting servers. Startups and small businesses, in particular, can benefit from Heroku’s ability to accelerate development and deployment, allowing them to get their ideas to market faster.
Source: genezio.com
2023 Firebase Alternatives: Top 10 Open-Source & Free
Heroku Postgres – Majority of businesses like Heroku because of its SQL database support. Yes, PostgreSQL as a service is an appealing product of this PaaS vendor with quick deployment approaches.
5 Free Heroku Alternatives with Free Plan for Developers
Koyeb is a decent alternative to Heroku that you can consider for hosting or deploying your web apps and APIs. It has all the features of Heroku that you will need for your projects. So far, I have not encountered an importer tool for migrating Heroku deployments but I am sure doing that manually will not be that hard. Just like Heroku it offers you an intuitive web UI as...
Choosing the best Next.js hosting platform
However, there are a few disadvantages to Heroku. First of all, despite its build pack, Heroku will run your project as a Node.js application. As a result, you will lose some of Next.js’ most interesting features, such as Incremental Static Regeneration. Analytics are replaced by metrics and measured throughput, response time, and memory usage (only on paid plans).
Top 10 Netlify Alternatives
Heroku is another alternative to Netlify that doesn’t only host static websites but has the ability to host dynamic websites. This PaaS platform was launched in 2007 and conferred highly scalable features to deploy, host and launch applications.

HHVM Reviews

We have no reviews of HHVM yet.
Be the first one to post

Social recommendations and mentions

Based on our record, Heroku seems to be a lot more popular than HHVM. While we know about 73 links to Heroku, we've tracked only 6 mentions of HHVM. 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.

Heroku mentions (73)

  • How to deploy your web application? 3 different approaches to consider (+1 bonus)
    Providers include Digital Ocean, Heroku or Render for example. - Source: dev.to / 8 months ago
  • Heroku Reviews Apps prevent delivering bugs on production
    Review Apps run the code in any GitHub PR in a complete, disposable Heroku application. Review Apps each have a unique URL you can share. It’s then super easy for anyone to try the new code. - Source: dev.to / 12 months ago
  • How to keep an HTTP connection alive for 9 hours
    The app is deployed to Heroku and when it came time to switch the mode to email-on-account-creation mode, it was a very simple environment change:. - Source: dev.to / over 1 year ago
  • How to Process Scheduled Queue Jobs in Node.js with BullMQ and Redis on Heroku
    Heroku is a cloud platform that makes it easy to deploy and scale web applications. It provides a number of features that make it ideal for deploying background job applications, including:. - Source: dev.to / almost 2 years ago
  • I made a Bot.. How do I use it?
    Once you've created it you can host it locally (this means leaving the program running on your computer) or host it through a service online. I haven't personally tried this yet, but I believe you can use a site like heroku.com or other similar services. Source: almost 2 years ago
View more

HHVM mentions (6)

  • THT v0.8.1 – A modern re-design of PHP
    $hayStack.contains('needle') This looks more or less like a new language ? It must be amazing amount of time and energy to rewrite PHP in to this. I don't see the benefits. I understand the Facebook's HHVM had some. (https://hhvm.com/) Or Swoole (https://openswoole.com/) has it. But I'm not clear of THT (also typical apple vs oranges benchamrkTM included). 2cents. - Source: Hacker News / 7 months ago
  • I know that's the name of the language, I'm asking about the first P
    PHP is nearly as old as the web. Change the conversation and say: I use Hack on the Hip Hop Virtual Machine. Source: about 3 years ago
  • Nvidia is now worth more than Meta
    Meta has created/maintains ReactJS, Zstandard, IO_Uring, PyTorch, HHVM, is a member of Rust foundation, and that's only the things I know about. They've literally made the Web and Linux better and faster. Source: over 3 years ago
  • does a php-like Typescript exist?
    Have you looked into Hacklang / HHVM at all. Source: over 3 years ago
  • A brief history of Rust at Facebook
    If you ever need to work with PHP, use PHP/Hack developed by Facebook: https://hacklang.org/ It's a compiled language built partially in Rust, being rewritten entirely in Rust, JIT compiled using HHVM: https://hhvm.com/ I don't believe it's compatible with existing PHP codebases, but you could probably convert one over in a straightforward way, catching safety issues while you did it. Hack a modern and highly... - Source: Hacker News / about 4 years ago
View more

What are some alternatives?

When comparing Heroku and HHVM, you can also consider the following products

DigitalOcean - Simplifying cloud hosting. Deploy an SSD cloud server in 55 seconds.

Puppet Enterprise - Get started with Puppet Enterprise, or upgrade or expand.

Linode - We make it simple to develop, deploy, and scale cloud infrastructure at the best price-to-performance ratio in the market.

Packer - Packer is an open-source software for creating identical machine images from a single source configuration.

Amazon AWS - Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Free to join, pay only for what you use.

Terraform - Tool for building, changing, and versioning infrastructure safely and efficiently.