TL;DR
If you care about maximum performance, batching, and retries, generate UUIDs in the application.
If you care about simplicity and convenience, generate them in the database using a
DEFAULT.
In distributed SQL, this choice directly impacts write efficiency, idempotency, and system behavior.