Designing Event-Driven AI Workflows with Gemini API and Cloud Pub/Sub — Notes from an Indie Developer
An implementation memo on wiring Gemini API into Cloud Pub/Sub event-driven workflows. Using an app-review analysis pipeline as the running example, the article covers retry policy, dead-lettering, idempotency, and cost guardrails — from the perspective of someone running it solo.
Solving Gemini API Cold Starts — Production-Grade Startup Optimization for Cloud Run, Lambda, and Workers
When you put Gemini API on serverless, the first request takes six seconds. This guide breaks down where the time goes and shows concrete startup-optimization patterns for Cloud Run, AWS Lambda, and Cloudflare Workers — with real numbers, runnable code, and cost trade-off advice.
Async AI Job Queues with Gemini API and Cloud Tasks — Production Patterns for Timeouts, Retries, and Rate Limits
Migrate synchronous Cloud Run + Gemini calls to a Cloud Tasks async job queue. Covers retries, DLQ, idempotent workers, and cost modeling with working code.
Gemini API × Slack Bot in Production — Bolt SDK, Thread Context, and Cloud Run Deployment
Build a production-grade AI Slack Bot with Gemini API and Slack Bolt SDK (Python): thread context management, multimodal support, rate limit handling, and Cloud Run deployment.
Firebase Genkit × Gemini API in Production — Field Notes from an Indie Developer Running 50M-Download Apps
Production field notes from running Firebase Genkit and Gemini API on the back end of indie wallpaper and mindfulness apps that cumulatively passed 50M downloads. Covers Flow and Tool design, RAG, deployment, real cost and latency numbers, plus seven undocumented gotchas you only find after a month in production.