Back to Explore

invertase/cluster-key-slot

GitHub
1 watchersOpen source

Last release:

A Node-focused Redis key slot calculator that generates CRC hashes for strings so Redis cluster clients can determine which key slot a key maps to. It supports Redis key tags like `somekey{actualTag}` and can calculate slots for multiple keys (including returning a single slot number when they share the same base).

Project status

  • The repository is likely not actively maintained, it is marked as archived upstream, with the last upstream push on 2022-11-01 and only minor changes since then (v1.1.2 mainly adds TypeScript type declarations and package metadata).
  • Update cadence appears very slow, the visible published updates are v1.1.2 in 2022, then v1.1.0 in 2019, and v1.0.12 in 2018, indicating no regular cadence and long gaps.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.1.2

    The v1.1.2 release has no published release notes. The code diff shows this version mainly adds TypeScript type declarations for the package and updates package metadata.

    Features
  • v1.1.0

    v1.1.0 adds support for providing binary keys (Buffer) when generating Redis Cluster key slots. The implementation changes the core slot hash generation to accept non-string inputs as already-encoded byte data, and updates tests and documentation to cover Buffer usage. No other functional areas are visibly modified in the provided diff.

    Features
  • v1.0.12

    Release v1.0.12 was published on 2018-05-24. No release notes were provided by the publisher, so the changes in this version cannot be determined from the supplied data.