惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
L
LangChain Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
D
Docker
WordPress大学
WordPress大学
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
博客园 - 叶小钗
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
有赞技术团队
有赞技术团队
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I Built a Restaurant Waitlist App on Amazon Aurora DS...
Ekpenyong Mfon · 2026-06-17 · via DEV Community
Cover image for How I Built a Restaurant Waitlist App on Amazon Aurora DSQL That Cannot Double-Book a Table

Ekpenyong Mfon

I built TableTurn for the H0: Hack the Zero Stack hackathon — a restaurant waitlist and table management app on Amazon Aurora DSQL and Vercel. I created this post as part of my entry for the hackathon. #H0Hackathon
Restaurants that cannot afford OpenTable or Yelp Guest Manager manage waitlists on paper or WhatsApp. TableTurn gives them a working alternative at $29/month.
The hardest technical requirement was preventing double-booking. Two hosts seating two different parties at the same table at the same time must be impossible, not just unlikely. I used Aurora DSQL's serializable transactions to enforce this at the database level:

await sql.begin(async (tx) => {
const table = await txSELECT id, status FROM tables WHERE id = ${table_id} FOR UPDATE;
if (table[0].status !== "available") {
throw new Error("Table just taken by another host");
}
await txUPDATE tables SET status = 'occupied' WHERE id = ${table_id};
await txUPDATE parties SET status = 'seated', table_id = ${table_id} WHERE id = ${id};
});

I tested this directly with two curl requests targeting the same table. The first returned success. The second returned "Table just taken by another host." That is Aurora DSQL's serializable isolation working, not application-level checking that could race.
Three things I had to learn the hard way: CREATE INDEX fails unless you use CREATE INDEX ASYNC, which returns a job_id and builds in the background. IAM auth tokens expire every 15 minutes, so token refresh logic is required in production. Aurora DSQL has no foreign keys, so I used TEXT for IDs and enforced relationships in the application layer.
Live app: https://tableturn-steel.vercel.app

GitHub: https://github.com/ekpenyongasuquo/tableturn