Vishwakanths·3d agoDesigning a URL Shortener on GCP: Short Codes, Fast Redirects, Simple StorageOne write, a million reads: random base62 codes, layered caching and Firestore
Vishwakanths·3d agoPub/Sub for Event-Driven Orders: One Order, Many Independent ReactionsPublish order_placed once; email, inventory and analytics each get their own copy and their own retries
Vishwakanths·5d agoCache-Aside with Memorystore: Serve the Same Product Page Without Asking the Database Every TimeRead Redis first, fall back to Cloud SQL, and have a plan for stale data
Vishwakanths·Nov 15Cloud Run vs GKE: Picking a Home for Your ContainersA small API with spiky traffic and a 20-service platform need different things
Vishwakanths·Nov 11The Database Scaling Ladder: Fix a Slow Database in the Right OrderIndexes, then cache, then read replicas, then a bigger machine, and sharding only at the top
Vishwakanths·Nov 9CDN vs Load Balancer vs API Gateway: Who Does What on GCPImages through the CDN, the cart through the load balancer, the seller API through a gateway
Vishwakanths·Nov 8Cloud SQL: From One Database to Three Shards Without DowntimeSplit users into 1024 buckets, then move one bucket at a time: freeze, catch up, flip