§03 · Wine Adore
2023 — 2025
Backend Engineer

Cloud Run Automation Service.

40+
Jobs orchestrated
−66%
Dev infra cost
0s
Checkout latency added
Overview

A Go service running on GCP Cloud Run that orchestrates all scheduled and event-driven backend jobs for Wine Adore. Consolidating jobs into a single managed service replaced a fragmented set of cron scripts and simplified observability across 40+ distinct jobs covering inventory sync, order lifecycle transitions, store-credit expiry, event seat cleanup, and post-event notification emails.

The key architectural decision was decoupling Zoho CRM synchronisation from the checkout critical path. Previously, checkout waited on Zoho API responses, adding 10–20 seconds of latency during peak traffic. Moving sync to an async job eliminated the blocking call entirely. Cloud Run's scale-to-zero billing model reduced per-environment infrastructure cost by ~66%.

Technical highlights

40+ orchestrated jobs across inventory, payments, CRM, and communications in a single managed service

Async Zoho CRM sync decoupled from checkout critical path — eliminated 10–20s latency spikes at peak

Cloud Run scale-to-zero reduced dev/staging infrastructure cost by ~66%

Firebase FCM integration for real-time post-event push notifications to attendees

Graceful shutdown with in-flight job draining and per-job timeout enforcement

Stack
Go
GCP Cloud Run
PostgreSQL
Firebase FCM
Zoho CRM