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

推荐订阅源

Y
Y Combinator Blog
博客园_首页
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Help Net Security
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
A
About on SuperTechFans
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
月光博客
月光博客
云风的 BLOG
云风的 BLOG
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
C
Check Point Blog
V
V2EX
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog

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!