How to Build Data-Driven Apps with Cloudflare Workers and PostgreSQL
HTML-код
- Опубликовано: 29 окт 2024
- In this video tutorial, we'll use Cloudflare Workers to deploy a REST API for querying and creating data from a PostgreSQL database. As one of the most popular open-source SQL databases in the world, PostgreSQL is a great choice to build your applications on. By using Workers and postgrest-js to interface with your database, you can expose a highly scalable and performant endpoint for clients to access, without needing to make your database available to the public web.
Check out the blog post on our blog to learn more: blog.cloudflar...
The text version of this tutorial is available in the Cloudflare Workers documentation: developers.clo...
---------------------------------------
Deploy serverless code instantly across the globe to give it exceptional performance, reliability, and scale, with Cloudflare Workers.
Cloudflare Workers: cfl.re/Cloudfl...
Cloudflare Workers Docs: cfl.re/Workers...
#CloudflareWorkers
Can you explain more about the database connection to the workers? Are the workers traversing the internet to reach the db instance? I can't imagine that's good for latency
Thank you Kristian, I like cloudflare tunnel and your explanation!!!
How can you set a permanent tunnel name? It's very unconvinient that the tunnel name regenerates when the docker compose restarts
Doesn’t this go against the nature of CloudFlare Workers?
Workers are designed to run at the edge, while a Postgres DB is located in a single place.
Im comfusing too