Implementing Consistent Hashing with HashBrown

If you’ve read any of my other articles, you’ll know that I created SwapCacheDb, a Database written in typescript. As the project matured, I realized I wanted to implement a solution to horizontally scale out to multiple hosts to acheive (potentially) higher throughout and distribute storage to multiple instances. After all, one of the biggest … Read more

Implementing Multithreading in SwapCacheDb

Hey all, in this post I will be going through the design I implemented to reduce blocking behavior in SwapCacheDb queries by introducing multithreading using Quirk. Introduction If you’ve taken a look at my My Journey Building a NoSql Database in Typescript post your probably aware of some blocking behavior in SwapCacheDb that lead to … Read more

My Journey Building a NoSql Database in Typescript

Introduction So I’ve been working on this database I wrote in nodejs that I started almost 4 years ago as a side project. I’m sure your first thought is “Why would you ever do that?”, and to that I say, I wanted to. This project, like many of my others, was just experiment and learning … Read more