Ankit ⚡ (@ydvtwts) header
Ankit ⚡ (@ydvtwts) profile picture

Software Engineer

Remote
Joined November 2022
Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)Photo by Ankit ⚡ (@ydvtwts)
🛠️ Building RuntimeIQ — an AI orchestration engine. I'm more interested in what happens around it: - Planning - Execution - Orchestration - Tool integrations - Observability That's what I'm exploring while building RuntimeIQ. 🚀
1
27
Building runtime engine for AI platform, backbone of my Investigation Platform that can generate and execute tasks
1
29
A few weeks ago, "loss.backward()" felt like magic. Today I have my own autograd engine, neurons, and neural network layers built from scratch. Still a long way to go (MLPs → Attention → Transformers → GPT), but understanding how the pieces fit together has been incredibly rewarding.
31
Learning AI by rebuilding it from first principles. ✔️ Bigram LM ✔️ Gradient Descent ✔️ Backpropagation ✔️ Autograd Engine ✔️ Neurons & Layers Next: MLP → Attention → Transformer → GPT. It's amazing how much less "magical" AI feels once you build it yourself.
28
Finally wrapped up EventLens 🚀 A developer analytics platform I built from scratch to learn distributed systems. 🛠️ Stack: • TypeScript • Kafka • PostgreSQL • Kubernetes + Helm • Prometheus • Grafana • Jaeger • OpenTelemetry • React • Browser SDK Started as an event ingestion API. Ended as a complete analytics platform with real-time dashboards, observability, and scalable event processing. Building everything myself—from infrastructure to UI—gave me a much deeper understanding than tutorials ever could. #buildinpublic #backend #Kafka #Kubernetes #TypeScript #React #OpenTelemetry #DistributedSystems
3
64
Built observability 💫 for my Event Ingestion System 🔥 Added: • Prometheus • Grafana • Custom application metrics • Queue depth monitoring • Batch insertion tracking • Failure metrics The most exciting part wasn’t the dashboard. It was watching overload propagate through the system in real time: traffic spike → Redis queue buildup → workers draining backlog ⚡ Feels less like “backend APIs” now and more like actual systems engineering. #system_design #observability #grafana #prometheus #metrics
53
✍️ Follow-up on the event ingestion system I’ve been building ⚡ A few weeks ago I thought “scaling a backend” = just optimizing DB queries. After load testing under 1000 concurrent connections, the real problems hit elsewhere first: • Socket pressure • Connection backlogs • Queue buildup • Load balancer behavior • Batching tradeoffs • Upstream failures • Event loop saturation Current architecture: NGINX → API replicas → Redis queue → batch workers → Postgres
1
43
Some key observations: • Adding workers didn’t improve API latency much (they drain queues faster, but don’t help request acceptance) 📷 • Redis helped mainly by decoupling queue memory from API memory 📷 • Queues absorb spikes temporarily — they don’t “solve” scaling Most valuable learning: Distributed systems are less about writing code and more about understanding bottlenecks, pressure, and tradeoffs 📷 Still experimenting. Next up: durability, backpressure, and worker scaling. What’s one scaling lesson that surprised you lately? 📷
30
🚀 Your CPU can execute billions of instructions per second... …but it still spends a huge amount of time waiting on RAM ⏳ Why? 🤔 Because not all memory is equally fast. ⚡ Typical memory latency: 🟢 L1 Cache → ~1 ns 🟡 L2 Cache → ~3–5 ns 🔴 DRAM (Main Memory) → ~50–100 ns That gap becomes enormous at modern GHz clock speeds 💨 So CPUs use a cache hierarchy to avoid slowing down: 📍Registers → L1 → L2 → L3 → RAM Think of it like this 🧠 🛠️ CPU Cache = tools kept right on your desk 📦 RAM = walking to the storage room every time you need something Same tools. Different distance. Different speed. ⚡ Without L1/L2 cache, modern processors would spend most of their time just waiting instead of computing 💻🔥
61
My event ingestion system worked great… Initially, everything looked fast (5–10ms latency). Then I ran load tests… 💥 latency shot up (~250ms) 💥 requests started timing out Root cause: DB bottleneck (~3.7K writes/s) 👉 Moved to async processing (queues + worker + batching) Read more: heyankit.hashnode.dev/i-buil…
57
I’ve been curious about how systems behave under load… So I’m starting to build an event ingestion + analytics system to explore it. Goal is to understand how real backend systems scale — by actually building and breaking them. Will share the journey 🚀
🤖 Made with AI
39
Built a high-performance URL shortener with Go & React Backend: Fiber v2 + MySQL + Redis Frontend: React 19 + Vite + Tailwind Features: • Fast URL resolution with Redis caching • JWT auth with bcrypt password hashing • Transaction-safe operations • Built-in monitoring
1
81
AI can fix bugs by adding lines of code that you would've resolved by just changing a line
73
github looks good with this color scheme
124
🚀 Built a multi-threaded HTTP proxy server in C with cache support from scratch! ✅ Multi-threaded with pthreads ✅ HTTP request parsing & forwarding ✅ Chunked transfer encoding support ✅ Dynamic memory management ✅ LRU Cache support #CProgramming #Networking #ProxyServer
1
121
while building multi-threaded proxy server from scratch I learned about: - socket programming - HTTP protocol internals - system programming fundamentals The project handles real HTTP traffic and manages concurrent connections efficiently.
47