A Lap Around an 8 Year Old Payments Company Codebase
summary
A practical tour of an 8‑year old Pinch Payments codebase shows what actually works: booting Visual Studio and reading C# code that uses Entity Framework projections to reduce SQL, Autofac for lifetime-scoped DI, Azure Storage queues plus a conductor that enforces per-merchant throttles (example: HubSpot 60 requests/min), a simple idempotency key table with chunked processing of 100 records to avoid EF tracking bloat, and Cosmos DB for runtime stats; demos include the item‑potency flow, locking strategy and retry pain points.
AI-written summary · about
chapters (12)
- 0:00Introduction and context
- 3:57Simplicity and system evolution
- 5:00Talk agenda overview
- 6:46Result pattern explained
- 9:34Idempotency in payments
- 16:17Dependency injection use
- 21:57Entity Framework projections
- 26:54Onion architecture breakdown
- 34:01Backgrounding tasks basics
- 37:12Throttling and queues
- 43:49Concurrency handling
- 45:36Company hiring and future
