Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
/redisPublic archive

Repository files navigation

@fedify/redis: Redis drivers for Fedify

Important

This repository is obsolete and has been archived in favor of the monorepo fedify-dev/fedify.

JSRnpmGitHub Actions

This package provides Fedify's KvStore and MessageQueue implementations for Redis:

import{createFederation}from"@fedify/fedify";import{RedisKvStore,RedisMessageQueue}from"@fedify/redis";import{Redis}from"ioredis";constfederation=createFederation({kv: newRedisKvStore(newRedis()),queue: newRedisMessageQueue(()=>newRedis()),});

Installation

Deno

deno add @fedify/redis

Node.js

npm install @fedify/redis

Bun

bun add @fedify/redis

Changelog

Version 0.5.0

To be released.

Version 0.4.0

Released on March 28, 2025.

  • Added RedisMessageQueue.enqueueMany() method for efficiently enqueueing multiple messages in a single transaction.

  • Updated @js-temporal/polyfill to 0.5.0 for Node.js and Bun. On Deno, there is no change because the polyfill is not used.

Version 0.3.0

Released on October 4, 2024.

  • Polling is now more efficient.
  • Renamed RedisMessageQueueOptions.loopInterval option to pollInterval option.

Version 0.2.0

Released on September 26, 2024.

  • Let RedisMessageQueue follow up the latest MessageQueue interface, which was updated in Fedify 1.0.0.
  • Added some example code.

Version 0.1.1

Released on June 22, 2024.

  • Exported @fedify/redis/mq module.

Version 0.1.0

Initial release. Released on June 22, 2024.

About

Redis drivers for Fedify

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages