Company
Date Published
Author
Armin Ronacher
Word count
1072
Language
English
Hacker News points
None

Summary

The Redis parallelization toolkit, initially using Nydus, was replaced by a new library called rb (Redis Blaster) due to performance issues with threading in the previous implementation. The new approach uses a select loop for parallel query execution and eliminates locking, resulting in higher performance. Additionally, the routing layer was improved to support correct behavior and prevent potentially bad uses of Nydus in codebases. The new library offers a simplified API with explicit promise objects, making it easier to reason about and reducing errors. rb is available under the Apache 2 License and has shown noticeable impact on performance, even for less operation-intensive endpoints.