Blog by Prasanga

Latest engineering insights, architectural deep dives, and modern system patterns by Prasanga Pokharel.

Micro-Frontends at 5,000 Routes: Module Federation vs single-spa vs Web Components, MeasuredUI Frameworks

Micro-Frontends at 5,000 Routes: Module Federation vs single-spa vs Web Components, Measured

We rebuilt the same 5,000-route enterprise shell three times — Module Federation 2.0, single-spa, and native Web Components — and measured p95 route transitions, marginal memory per mounted remote, duplicated vendor bytes, and the fully loaded cost of 1M deployments. The results invert most vendor claims: the fastest architecture on cold start is the one that duplicates the most code.

12 min
Landing Page A/B Testing at 100M Sessions: Optimizely vs VWO vs GrowthBook — Measured P99 Flicker, Bucketing Latency, and True Cost per 1M ExperimentsLanding Page Examples

Landing Page A/B Testing at 100M Sessions: Optimizely vs VWO vs GrowthBook — Measured P99 Flicker, Bucketing Latency, and True Cost per 1M Experiments

We put Optimizely, VWO, and GrowthBook through a 100M-session harness and measured what actually matters on high-CPM landing pages: P99 variant flash, anti-flicker hold time, bucketing latency, and the normalized cost per 1M experiment exposures. Here are the numbers, the reference implementations, and the architecture trade-offs.

11 min
Go Microservices at 10M Concurrent Connections: Goroutine-per-Connection vs. epoll Event Loops — Measured p99, RSS, and Cost per MillionGo & Microservices

Go Microservices at 10M Concurrent Connections: Goroutine-per-Connection vs. epoll Event Loops — Measured p99, RSS, and Cost per Million

At 10M concurrent connections, the difference between goroutine-per-connection and a hand-rolled epoll event loop is not philosophical — it's roughly 11 KiB vs. 2.5 KiB of user-space RSS per socket and a 3x gap in p99 latency. This article breaks down Go's netpoller internals, kernel-side TCP memory ceilings, tuned socket code, and a reproducible cost model for dollars per million connections.

14 min
Next.js 16 PPR vs Traditional SSR: Latency and Edge BenchmarksNext.js

Next.js 16 PPR vs Traditional SSR: Latency and Edge Benchmarks

Partial Prerendering rewrites the request path from a blocking render into a prerendered shell plus streamed dynamic holes. We benchmark Next.js 16 PPR against full SSR with a reproducible harness, then quantify what edge middleware actually costs before your first byte.

9 min
Landing Page A/B Testing at 1B Visitors: Bucketing Latency, Flicker Rate, SDK Overhead, and the True Cost per Million ExperimentsLanding Page Examples

Landing Page A/B Testing at 1B Visitors: Bucketing Latency, Flicker Rate, SDK Overhead, and the True Cost per Million Experiments

At one billion visitors a year, your experimentation platform is not a marketing tool — it is a deterministic hash function and a config distribution system sitting in the hot path of every conversion. Here is a reproducible benchmark of GrowthBook, Statsig, Optimizely, and LaunchDarkly across bucketing p99, flicker rate, SDK overhead, and real cost per million impressions.

11 min
Go Microservices at 1M RPS: gRPC vs Connect vs Twirp vs Fiber vs Echo — p99 Latency, Memory per Pod, and the True Cost per Million RequestsGo & Microservices

Go Microservices at 1M RPS: gRPC vs Connect vs Twirp vs Fiber vs Echo — p99 Latency, Memory per Pod, and the True Cost per Million Requests

Most Go framework benchmarks measure closed-loop throughput on an idle box — a number that never survives contact with production. This is an open-loop, cost-model-driven comparison of gRPC, Connect, Twirp, Fiber, and Echo that ends with the line item nobody benchmarks: dollars per million requests, including egress.

13 min
Service Mesh at 100k Pods: Istio Ambient vs Linkerd vs Cilium Mesh vs Kuma — p99 Latency, Memory per Node, and the True Cost per Million RequestsDevOps & Cloud

Service Mesh at 100k Pods: Istio Ambient vs Linkerd vs Cilium Mesh vs Kuma — p99 Latency, Memory per Node, and the True Cost per Million Requests

Most mesh benchmarks are three nodes and twenty pods — numbers that collapse the moment you hit real cardinality. This is a methodology-first teardown of Istio Ambient, Linkerd, Cilium Service Mesh, and Kuma at 100k-pod scale, covering p99 tail behavior, aggregate memory tax per node, control-plane fan-out, and a defensible cost-per-million-requests model you can rerun on your own workload.

14 min