kitsune-soc / kitsune

🦊 (fast) ActivityPub-federated microblogging
https://joinkitsune.org
Other
299 stars 19 forks source link

Replace `redis-rs` with `fred` #534

Closed aumetra closed 4 months ago

aumetra commented 4 months ago

It's less complex, has less feature flags, and features integrated pooling (which allows us to get rid of multiplex-pool), and has a simple interface for clustering.

Seems like an all-round upgrade. And also fred is built only for tokio, meaning it features less kinda awkward abstractions that try to support multiple runtimes.

Ref: https://docs.rs/fred/latest/fred/