Skip to content
Queues

Supabase 队列

Durable Message Queues with Guaranteed Delivery in Postgres

Supabase Queues 是一个基于 Postgres 的原生持久消息队列系统,使用 pgmq 数据库扩展 构建,保证消息投递。它为开发者提供了一种无缝的方式,在后台持久化和处理消息,同时提升应用和服务的弹性与可扩展性。

🌐 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 将 Postgres 的可靠性与 Supabase 平台和开发者体验的简便性结合起来,使开发者能够零配置地管理后台任务。

🌐 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 原生
    基于 pgmq 数据库扩展构建,使用任何 Postgres 工具创建和管理队列。
  • 保证消息投递
    添加到队列的消息保证会被传递给你的消费者。
  • 消息只发送一次
    消息在可自定义的可见窗口内,仅送达消费者一次。
  • 消息持久性和归档
    消息存储在 Postgres 中,你可以选择将它们归档以进行分析或审计。
  • 细粒度授权
    通过 API 权限和行级安全 (RLS) 策略控制客户端消费者对队列的访问。
  • 队列管理与监控
    在 Supabase 仪表板中创建、管理和监控队列和消息。

资源 #

🌐 Resources