12.4K
2.6K
+ 1
370

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.
Varnish is a tool in the Web Cache category of a tech stack.
Varnish is an open source tool with 891 GitHub stars and 204 GitHub forks. Here’s a link to Varnish's open source repository on GitHub

Who uses Varnish?

Companies
9335 companies reportedly use Varnish in their tech stacks, including Pinterest, Udemy, and Twitch.

Developers
2999 developers on StackShare have stated that they use Varnish.

Varnish Integrations

Datadog, Netdata, SignalFx, Blackfire.io, and Section are some of the popular tools that integrate with Varnish. Here's a list of all 9 tools that integrate with Varnish.
Pros of Varnish
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
Decisions about Varnish

Here are some stack decisions, common use cases and reviews by companies and developers who chose Varnish in their tech stack.

Needs advice
on
MemcachedMemcached
and
VarnishVarnish

Existing configuration is like we have 100 local expensive Docker pod based decryptions (in=encrypted, out-=decrypted).

To reduce the load, 8 Varnish baremetals are used in between the client and the dockers. The varnish is dropping in performance if the connection count to it increases.'

-- the client C code is also integrated with Memcached for other types of data.

What would be my steps to compare Varnish vs Memcache?

  • TTL is 12 hours
  • qps is 500kqps across all varnish
  • connection count to each varnish server is 360000
  • size of data per query is 5k to 14k

thanks all!

See more

Blog Posts

May 6 2020 at 6:34AM

Pinterest

JavaScriptC++Varnish+6
5
3374

Varnish's Features

  • Powerful, feature-rich web cache
  • HTTP accelerator
  • Speed up the performance of your website and streaming services

Varnish Alternatives & Comparisons

What are some alternatives to Varnish?
NGINX
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
HAProxy
HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
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.
See all alternatives

Varnish's Followers
2562 developers follow Varnish to keep up with related blogs and decisions.