tazecicek.com
Commerce and same-day delivery backend for online flowers and gifts
- customers
- 1.5M
- orders to date
- 10M+
- orders a day, several times that on peak days
- ~10K
I designed the .NET 10 microservices architecture (DDD, CQRS, event-driven) and own the order, payment, delivery and integration services from design to production. I also moved all 1.5M customer records off the legacy platform, with batched, resumable, idempotent import jobs and reconciliation reports.
Problem. On Valentine's and Mother's Day, volume jumps several-fold within hours. The DHL and Logo APIs began throttling, naive retries produced duplicate shipments and invoices, and failed syncs only surfaced when customers or finance complained.
Result. Peak-day backlogs now drain on their own, duplicate shipments and invoices are gone, and integration failures show up within minutes instead of days.
How it was fixed
- Integration commands go into a transactional outbox in the same transaction as the order change, so nothing is lost or published for an uncommitted order.
- MassTransit consumers sit behind an inbox table with idempotency keys (order ID + operation), so every DHL and Logo call is safe to retry.
- Polly rate limiters matched to each provider's limits, exponential backoff with jitter, circuit breakers; exhausted messages go to a dead-letter queue with a replay tool.
- Grafana dashboards and alerts on queue depth, consumer lag and error rates; correlation IDs in Seq trace one order across every service.
.NET 10 · ASP.NET Core · MassTransit · RabbitMQ · Kafka · PostgreSQL + PostGIS · Hangfire · Quartz.NET · Polly · AWS S3 + CDN · Prometheus · Grafana · Seq · xUnit · Testcontainers
Integrations: DHL, Craftgate, Masterpass, Insider, İYS, Logo ERP