r/developersIndia • u/GodCrampy Software Engineer • Feb 04 '24
I Made This I built FireflyDB, a fast key-value storage engine.
Hello! I've been fascinated by storage engines and database internals recently. I spent the last few weekends writing my own key-value storage engine. FireflyDB is a fast, thread-safe, JVM-based key-value storage engine with microsecond latency. It's an order of magnitude faster than Bitcask, an equivalent popular piece of software with similar architecture.
This is my first mature project after starting to work full-time. Feedback is much appreciated :)
91
Upvotes
•
u/AutoModerator Feb 04 '24
Recent Announcements
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
17
u/arav Site Reliability Engineer Feb 05 '24
On Friday I got an assignment me to look for a new kv engine to replace our age old redis infra. Might give this a try. How much ops it can push/second?
8
u/SlightTumbleweed Feb 05 '24
This looks very promising. Can you please add a short note describing how exactly does it work?
3
u/TheBenevolentTitan Software Engineer Feb 05 '24
Nice! I'm building something similar although mine is a persistent LSM tree based.
So is this a like a library or a separate process?
3
u/[deleted] Feb 05 '24
Great work OP! Love to see people in this community building these awesome super cool stuff 💕
2
u/the-iter8 Feb 05 '24
Great one, op. Kudos to you.
However, I want to ask is there a specific reason behind making this? What was the motivation?
Please be honest and straight.
3
u/Beginning-Ladder6224 Feb 05 '24
Nice, nice!
2
u/Agent_SS_Athreya ML Engineer Feb 05 '24
Nice one! Shameless plug for the KV store and other similar things i wrote for python https://github.com/notAI-tech/LiteIndex