Introduction

Valkey is an open-source data store platform that can be used as a database, cache, and event streaming engine. It specifically focuses on serving requests with low latency; hence, it is designed to work in memory rather than on disk.

Although the disk is not used for its active operations, because of the volatile nature of the memory, it is used to persist the data in the event that it is not frequently used, but it requires long-term storage as it may be accessed later.

Valkey currently supports the following data types:

  • String


    It stores a sequence of bytes up to 512MB.

    Overview

  • List


    It stores list of strings by insertion order.

    Overview

  • Set


    It stores unordered collections of unique strings.

    Overview

  • Sorted Set


    It stores ordered collections of unique strings.

    Overview

  • Hash


    It stores collections of field-value pairs.

    Overview

  • HyperLogLog


    It stores the cardinality of a set.

    Overview

  • Bitmap


    It performs set of bitwise operations on strings.

    Overview

  • Geospatial


    It stores geographic coordinates and search for them.

    Overview

  • Stream


    It stores the data in the append-only log fashion.

    Overview

  • Pub/Sub


    It stores the data in publish-subscribe messaging pattern.

    Overview