Redis vs Varnish

Redis

30.3K
20.9K
+ 1
3.8K
Varnish

10.8K
1.4K
+ 1
358
Add tool

Redis vs Varnish: What are the differences?

Redis: An in-memory database that persists on disk. Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets; Varnish: 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.

Redis can be classified as a tool in the "In-Memory Databases" category, while Varnish is grouped under "Web Cache".

"Performance", "Super fast" and "Ease of use " are the key factors why developers consider Redis; whereas "High-performance", "Very Fast" and "Very Stable" are the primary reasons why Varnish is favored.

Redis and Varnish are both open source tools. It seems that Redis with 37.4K GitHub stars and 14.4K forks on GitHub has more adoption than Varnish with 908 GitHub stars and 216 GitHub forks.

According to the StackShare community, Redis has a broader approval, being mentioned in 3265 company stacks & 1789 developers stacks; compared to Varnish, which is listed in 1006 company stacks and 140 developer stacks.

Pros of Redis
Pros of Varnish

Sign up to add or upvote prosMake informed product decisions

Cons of Redis
Cons of Varnish
    No cons available

    Sign up to add or upvote consMake informed product decisions

    What is Redis?

    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

    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.
    What companies use Redis?
    What companies use Varnish?

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

    What tools integrate with Redis?
    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
    https://img.stackshare.io/stack/637945/default_422005e66f7e4963dbcd1f37cfb90fb3d562758a.png logo

    Pinterest

    2
    1373
    Nov 20, 2019 at 3:38AM
    https://img.stackshare.io/stack/517248/default_4bf5f3d2d3ef627f563fd3b2e94dee6cc37a38d6.jpg logo

    OneSignal

    7
    3440
    Jun 6, 2019 at 5:11PM
    https://img.stackshare.io/stack/372376/default_573a26a621134fbcbde85e58b2c8544189ae0fba.jpg logo

    AppSignal

    14
    982
    30
    25508
    What are some alternatives to Redis and Varnish?
    Memcached
    Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    RabbitMQ
    RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
    Hazelcast
    With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
    Cassandra
    Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
    See all alternatives
    Interest over time