Back to Supabase

Supabase Queues

apps/docs/content/guides/queues.mdx

1.26.041.5 KB
Original Source

Supabase Queues is a Postgres-native durable Message Queue system with guaranteed delivery built on the pgmq database extension. It offers developers a seamless way to persist and process Messages in the background while improving the resiliency and scalability of their applications and services.

Queues couples the reliability of Postgres with the simplicity Supabase's platform and developer experience, enabling developers to manage Background Tasks with zero configuration.

Features

  • Postgres Native

    Built on top of the pgmq database extension, create and manage Queues with any Postgres tooling.

  • Guaranteed Message Delivery

    Messages added to Queues are guaranteed to be delivered to your consumers.

  • Exactly Once Message Delivery

A Message is delivered exactly once to a consumer within a customizable visibility window.

  • Message Durability and Archival

    Messages are stored in Postgres and you can choose to archive them for analytical or auditing purposes.

  • Granular Authorization

    Control client-side consumer access to Queues with API permissions and Row Level Security (RLS) policies.

  • Queue Management and Monitoring

    Create, manage, and monitor Queues and Messages in the Supabase Dashboard.

Resources