Mohak (@rushbeef04) header
Mohak (@rushbeef04) profile picture

reinventor of wheels

Kolkata, India
Joined March 2023
Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)Photo by Mohak (@rushbeef04)
Just shipped a video building Redis from first principles. No libs. Pure thinking: in-memory structures, multi-threaded workers, and zero duplicate message processing. How I actually reason about systems → youtu.be/VhcTWvrmiow #buildinpublic #Redis
8
11
402
TIL: - how to apply strategy pattern - implemented a question using strategy pattern - revised ML concepts because of exams - did some meets with the client over the new project we'll going to work in.
1
3
39
Can call it a day TIL: - what are implementation of ISP and DI - created a payment gateway LLD (refactor) - worked on the Google docs LLD - created a first version of docs LLD by myself - watched the rest of the video regarding it - did some system design for the work
1
1
5
98
DSA: - solved some questions in java - flood fill algorithm in java LLD: - revised SOL from SOLID DL: - started reading about CNN
2
63
Eventually have to lock in, better today than ever. I'm going to work on this series for this month. Let's see how much result I get
2
6
55
TIL: - worked on the xread function in the redis go - resp encoding in streams are still the hard part - learnt a little bit of java - did 2-3 dsa in java to get familiar in it
10
72
Doing Java cz I'll have to do LLD Trust me, It's my biggest hatelearn of this year
1
1
30
hard relate
college mein btech cse ke liye sales job ka offer aa raha hain..
2
44
built a voice agent that calls leads no answer -> retries. "call me tomorrow" -> books a callback a marketing team uses it every day now. hardest part was making it not sound like a robot
1
1
1
33
I'm pretty bored and along with pretty unproductive today so I just let it rest... fuck this day
2
3
60
TIL you can do BLPOP in go without polling every blocked client gets a chan in a waiters slice. RPUSH pops the oldest and sends the value into it channels are kinda goated
2
37
Big step forward for me at least, - was working on redis using go - finally after nearly 2 weeks I solved the auto generating id feature in streams - created the command "xrange" - was working on "xread" now but it's half ass The whole day I was working on it, ahh it feels good
2
11
100
built a coding agent in cpp. yes cpp. 9 tools, up to 8 tool-calling rounds, asks y/n before anything risky, streams over sse cpp is still the worst language but it works
2
38
been building redis from scratch in go. started with codecrafters, now its my own multi-threaded version stuff that surprised me:
1
4
100
lists were easy. streams are not. ids must always go up and i keep rewriting the id generator
1
5
Just opened X
2
5
124
wrote a redis-compatible server in go. one dependency (quicklist for lists), everything else is stdlib net, sync, time. go's stdlib is kinda unfair
1
7
139