Edge Computing with Cloudflare Workers
Introducing Relational Database Connectors

Introducing Relational Database Connectors

11/15/2021 · Kabir Sikand, Greg McKeon, Ben Yule

What this post added

This post introduces support for relational databases (Postgres, MySQL) from Cloudflare Workers. It details the challenges of serverless database connections (TCP requirements, library compatibility, connection management) and outlines Cloudflare's initial approach using cloudflared tunnels and a shim-layer to adapt socket APIs. The post also highlights future plans for native TCP support, connection pooling, and global data caching, inviting developer collaboration.

Read the original post ↗