How we used SKIP LOCKED, composite primary keys, and connection visibility to hit our scale targets.