Backend Dev | I write on System Design, AI & Open Source | Medium: avrl.medium.com

Joined November 2024
556 Photos and videos
Pinned Tweet

17
11
117
14,358
Step-1: Learn Go Step-2: Master structs, interfaces & pointers Step-3: Learn goroutines & channels Step-4: Build an HTTP server with std-lib Step-5: Read the Go runtime & standard library source. Embrace humility Step-6: Build a production-grade backend (REST/gRPC, DB, caching, etc) Step-7: Make it load-bearing Step-8: Learn profiling & optimization (pprof, trace, benchmarks) Step-9: deploy with Docker (& K8s) Step-10: Ship it
5
19
533
avrl ☘ retweeted
Day 10 of Implementing Raft in Go. Almost done with log replication. Any new log entry first applies the leader log, sent to all followers & if majority of them say they applied it too, its committed to the leader's state machine (DB/Store) Its a lot of back & forth b/w nodes.
21
2
106
2,811
avrl ☘ retweeted
It's over for me, back to being a caveman for the rest of the month!
10
1
23
735
avrl ☘ retweeted
Assembly is still a high level language.
9
2
21
3,109
avrl ☘ retweeted
this c code looks harmless on first glance but mimics one the most famous & dangerous bugs in OpenSSL. It's not your typical buffer overflow exploit but much worse in reality. can you tell why is it so?
30
21
292
41,736
this c code looks harmless on first glance but mimics one the most famous & dangerous bugs in OpenSSL. It's not your typical buffer overflow exploit but much worse in reality. can you tell why is it so?
30
21
292
41,736
this was the real snippet where the issue was in OpenSSL. Millions of devices were compromised at once & it was a wakeup call to fund & maintain open-source properly.
2
10
5,181
I interviewed for a tech firm last year. Everything was going fine, cleared the OA, one DSA & two system design rounds. Before my final round, the recruiter tells me the HM wants someone from IITs/NITs. This type of stuff should get people fired!
17
2
93
5,594
Anyone else had such weird interview experiences? Would love to hear in the comments or quotes
1
3
505
avrl ☘ retweeted
I interviewed for a tech firm last year. Everything was going fine, cleared the OA, one DSA & two system design rounds. Before my final round, the recruiter tells me the HM wants someone from IITs/NITs. This type of stuff should get people fired!
17
2
93
5,594
avrl ☘ retweeted
Day 9 of learning/implementing Raft in Go Log replication is underway, its pretty complicated with the states you need to maintain. There are 2 states, persisted & volatile, former holds the log & its metadata & latter stores the leader's info about each of the followers log states which gets reinit on new election. Next up: replace in-memory to db store.
25
1
129
6,324
Day 9 of learning/implementing Raft in Go Log replication is underway, its pretty complicated with the states you need to maintain. There are 2 states, persisted & volatile, former holds the log & its metadata & latter stores the leader's info about each of the followers log states which gets reinit on new election. Next up: replace in-memory to db store.
25
1
129
6,324
paper for anyone to refer:raft.github.io/raft.pdf

2
344
avrl ☘ retweeted
I have a workaholic friend who really did long hours to build some leverage in his first job. In his performance review, manager told him he'll be up for a promotion if he keeps it up. So he worked even longer hours & harder. He was laid off a month later.
18
2
59
3,936
Its so sad that PrimeAgen won't see this prediction of mine which matched his 2nd prediction on his latest yt video. (He blocked me long back for spamming) Can you guys tag/send this to him?
Its not far off in the future when companies will mention your annual token budget in your offer letters & devs will negotiate based on that too.
4
12
789