ASAditya Srivastavainjerkeyray.hashnode.dev·Dec 30, 2025 · 11 min readraft: how distributed systems actually agreeJust like people, making independent nodes agree on anything is surprisingly hard. In a distributed system, many things can go wrong and they do go wrong: networks partition, nodes crash, messages arrive late or out of order and clocks refuse to agre...00
ASAditya Srivastavainjerkeyray.hashnode.dev·Nov 29, 2025 · 13 min readbuilding a token bucket rate limiter in goI recently fell down the rabbit hole of rate limiting and decided to build my own token bucket implementation in Go. This blog covers what rate limiters actually do, why do we need them, and how you can build one from scratch yourself (preferably wit...00
ASAditya Srivastavainjerkeyray.hashnode.dev·Nov 6, 2025 · 9 min readi built my own interpreter and it's kinda coolSo recently i finished building my own implementation of an interpreter from scratch following along the book “Writing an Interpreter in Go” by Thorsten Ball and it’s one of the coolest projects i’ve had the luxury of working on. Here’s a breakdown o...01D
ASAditya Srivastavainjerkeyray.hashnode.dev·Sep 25, 2025 · 5 min readWhy 0.1 + 0.2 isn't always 0.3 : Floating Point ExplainedGo ahead and type out 0.1 + 0.2 in your IDE. You expect 0.3, but instead, you get 0.30000000000000004. You stare at the screen, knowing something’s off. Is your computer broken? Is your code faulty? Well, news flash, it's intentional and it's all a p...00
ASAditya Srivastavainjerkeyray.hashnode.dev·Sep 25, 2025 · 7 min readCORS : The Browser Bouncers ExplainedWhy You Should Know About CORS Knowing CORS inside out doesn’t just make you feel smarter—it’s critical for building secure systems on the internet. Cross-Origin Resource Sharing (CORS) is like a big bouncer at the gate of your browser’s exclusive cl...00