abhijitWebDev

70 posts

abhijitWebDev

abhijitWebDev

@abhijitWebDev

Katılım Ekim 2024
208 Takip Edilen130 Takipçiler
abhijitWebDev retweetledi
Akash Kadlag
Akash Kadlag@yntpdotme·
@surajtwt_ इन्द्रियाणि पराण्याहुरिन्द्रियेभ्यः परं मनः। मनसस्तु परा बुद्धिर्यो बुद्धेः परतस्तु सः॥ 3.42 ॥ Senses are higher than body, mind is higher than senses, intelligence is higher than mind, & soul is higher than intelligence Order is, Spirituality → Health → Relationship → Money
5
8
65
921
Suraj Jha
Suraj Jha@surajtwt_·
How was the class guys? Drop your experience below⬇️
English
83
1
121
1.9K
abhijitWebDev
abhijitWebDev@abhijitWebDev·
Today's @ChaiCodeHQ Web Dev class: DOM Events Covers a lot of ground — • addEventListener vs onclick (hint: always use the first one) • Event bubbling & capturing — that true/false flag in addEventListener actually matters • stopPropagation() to control how far an event travels • Event delegation — one listener on the parent instead of N listeners on every child • preventDefault() for anchors, forms, etc. Ended with building a Kanban board using drag and drop entirely with DOM events. Event propagation is one of those things that looks weird at first, but explains half of your frontend bugs once you get it. Thank you @surajtwt_ sir for this amazing session. also thank you all the TA's @nirudhuuu @yntpdotme #JavaScript #WebDev #ChaiCode
abhijitWebDev tweet mediaabhijitWebDev tweet mediaabhijitWebDev tweet media
English
0
0
15
77
abhijitWebDev
abhijitWebDev@abhijitWebDev·
@_sakshi1305 गुढी पाडवा आशेची पालवी, सुखाचा मोहर समृद्धीची गुढी, समाधानाची गाडी नववर्षाच्या हार्दिक शुभेच्छा
MR
0
0
1
17
Sakshi Narkhede
Sakshi Narkhede@_sakshi1305·
Gudi Padwa, Ugadi, Chaitra Navratri 🙏🏻 New year, new beginnings Different traditions, same hope 😄 A chance to start fresh and do better. 🌸✨
Sakshi Narkhede tweet media
English
1
0
3
44
abhijitWebDev retweetledi
Mahipal
Mahipal@Mahipalsinh_·
Today’s class was about • Understood core concepts of distributed caching • Covered consistent hashing • Started interview-focused practice (read-through cache, designing distributed cache) • Explored tools like Redis, Memcached, Valkey • Learned eviction policies & LRU cache • Touched the basics of AWS, Hypervisor A solid step towards mastering scalable system design concepts. 🚀 Thanks to @Hiteshdotcom @piyushgarg_dev @yntpdotme @nirudhuuu @ChaiCodeHQ @surajtwt_ #chaicode #systemdesign #cohort
Mahipal tweet media
English
0
3
49
860
abhijitWebDev
abhijitWebDev@abhijitWebDev·
Just finished a system design session on Caching & Distributed Systems 🔥 — here's the full breakdown in a thread 🧵 1/ Why cache at all? If a computation takes 30-40s, you cache the result. Next time someone asks — it's instant. That's the entire idea. 2/ Redis vs Postgres Redis = RAM → blazing fast, limited size Postgres = Disk → slower, persistent, large Pick based on your use case — not hype. 3/ Cache HIT vs MISS HIT → serve from Redis ✅ MISS → fetch from DB → update Redis → serve This pattern = Read-Through Cache 4/ TTL is your best friend Set expiry on every cache key. 24hrs for slow-changing data. 5min for real-time data. No TTL = stale data forever 💀 5/ Eviction Policy: LRU When storage is full, kick out the Least Recently Used item. This is how Redis stays lean under pressure. 6/ Consistent Hashing 🔄 Distributed cache across 3+ nodes? Use a hash ring. hash(key) % n → determines the partition Add/remove a node? Only a fraction of keys move. Not all. 7/ Infrastructure ladder: Data Center → Hypervisor (Proxmox) → VMs → VPS → Cloud (AWS/Azure/GCP) More abstraction = less control but less headache. Thank you @piyushgarg_dev sir for the awesome session and we missed you today @Hiteshdotcom sir and thank you all the TA's @nirudhuuu @ChaiCodeHQ #SystemDesign #Redis #Caching #DistributedSystems #ChaiCode #BackendEngineering
abhijitWebDev tweet mediaabhijitWebDev tweet media
English
1
24
297
14.3K
abhijitWebDev
abhijitWebDev@abhijitWebDev·
Day-6 System Design Cohort Learned about CQRS today and it changed how I think about databases. Key learnings: → Never use the same model for reads & writes → Commands mutate state, Queries just fetch → Each side can have its own optimized DB → Sync via events (SNS, Kafka, etc.) → Tradeoff = eventual consistency (and that's fine) CQRS is not over-engineering. It's just good architecture. Thank you @Hiteshdotcom and @piyushgarg_dev sir for this amazing session. Also thank you TA's @nirudhuuu and @yntpdotme. @ChaiCodeHQ #SystemDesign
abhijitWebDev tweet mediaabhijitWebDev tweet mediaabhijitWebDev tweet media
English
0
1
44
874
abhijitWebDev
abhijitWebDev@abhijitWebDev·
Today: Express.js Middleware It confused me at first. Then it clicked — Middleware = just a function between request & response. It can: → Validate data → Log requests → Handle auth → Control API flow Wrote my first custom middleware today and the whole Express lifecycle finally made sense 🔥 Thank you @Hiteshdotcom and @piyushgarg_dev sir for the amazing session and also thanks to TA's @nirudhuuu @yntpdotme @surajtwt_ @ChaiCodeHQ
abhijitWebDev tweet mediaabhijitWebDev tweet mediaabhijitWebDev tweet mediaabhijitWebDev tweet media
English
0
0
16
76
abhijitWebDev
abhijitWebDev@abhijitWebDev·
Todays class summary. What happens when you run `node filename.js`? → Init → top-level code → event loop starts Loop phases: 1. Expired callbacks 2. I/O polling 3. setImmediate 4. Close callbacks Heavy tasks? Offloaded to a thread pool. That's Node internals in a nutshell 🔥 Thank you for the amazing session @Hiteshdotcom @piyushgarg_dev sir and also thanks to TA's @nirudhuuu @yntpdotme #NodeJS #JavaScript #Eventloop
abhijitWebDev tweet media
English
0
1
35
294
Janhvi Deshmukh
Janhvi Deshmukh@janhvi_1508·
Still can’t believe I am part of the React Native an exclusive cohort! Thank you @nirudhuuu Sir for this opportunity. Never imagined the tables would turn like this & I will be one of the 20 students. Feeling gratitude & blessed!! @Hiteshdotcom @piyushgarg_dev #chaicode
Janhvi Deshmukh tweet media
English
31
0
117
1.9K