High Performance Postgres with Rust, Cloudflare & Hyperdrive

Published: 14 October 2024
on channel: James Eastham
3,716
67

Hello developers and architects, I'm James!

In this video, you'll explore how to efficiently connect Cloudflare Workers to external relational databases. Learn about Cloudflare's Hyperdrive service to enhance performance and reduce load.

You'll connect a Rust application to a Postgres database using Hyperdrive. Discover the ins and outs of setting up a secure and performant system while tackling the unique challenges of Cloudflare's global footprint and the scaling behaviour of serverless functions.

00:00 - Introduction and Overview
00:27 - Challenges of Connecting to External Databases
01:06 - Introducing Cloudflare Hyperdrive
01:24 - Setting Up Database Connections in Rust
03:21 - Direct Connection to Postgres Database
05:57 - Enhancing Performance with Hyperdrive
09:23 - Local Development and Testing
11:09 - Performance Testing and Results
13:23 - Troubleshooting and Best Practices
15:44 - Conclusion and Next Steps

Links
GitHub Repo - https://github.com/jeastham1993/serve...
Exograph Article - https://exograph.dev/blog/wasm-pg-exp...
Hyperdrive - https://developers.cloudflare.com/hyp...
Neon Serverless Postgres - https://neon.tech/
Workers RS - https://github.com/cloudflare/workers-rs
Twitter -   / plantpowerjames  
LinkedIn -   / james-eastham  
Website - https://jameseastham.co.uk


On this page of the site you can watch the video online High Performance Postgres with Rust, Cloudflare & Hyperdrive with a duration of hours minute second in good quality, which was uploaded by the user James Eastham 14 October 2024, share the link with friends and acquaintances, this video has already been watched 3,716 times on youtube and it was liked by 67 viewers. Enjoy your viewing!