Tee-time booking and payments platform for golf courses
A serverless first booking platform built for “tee time drops” with strict tenant isolation, distributed locking, and POS/payment integrations that survive peak traffic.
In short
The problem: Tee-time drops caused race conditions, double bookings and lost revenue.
What we built: Tee-time booking and payments that guarantee atomic bookings under peak traffic.
The result: Shifted the majority of bookings from phone to web and app.
The problem
Public and private golf courses face extreme traffic bursts (e.g., 7:00 AM “tee time drops”). Legacy monolithic platforms suffered race conditions, resulting in double bookings and lost revenue.
The platform required a multi tenant architecture that could scale to hundreds of courses while maintaining strict data isolation for each course’s financial records. Under peak traffic, the system must guarantee atomic bookings without degrading UX through heavy database locks.
At a glance
- Industry: Golf / hospitality SaaS
- Client: GolfPay360
- Country: United States
- What we built: Multi-tenant tee-time booking with distributed locking and POS payments
- Integrations: Clover/Square POS SDKs, Stripe Terminal (card present), Twilio Programmable Messaging, Linked2Pay (migrated from CardConnect, multi-merchant MIDs)
- Stack: Next.js, AWS Lambda, DynamoDB
What we built
We architected a serverless first booking platform designed for high concurrency event handling. By moving away from a traditional database locking model and toward event sourced patterns, we eliminated collision errors during peak traffic.
The system separates browse from commit: availability is edge optimized for low latency reads, while booking writes are protected by distributed locks and idempotent retries. This keeps the tee sheet fast worldwide while guaranteeing atomic bookings at the point of transaction.
How it works
- Distributed locking: Redis based Redlock ensures atomic booking operations across multiple server instances.
- Edge optimized availability: CloudFront Functions serve tee sheet availability from the nearest edge location, reducing latency globally.
- Architecture: Next.js (Frontend) → AWS Lambda → DynamoDB (NoSQL for sub millisecond lookups).
- Integrations: Clover/Square POS SDKs; Stripe Terminal for card present transactions; Twilio Programmable Messaging. Payments migrated from CardConnect to Linked2Pay, with multi-merchant (MID) support.
- Card vaulting: Cards are vaulted with a $1 authorize-and-void. Only payment tokens and the last 4 are stored, via webhook. No card data on our servers.
- Security: Card data stays with the payment provider (e.g. Stripe), so it never touches your servers; strict per tenant isolation; JWT based RBAC.
- AI features: Dynamic yield management suggests real time price surges/discounts using weather data and historical no show rates.
Demo walkthrough
Founder-led video covering the business context, technical approach, and outcomes.
Results
- Higher digital adoption: shifted the majority of bookings from phone to web/app.
- Prevents double bookings: distributed locking + idempotent retries protect commit paths under load.
- Reduced administrative overhead: automated check ins and self service rescheduling cut manual work.
“Been working with Ahmad for almost two years, and he's been great to work with. One of the most reliable developers I've had the pleasure to work with. He's always getting better too.”
Dale Merritt
CEO, Golfpay
Want something similar?
We’ll design concurrency, inventory locking, and payment flows to survive real peak traffic.
