惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
V
Visual Studio Blog
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
小众软件
小众软件
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
WordPress大学
WordPress大学
爱范儿
爱范儿
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏

Blog — PlanetScale

Keeping a Postgres queue healthy — PlanetScale Patterns for Postgres Traffic Control — PlanetScale Graceful degradation in Postgres — PlanetScale High memory usage in Postgres is good, actually — PlanetScale Stripe Projects partnership: Provision PlanetScale Postgres and MySQL databases from the Stripe CLI — PlanetScale Enhanced tagging in Postgres Query Insights — PlanetScale Behind the scenes: How Database Traffic Control works — PlanetScale Introducing Database Traffic Control — PlanetScale Scaling Postgres connections with PgBouncer — PlanetScale Drizzle joins PlanetScale — PlanetScale Video Conferencing with Postgres — PlanetScale Faster PlanetScale Postgres connections with Cloudflare Hyperdrive — PlanetScale Introducing the PlanetScale MCP server — PlanetScale Database Transactions — PlanetScale Automating our changelog with Cursor commands — PlanetScale Postgres 18 is now available — PlanetScale Using MotherDuck with PlanetScale — PlanetScale $50 PlanetScale Metal is GA for Postgres — PlanetScale AI-Powered Postgres index suggestions — PlanetScale $5 PlanetScale is live — PlanetScale Announcing Vitess 23 — PlanetScale $50 PlanetScale Metal — PlanetScale Report on our investigation of the 2025-10-20 incident in AWS us-east-1 — PlanetScale $5 PlanetScale — PlanetScale Benchmarking Postgres 17 vs 18 — PlanetScale Larger than RAM Vector Indexes for Relational Databases — PlanetScale Processes and Threads — PlanetScale PlanetScale for Postgres is now GA — PlanetScale Postgres High Availability with CDC — PlanetScale Announcing Neki — PlanetScale
Partnering with Cloudflare to bring you the fastest globa...
Mike Coutermarsh · 2025-09-24 · via Blog — PlanetScale

Mike Coutermarsh |

We are excited to announce that we're partnering with Cloudflare to bring you the easiest way to ship full-stack applications backed by Postgres or MySQL. You can now seamlessly connect Cloudflare Workers to your PlanetScale databases using our new native integration.

PlanetScale Cloudflare connect

Cloudflare's mission is to build a better internet through improved security, better performance, democratized internet infrastructure, and improved reliability. This deeply resonates with PlanetScale's mission: bring you the fastest, most scalable, and most reliable databases without compromising on developer experience.

This partnership delivers immediate benefits for your applications:

  • Faster setup: Connect your PlanetScale database to Cloudflare Workers with Hyperdrive in just a few clicks
  • Optimized performance: Leverage Hyperdrive's connection pooling and query caching with PlanetScale's global infrastructure
  • Reduced latency: Bring your database closer to your users with intelligent edge caching
  • Better reliability: Combine PlanetScale's database reliability with Cloudflare's global network

The PlanetScale and Cloudflare stack

If you want your application to be fast, you must include the database in that equation.

Combining Cloudflare Workers, Hyperdrive, and PlanetScale relational databases allows you to build modern globally distributed applications without worrying about database connection limits or latency. Your Workers run globally at the edge, Hyperdrive provides intelligent connection pooling and caching, and PlanetScale delivers ultra fast and reliable databases for both Postgres and MySQL/Vitess.

Together, this powerful combination enables you to build data-driven applications that perform like they're running locally for users everywhere. This integration is especially helpful if you already use Cloudflare Workers to access your database, are facing connection limits and connection pooling issues for serverless applications, or want to reduce database latency for global users.

How to use it

The integration is available for both Postgres and Vitess databases. Before getting started, make sure you have a Cloudflare account with Workers enabled and a PlanetScale account.

You can get started either from the Cloudflare dashboard or the PlanetScale dashboard. To connect to your Cloudflare application from the PlanetScale dashboard:

  1. Head to the PlanetScale dashboard.
  2. Create a new database or select the database you'd like to connect to.
  3. Click "Connect".
  4. Create a new User-defined role with the necessary permissions (this will depend on how you're using Cloudflare Workers)
  5. Click "Create role".
  6. Select "Cloudflare" from the connection options below.
  7. Follow the instructions in the dashboard to finish connecting your Cloudflare account.

If you have any questions, reach out to our support team. We look forward to seeing what you build!