DEV Community

Ashesh Vidyut
Ashesh Vidyut

Posted on

Treds - Fastest Prefix Seach Server

Hey Folks,

Have you ever had a use case where you need to store a large number of keys in memory and query all keys that share a common prefix in sorted order? For example, suppose you need to store many URLs and query all URLs that have a common prefix (domain) in sorted order real fast.

For such a use case, I have built Treds.

I benchmarked it against Redis Scan and the Redis Search Module, and it proved to be the fastest for prefix iteration. See details in Github Repo

It is integrated with Raft, which provides distributed consensus, ensuring data consistency and fault tolerance across multiple nodes. This integration facilitates high availability and reliability, making Treds robust in handling node failures.

I would love to hear your thoughts and feedback!

Best regards

Top comments (0)