TLDR Dev · ARTICLES & TUTORIALS

WHY WE'RE LEAVING SERVERLESS

unkey.com9 min read

Summary from the TLDR Dev newsletter

Unkey moved from Cloudflare Workers to stateful Go servers to overcome performance limitations and simplify their architecture. The serverless environment's lack of persistent memory forced complex caching workarounds and data pipeline overhead, resulting in high latency. Switching to Go servers improved performance by 6x, removed these complexities through in-memory batching, and allowed for self-hosting.