Dhirendra

3.9K posts

Dhirendra banner
Dhirendra

Dhirendra

@cmd_dj221

Senior Backend Engineer | Distributed systems | blogs-https://t.co/QFMg6IdCL6 | git :- https://t.co/6LeqGd6Hm6

Katılım Nisan 2025
233 Takip Edilen564 Takipçiler
Dhirendra retweetledi
Dhirendra
Dhirendra@cmd_dj221·
Got some time after office, spent ~1.5 hrs pushing TTL Cache forward. TTL Cache continuation: Added interactive CLI to test in real-time Currently Supports: • Set • Get • Show Example: set user1 "data" 60 get user1 Next: heap-based expiry + background cleanup
Dhirendra tweet media
Dhirendra@cmd_dj221

TTL Cache Continuation :- • Get() Done • TTL eviction via lazy expiration • LRU eviction using Go’s container/list Next: • Active/background expiration • Min-heap for efficient expiry tracking One more step toward understanding what’s really happening behind the scenes

English
5
1
11
104
Devster☄️
Devster☄️@devsterxyz·
Do you guys know about halting problem?? not even the most powerfull supercomputer will be able to solve this It says there is no universal program that can look at any other program and always correctly tell whether that program will stop someday or run forever.
English
4
0
9
108
Dhirendra
Dhirendra@cmd_dj221·
@JaxaMacSharma Well basics always matters in long run, honestly it's easy to get overwhelmed doing such projects so I can understand but we have to push ourselves everytime to get going
English
0
0
1
4
Ayush Sharma
Ayush Sharma@JaxaMacSharma·
@cmd_dj221 Interesting,While doing such projects I tend to get overwhelmed thinking why the hell I am doing this when all the world is moving fast. Here you are easily sitting with those basics,guess experience gives a push
English
1
0
1
9
Dhirendra retweetledi
Dhirendra
Dhirendra@cmd_dj221·
TTL Cache Continuation :- • Get() Done • TTL eviction via lazy expiration • LRU eviction using Go’s container/list Next: • Active/background expiration • Min-heap for efficient expiry tracking One more step toward understanding what’s really happening behind the scenes
Dhirendra tweet mediaDhirendra tweet media
Dhirendra@cmd_dj221

Building a basic in-memory TTL cache in Go(a hybrid: LRU + TTL combined) Using LRU (map + container/list) for eviction Set() implemented, next: expiry logic + Get() Not building the next Redis, just trying to understand what gooes under the hood.

English
10
6
32
559
Dhirendra
Dhirendra@cmd_dj221·
@_jaydeepkarale I still believe in thinking before coding and not to outsource your thinking 🧐
English
0
0
0
7
Jaydeep
Jaydeep@_jaydeepkarale·
What are your thoughts on this ? Have you completely outsourced your thinking or you are like me who still does the thinking before coding ?
Jaydeep tweet media
English
12
0
26
1.4K
Dhirendra
Dhirendra@cmd_dj221·
@Rushu_Tushu Ek bar ka bhi moka nhi mil rha hai sirji yaha
हिन्दी
0
0
0
9
SUPERBRO
SUPERBRO@Rushu_Tushu·
Agreed. Full propaganda movie with multiple unnecessary Modi cameos and constant jabs at the previous government. Clearly, the entire film exists only to push an agenda and nothing else. Anyways, can't wait to watch it for the 2nd time again tomorrow 🥳
SUPERBRO tweet media
Dhruv Rathee@dhruv_rathee

I called Aditya Dhar a BJP propagandist 3 months ago. Now everyone will see it. It was subtle in the previous film, but he went so blatant this time in overconfidence. Remember how I said, well-made propaganda is more dangerous? Ab toh well-made bhi nahi raha. Lol

English
12
0
51
984
parthak ✧
parthak ✧@Parthak32315·
Pehli bar college jaldi pauch gaya 🥲🤌🏻
Eesti
2
0
15
157
Vedant Reddy
Vedant Reddy@Reddy__253·
@cmd_dj221 Ye log School mein pratigya hoti thi use bhi bhul jate hai kya😔😔
हिन्दी
1
0
1
11
Dhirendra retweetledi
Vedant Reddy
Vedant Reddy@Reddy__253·
Rape is worst than death in war. For those who were saying india is safe during war. It's better to die in blast than getting raped. This is the reason why most people leave India. You don't need outside danger when your own people are Dangerous. Protect girls around you.
Voice of Hindus@Voiceofhindus

These screams must reach to the ears of @myogiadityanath, A class 5th girl was raped and buried in Kanpur Criminals are roaming free, retweet until it reaches to Yogi ji 🙏🏻

English
3
3
21
672
Dhirendra
Dhirendra@cmd_dj221·
@neuroquark the moment u start rebuilding yourself that where the change starts
English
1
0
1
16
Neuroquark
Neuroquark@neuroquark·
The beautiful thing about life breaking you down to your absolute core is the realization that you are no longer bound by the old versions of yourself. You finally get to rebuild on your own terms
English
3
0
17
94
Dhirendra
Dhirendra@cmd_dj221·
@the_rishji acha topic hai padho and try karo redis k sath implement karneka instead of creating your own since apko quick delivery deni hai so
English
1
0
1
5
Devster☄️
Devster☄️@devsterxyz·
@cmd_dj221 You know it's cool when dhirendra sirji calls it cool 🙌🙌 Thank you so much sirji
English
1
0
1
15
Dhirendra
Dhirendra@cmd_dj221·
@the_rishji ek number sirji, implement karo and yaha bhi share karo, mene toh just learning purpose bana rha hu
Filipino
1
0
2
15
The Silent Observer
The Silent Observer@the_rishji·
@cmd_dj221 Aaj hi mjhe long term memory m TTL dalne ko bola h , 30 days bad sab delete hona chiye. Aur aaj hi apne bhi post kar diya
हिन्दी
1
0
2
27