登录 注册
数据分析与数据处理网络与基础设施
2,286
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Elixir
语言
—
创建时间
最近更新

项目能做什么

面向云原生环境的多租户 Postgres 连接池工具。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
![Supavisor](/docs/images/supavisor-banner.png)

# Supavisor - Postgres connection pooler

[![Coverage Status](https://coveralls.io/repos/github/supabase/supavisor/badge.svg?branch=main)](https://coveralls.io/github/supabase/supavisor?branch=main)

- [Overview](#overview)
- [Motivation](#motivation)
- [Architecture](#architecture)
- [Docs](#docs)
- [Features](#features)
- [Future work](#future-work)
- [Acknowledgements](#acknowledgements)
- [Benchmarks](#benchmarks)
- [Inspiration](#inspiration)

## Overview

Supavisor is a scalable, cloud-native Postgres connection pooler. A Supavisor
cluster is capable of proxying millions of Postgres end-client connections into
a stateful pool of native Postgres database connections.

For database managers, Supavisor simplifies the task of managing Postgres
clusters by providing easy configuration of highly available Postgres clusters
([todo](#future-work)).

## Motivation

We have several goals with Supavisor:

- **Zero-downtime scaling**: we want to scale Postgres server compute with
  zero-downtime. To do this, we need an external Pooler that can buffer and
  re-route requests while the resizing operation is in progress.
- **Handling modern connection demands**: We need a Pooler that can absorb
  millions of connections. We often see developers connecting to Postgres from
  Serverless environments, and so we also need something that works with both TCP
  and HTTP protocols.
- **Efficiency**: Our customers pay for database processing power, and our goal
  is to maximize their database capacity. While PgBouncer is resource-efficient,
  it still consumes some resources on the database instance. By moving connection
  pooling to a dedicated cluster adjacent to tenant databases, we can free up
  additional resources to better serve customer queries.

## Architecture

Supavisor was designed to work in a cloud computing environment as a highly
available cluster of nodes. Tenant configuration is stored in a highly available
Postgres database. Configuration is loaded from the Supavisor database when a
tenant connection pool is initiated.

Connection pools are dynamic. When a tenant client connects to the Supavisor
cluster the tenant pool is started and all connections to the tenant database
are established. The process ID of the new tenant pool is then distributed to
all nodes of the cluster and stored in an in-memory key-value store. Subsequent
tenant client connections live on the inbound node but connection data is
proxied from the pool node to the client connection node as needed.

Because the count of Postgres connections is constrained only one tenant
connection pool should be alive in a Supavisor cluster. In the case of two
simultaneous client connections starting a pool, as the pool process IDs are
distributed across the cluster, eventually one of those pools is gracefully
shutdown.

The dynamic nature of tenant database connection pools enables high availability
in the event of node outages. Pool processes 
阅读完整原文

项目深度分析 规则生成(AI 未配置)

综合评分 41.2 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 supavisor 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
Freddyboi123/Supavisor-React-Frontend 中文介绍暂未生成
2 JavaScript
chasers/multibouncer-supavisor-qa 中文介绍暂未生成
QA a Supavisor cluster against multi-process PgBouncer
2 Shell
OshanKHZ/supavisor 中文介绍暂未生成
Fast SQL linter for Supabase migrations and better developin
1 TypeScript
EmilXavierVT/SupavisorFront 中文介绍暂未生成
1 JavaScript
EmilXavierVT/Supavisor 中文介绍暂未生成
1 Java
charlitoro/supabase-docker 中文介绍暂未生成
This repository provides a self-hosted Supabase stack using
1 PLpgSQL
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 49 个 Release
社区活跃Star 2,286 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。