Cretezy / d1-api

Interact with the Cloudflare D1 API outside of Cloudflare Workers
MIT License
4 stars 0 forks source link

Support Worker proxy/custom URLs #2

Open Cretezy opened 10 months ago

Cretezy commented 10 months ago

Cloudflare's API has significant latency overhead for querying D1. Querying inside a Worker does not have this extra latency.

This package should provide a ready-to-deploy Worker (similar to this) which re-implements the HTTP API's query endpoint. We can then point this package to the Worker to get better performance.

This should be an optional feature.

zigazajc007 commented 6 months ago

This might soon not be needed.

image