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
409
TIL: - factory method - singleton pattern - using double null check method to make singleton pattern thread safe - don't know about multithreading much in java will focus on that sidewise. - will start revising old DSA concepts again - did some meeting to get everything clear
1
1
9
98
Git wrapped this year
1
6
81
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
45
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
104
DSA: - solved some questions in java - flood fill algorithm in java LLD: - revised SOL from SOLID DL: - started reading about CNN
2
65
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
59
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
73
Doing Java cz I'll have to do LLD Trust me, It's my biggest hatelearn of this year
1
1
31
hard relate
college mein btech cse ke liye sales job ka offer aa raha hain..
2
45
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
35
I'm pretty bored and along with pretty unproductive today so I just let it rest... fuck this day
2
3
61
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
38
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
102
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
39
been building redis from scratch in go. started with codecrafters, now its my own multi-threaded version stuff that surprised me:
1
4
101
lists were easy. streams are not. ids must always go up and i keep rewriting the id generator
1
5