Edge Computing with Cloudflare Workers
Cloudflare Workers database integration with Upstash

Cloudflare Workers database integration with Upstash

8/2/2023 · Joaquin Gimenez, Shaun Persad

What this post added

This post introduces the integration of Cloudflare Workers with Upstash databases (Redis, Kafka, QStash) via an OAuth2 flow. It details the setup process within the Workers settings and provides a practical implementation example using Upstash Redis to serve localized greetings based on the `cf-ipcountry` header. It also discusses performance optimizations like Smart Placement and Global Databases.

Read the original post ↗