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

  • Bitfield


    It stores integer values of arbitrary bit length.

    Overview

  • Geospatial


    It stores geographic coordinates and search for them.

    Overview

  • Stream


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

    Overview

  • JSON


    It stores JSON values.

    Overview

  • Time Series


    It stores time series data.

    Overview

  • Bloom Filter


    It checks for presence of an element in a set.

    Overview

  • Cuckoo Filter


    It checks for presence of an element in a set of buckets.

    Overview

  • Top-K


    It allows you to find the most frequent items in a data stream.

    Overview

  • T-Digest


    It allows you to estimate the percentile of a data stream.

    Overview

  • Count-min Sketch


    It estimates the frequency of an element in a data stream.

    Overview

  • Pub/Sub


    It stores the data in publish-subscribe messaging pattern.

    Overview