Both run on the same DDR4 RAM chips with ~60ns access times. So why does a MySQL Buffer Pool hit take 1,500 µs while Redis takes 40 µs? An architectural autopsy of 16KB slotted pages, page latches, and MVCC.
Writing
Blogs
Long-form essays on distributed systems, blockchain architecture, security, and the craft of building reliable software. I write to think clearly.
A deep architectural post-mortem on why asymmetric public-key encryption fails for API authentication, the mathematical 14x RSA cost curve, why Nested JWTs break microservices, and how to implement zero-downtime JTI revocation.
This technical article explores the internal behaviour of MongoDB Time To Live (TTL) indexes, focusing on how expired documents are identified, processed, and deleted by the background TTL Monitor. It examines the computational complexity of indexed expiration, deletion batching, background scheduling, storage-engine implications and the distinction between expiration eligibility and physical deletion. The article also explores an alternative approach to data lifecycle management through time-based storage segmentation, discussing when collection-level retirement may be more efficient than individual document deletion.
You might be optimising the wrong 80 milliseconds. We spend weeks optimising database queries, Node.js execution, caching, CDNs and application code. But how often do we stop and ask a more fundamental question? Where are those milliseconds actually going?
The $6.36 Billion Semantic Decoupling: An Autopsy of the Binance Incident, EIP-7702 Mutations, and the Fallacy of the Blind Signer
The Asymmetric Threat Frontier: LLM-Augmented Exploitation, The Crisis of Early-Stage Startups, and Invariant-Driven Systems Defense
Attempting to know "Ultimate Reality" through human language is mathematically equivalent to asking: "What is the exact numerical length of infinity?
A queue cannot solve a database lock problem. And an error queue is not an audit log.
The Second Law of Thermodynamics doesn't stop at your software stack. The default state of every information system is absolute disorder.
Most Flutter apps bake secrets into plaintext or use weak XOR obfuscation — and it shows on pub.dev. This post dissects why current approaches fail and introduces envault: a Flutter secret manager using AES-256-GCM encryption, hardware-accelerated key derivation, and scoped memory safety to protect keys in fintech and enterprise apps.
AI code generation is replacing manual typing, just like tractors replaced oxen. Discover why 95% of coders will vanish, the hidden dangers of "vibe coding," and how mastering system architecture will guarantee your place in the top 5% of engineers.
The $4,380/Year Mistake: How a Missing 3KB File Almost Killed a Revenue-Generating App
For 20 years, the tech industry has been operating on a massive, destructive lie. "If you want to advance your career, you must become a manager."
Agentic AI is allowing developers to generate code at lightspeed, but it is destroying their architectural judgment. Learn why autonomous "vibe coding" is creating massive technical debt, and discover a 4-step framework to turn your team from mindless prompters into true system owners.
Our Jenkins pipeline had been running flawlessly for 9 months. Then one routine deploy on a Tuesday afternoon cascaded into 4 hours of production downtime, two failed rollbacks, and a very angry on-call rotation. Here is exactly what happened, step by step, and how we rebuilt our CI/CD pipeline to never let it happen again.
Beyond the Hype: The Real Impact of LLMs on Software Engineering (and Your Career)
A speculative macro-level look at how AI will transform software engineering, employment, education, healthcare, sales, and income inequality by the year 2037.
Key findings from reading 100+ research papers and 1000+ videos on AI's impact on employment and value creation. AI is fast-forwarding value creation, enabling single-person unicorns, and rewriting the rules of mastery and entrepreneurship.
Exploring what automation and AI mean for human value, employment, and the future of software engineering — through the lens of economic history and philosophical reflection.
My first week at a new codebase, I found 12,000 lines of dead code, zombie services, and commented-out features from 2019. This is the story of how I got rid of all of it without breaking anything and what I learned about reading a codebase like an archaeologist.