abhijitWebDev (@abhijitWebDev) profile picture
Joined October 2024
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
1
23
1
293
15,116
Completed Javascript 15 days challenges, and stayed consistent for 15 days-> lots of learning and amazing experience. Thank you, @Hiteshdotcom sir and @ChaiCodeHQ , for bringing this challenge and looking for more.
2
17
247
Finished Linux On Call labs from Chaicode Labs. It was an amazing experience with challenging tasks. Thank you, @Hiteshdotcom sir, for this amazing experience.
1
25
493
Enjoying labs, having fun and learning in the process. Though my trial will expire tomorrow, waiting for pricing, so that I can subscribe also. So that I can continue learning and practising further. Again, thank you @Hiteshdotcom sir and @ChaiCodeHQ for these amazing labs.
1
11
430
Thank you, @ChaiCodeHQ @Hiteshdotcom sir, for the early access. Excited to get started. The chapters and the tasks all look awesome and are great for learning and building.
2
12
500
RAG doesn't kill hallucinations โ€” it just moves where they happen. Poor retrieval, bad chunking, context limits, stale knowledge bases can all quietly break a RAG pipeline. Wrote up where RAG actually fails (and when to skip it): blogs.abhijitmone.com/where-โ€ฆ @ChaiCodeHQ #GenAI #RAG #LLM
2
6
111
Ever tried listing every skill installed across your Claude Code / Cursor / Copilot setup? Yeah, neither could I. Skill-discovery, built by Surenode โ€” one command, runs locally, zero config. Scans your agents' skill folders + instruction files, fingerprints them, flags suspicious patterns (env dumps, hidden payloads, prompt injection), redacts secrets before anything leaves your machine. git clone github.com/surenode-ai/skillโ€ฆ cd skill-discovery && pip install . skill-discovery --dry-run Nothing leaves your machine unless you point it at a server. Open source, and it's the inventory layer behind Surenode's KLIN governance platform for teams. ๐Ÿ”— github.com/surenode-ai/skillโ€ฆ
1
3
6
347
Class-01 of GenAi Done Spent time breaking down how LLMs actually work, from scratch ๐Ÿง  1๏ธโƒฃ Tokenisation โ†’ text becomes numbers 2๏ธโƒฃ Embeddings โ†’ numbers become meaning (vectors that capture relationships, e.g. Eiffel Tower โ†” Paris) 3๏ธโƒฃ Positional Encoding โ†’ order matters 4๏ธโƒฃ Self-Attention โ†’ tokens "talk" to each other (ICICI Bank vs River Bank โ€” context decides meaning) 5๏ธโƒฃ Transformer (encoder-decoder) โ†’ training (backprop) vs inference #GenAI #LLM #AIEngineering @ChaiCodeHQ @Hiteshdotcom and @piyushgarg_dev sir for an awesome session.
1
21
375
Building a Superhuman clone for ๐Ÿ† Gmail + Google Calendar. Thank you @ChaiCodeHQ @Hiteshdotcom @piyushgarg_dev @corsairdotdev Builder Mode On | MacBook Giveaway Hackathon #chaicode #corsair-dev
1
90
Experimenting with more mobile development, created a safe driving app which helps detect rash driving and also AI assisted feedback to improve. @ChaiCodeHQ @surajtwt_ @Hiteshdotcom @piyushgarg_dev @nirudhuuu sir
2
17
644
From Learning Mobile development to giving a production build for a client, thank you @Hiteshdotcom, @piyushgarg_dev and @surajtwt_ for the amazing mobile development cohort @ChaiCodeHQ and all TA's @nirudhuuu sir. Second Project now done right.
19
262
Built the Devsnippet application as part of a mobile developer cohort assignment. Learned new concepts regarding mobile development at @ChaiCodeHQ and using Expo. Thank you, @surajtwt_ @Hiteshdotcom @piyushgarg_dev and all the TA's @nirudhuuu for this wonderful cohort, really enjoying it.
1
8
450
Last session of the System Design Cohort with @ChaiCodeHQ today. Came in confused about Kafka and consistent hashing. Leaving with a completely different way of thinking about systems โ€” and honestly, about learning itself. It's weird how a cohort becomes a routine, and then suddenly it's over. Thank you @Hiteshdotcom and @piyushgarg_dev sir for this amazing experience and also all the team at @ChaiCodeHQ and amazing TA's @nirudhuuu for making this an awesome journey. #ChaiCode #SystemDesign
2
24
1,018
Hackathon Participiation. Thank you @ChaiCodeHQ @Hiteshdotcom sir and @nirudhuuu for this opportunity.
2
12
201
Completed the assignment for Smart Elevator Control DB design. @ChaiCodeHQ @nirudhuuu #chaicode #DBDesign
16
107
AI System Design Here's everything we covered in one session: ๐—™๐—ผ๐˜‚๐—ป๐—ฑ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—–๐—ผ๐—ป๐—ฐ๐—ฒ๐—ฝ๐˜๐˜€: โ†’ LLMs, NLP, Next Token Prediction โ†’ Transformers & Attention mechanism โ†’ Few-shot Prompting ๐—ฅ๐—”๐—š ๐—ฃ๐—ถ๐—ฝ๐—ฒ๐—น๐—ถ๐—ป๐—ฒ: โ†’ Query & Vector Embeddings โ†’ Semantic Search โ†’ Chunking โ†’ Splitting โ†’ HyDE, Query Retrieval โ†’ Corrective RAG, LLM as Judge ๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜: โ†’ 128k context window + threshold at 85% โ†’ Summarization with 20% reduction size โ†’ Short-term & Long-term Memory โ†’ Context Threshold Manager ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€: โ†’ A2A (Agent-to-Agent) โ†’ AWS Bedrock & AgentCore โ†’ LRU Cache + CRON Jobs โ†’ Vector DBs: Pinecone, Qdrant, Weaviate, Chroma โ†’ PG Vector Subconscious Brain AI System Design ๐Ÿง  Thank you @Hiteshdotcom and @piyushgarg_dev sir for this amazing session and also TA's @nirudhuuu @BlazeisCoding @ChaiCodeHQ #AISystemDesign #RAG #LLM #ChaiCode #BuildingInPublic #SystemDesign
1
6
84
Today's in System design cohort session learned about in-depth DB Internals ๐Ÿ”น Why DBs? Flat files break with concurrency, crashes & partial updates. DBs fix all of that. ๐Ÿ”น Core components: โ†’ Storage Engine โ†’ Query Processor + Optimizer โ†’ Buffer Pool / Page Cache โ†’ Transaction Manager โ†’ WAL (Write Ahead Log) โ†’ Lock Manager ๐Ÿ”น ACID in one line: All or nothing. Always valid. Isolated. Survives crashes. ๐Ÿ”น WAL = writes to log BEFORE touching the data page. That's how your DB survives a power cut. ๐Ÿ”น Connection Pooling = don't open a new connection per request. Keep a pool warm. PgBouncer does this for Postgres. ๐Ÿ”น Storage Engines: โ†’ B-Tree โ†’ Postgres, MySQL โ†’ LSM Tree โ†’ Cassandra, RocksDB, HBase ๐Ÿ”น Types of DBs: Relational โ†’ structure & joins Document โ†’ flexible schema Wide-column โ†’ high write throughput Key-Value โ†’ caching Graph โ†’ relationships at scale Internals > buzzwords. Always. Thank you @Hiteshdotcom and @piyushgarg_dev for this amazing session and also TA's @nirudhuuu @ChaiCodeHQ #SystemDesign #Databases #ChaiCode
17
176
๐Ÿš€ Another ๐Ÿ”ฅ session from the System Design cohort Tonight we went deep into AWS fundamentals: โšก Elastic IPs โ€” static IPs that survive reboots โš–๏ธ Load Balancer types โ€” ALB vs NLB vs Gateway LB ๐Ÿ›ก๏ธ Security Groups as firewall rules for your LB ๐ŸŽฏ Target Groups + Health Checks ๐Ÿ“ก Amazon EventBridge for event-driven architecture ๐Ÿ–ฅ๏ธ VDI on Azure + how corporate setups work From blank canvas diagrams โ†’ live nginx running behind an actual ALB ๐Ÿ˜ค The best way to learn cloud is to just build it live ๐Ÿ’ช #CloudComputing #SystemDesign #DevJourney #100xDeveloper thank you @Hiteshdotcom and @piyushgarg_dev sir for this amazing session and thanks to all the TA's @nirudhuuu @ChaiCodeHQ
10
171
Completed Github Classroom js-async-oops , all synced up. @ChaiCodeHQ @Hiteshdotcom @piyushgarg_dev sir, @nirudhuuu
1
28
141