HHVM (HipHop Virtual Machine) vs Varnish

Get Advice Icon

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

HHVM (HipHop Virtual Machine)

145
135
+ 1
95
Varnish

12.5K
2.6K
+ 1
370
Add tool

HHVM (HipHop Virtual Machine) vs Varnish: What are the differences?

Developers describe HHVM (HipHop Virtual Machine) as "An open-source virtual machine designed for executing programs written in Hack and PHP". HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC. On the other hand, Varnish is detailed as "High-performance HTTP accelerator". Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

HHVM (HipHop Virtual Machine) and Varnish are primarily classified as "Virtual Machine" and "Web Cache" tools respectively.

"Very fast" is the primary reason why developers consider HHVM (HipHop Virtual Machine) over the competitors, whereas "High-performance" was stated as the key factor in picking Varnish.

HHVM (HipHop Virtual Machine) and Varnish are both open source tools. It seems that HHVM (HipHop Virtual Machine) with 16K GitHub stars and 2.85K forks on GitHub has more adoption than Varnish with 908 GitHub stars and 216 GitHub forks.

According to the StackShare community, Varnish has a broader approval, being mentioned in 1003 company stacks & 135 developers stacks; compared to HHVM (HipHop Virtual Machine), which is listed in 33 company stacks and 19 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of HHVM (HipHop Virtual Machine)
Pros of Varnish
  • 30
    Very fast
  • 24
    Drop-in PHP replacement
  • 14
    Works well with nginx
  • 14
    Backed by Facebook
  • 12
    Open source
  • 1
    Statically checked, typed language
  • 104
    High-performance
  • 67
    Very Fast
  • 57
    Very Stable
  • 44
    Very Robust
  • 37
    HTTP reverse proxy
  • 21
    Open Source
  • 18
    Web application accelerator
  • 11
    Easy to config
  • 5
    Widely Used
  • 4
    Great community
  • 2
    Essential software for HTTP

Sign up to add or upvote prosMake informed product decisions

1.2K
1.9K
531
1.3K
1.7K
2.1K

What is HHVM (HipHop Virtual Machine)?

HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC.

What is Varnish?

Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

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

What companies use HHVM (HipHop Virtual Machine)?
What companies use Varnish?
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 HHVM (HipHop Virtual Machine)?
What tools integrate with Varnish?

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

Blog Posts

May 6 2020 at 6:34AM

Pinterest

JavaScriptC++Varnish+6
5
3523
What are some alternatives to HHVM (HipHop Virtual Machine) and Varnish?
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
npm
npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
See all alternatives