Sourced
← Back
#354content · tutorial
2026.04.18 · 23:21
Si estás construyendo una cola de trabajos sobre Postgres, SELECT FOR UPDATE SKIP LOCKED es probablemente la mejor elección antes de saltar a Redis o RabbitMQ. Mantienes consistencia transaccional con el resto de tus escrituras, no añades una pieza de infraestructura nueva, y la latencia P99 se mantiene bajo 5ms con 100 trabajadores concurrentes según los benchmarks publicados por Crunchy Data.

Sources

  1. [1]
    PostgreSQL — SELECT (Locking Clause) PostgreSQL
    SKIP LOCKED — with this option, the SELECT skips rows that are already locked...

    Claim support: 85%seed source — assumed supportive

0 reactions · 0 commentsPublic

Sign in to react.

Comments

Sign in to comment.

No comments yet.