Blog

Thoughts on software engineering, web3, and web development.

Categories

Tags

Cover art: three pipeline generations — Pulsar and Flink, Rust on ECS, Workers and Queues — each ending at the same Postgres cylinder
system designOct 13, 202618 min read

From Pulsar to Workers: Three Generations of a DeFi Data Pipeline

An engineering retrospective on rebuilding a DeFi data platform, from Pulsar and Flink to Rust services and Cloudflare Workers, while keeping the underlying data model stable.

#system design#data pipeline#aws#pulsar#flink#rust#cloudflare workers#defi#postgresql
Cover illustration for "Back of the Envelope Estimations"
system designOct 11, 20267 min read

Back of the Envelope Estimations

The numbers worth memorizing for a fast sanity check — powers of two, the latency of common operations, and availability in nines — and how to use them to size a system like X (Twitter) from a few rough assumptions.

#system design#estimation#capacity planning#latency#availability#scalability
Cover illustration for "Scale from Zero to Millions of Users"
system designOct 7, 202613 min read

Scale from Zero to Millions of Users

A walk through how a single-server app grows into a system serving millions — load balancing, database replication, caching, CDNs, a stateless web tier, multiple data centers, message queues, and sharding.

#system design#scalability#distributed systems#high availability#load balancing#database replication#caching#cdn#message queues#sharding#databases#architecture
Article cover: Exporting GitBook Docs as Clean Markdown with Rust
projectOct 1, 20266 min read

Exporting GitBook Docs as Clean Markdown with Rust

How doc-scraper-rs exports GitBook docs as a clean markdown tree with llms.txt and AGENTS.md sidecars — one request per page, no HTML parsing, and a content-based fallback for soft 404s.

#rust#open source#llm#cli#scraping
securityMar 18, 20244 min read

Understanding ERC-1271 - Standard Signature Validation

Standard way to verify a signature when the account is a smart contract

#erc#ethereum#account-abstraction#blockchain#signature#wallets#eoa#web3
Cover image for "Damn Vulnerable DeFi - Side Entrance"
securityFeb 27, 20247 min read

Damn Vulnerable DeFi - Side Entrance

A guide into Cross Function Reentrancy Attack

#reentrancy#defi#web3#ethereum#flashloan
Cover illustration for "Blockchain? What is this thing?"
system designAug 4, 201810 min read

ব্লকচেইন? সে আবার কী? What is Blockchain?

A introduction to blockchain network, how it works and why it works in Bangla.

#system design#blockchain#web3#bitcoin#bangla
Cover image for "How I Fixed My Display Resolution by Installing NVIDIA Drivers on Ubuntu 18.04 Bionic Beaver Linux"
tutorialJul 20, 20184 min read

How I Fixed My Display Resolution by Installing NVIDIA Drivers on Ubuntu 18.04 Bionic Beaver Linux

A step-by-step look at troubleshooting low-resolution display

#linux#nvidia#gpu#ubuntu