Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

I think we can definitely add that

I think we can definitely add that language to the docs. Appreciate the suggestions!

Our Cloudflare Worker (backed by

Our Cloudflare Worker (backed by Hyperdrive) had a big spike in Errors and Wall Time today starting at around 10:30am PT today. On Hyperdrive, I don't see any spikes in latency, but I did see a couple errors in each of our Hyperdrive instances at ~10:30am PT. Struggling a little with how to debug or fix this - most traffic is fine, but our P999 wall time jumped to 70k ms. All of our backing databases are completely normal, and I'm able to query Hyperdrive normally locally

I'm now fairly convinced that it was a

I'm now fairly convinced that it was a Hyperdrive issue. As a hot-fix, I just deployed with a raw postgresjs client (no hyperdrive) and the errors stopped

Hi! I discovered that Hyperdrive has not

Hi! I discovered that Hyperdrive has not been functioning properly since around 04:00 UTC on March 10.
It seems that the connection pool is insufficient, so I increased the pool size in Supabase. However, I am still encountering a "Connection terminated unexpectedly" error. No changes have been made to the code, and I have confirmed that connecting directly to the Supabase database using the connection string from a local environment works without any issues.
Would it be possible to get some assistance regarding this issue?...
No description

The link in the changelog is `https://

The link in the changelog is https://developers.cloudflare.com/hyperdrive/platform/changelog/(https://www.cloudflare.com/ips/

neon branches

i am using neon. i use neon branches for local development. when i set my neon branch connection string in .dev.vars (WRANGLER_HYPERDRIVE_LOCAL_CONNECTIONSTRING<BINDING>=neon branch connection string) and run wrangler dev. it recognizes my environment variable Found a non-empty WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING variable for binding. Hyperdrive will connect to this database during local development. now when i get the connection string from the binding (BINDING.connectionString), it returns a hyperdrive.local host instead of my neon connection string....

Hi All, any idea when we can expect

Hi All, any idea when we can expect MySQL support

Closed connections

We have started seeing an increased number of Error: write CONNECTION_CLOSED <id>.hyperdrive.local:5432 which look like peer timeouts from our DB side in the last couple of weeks (maybe more recently?)

@AJR Hmm, I _think_ I _may_ have found a

@AJR Hmm, I think I may have found a pretty bad bug. When you reconnect, are you doing a fresh DNS lookup, or are you maybe accidentally using a cached entry?

Yes, that is correct. We've kicked

Yes, that is correct. We've kicked around opening it up more, but have not committed to that yet. Hyperdrive operates as a standalone service, so it is technically possible, though would take some work. If you're willing to discuss your use case a bit, it'd help us as we evaluate....

Regional routing issue

Are there any plans for supporting custom connection limits per region? Right now we seem to be hitting that limit and losing performance by being routed to a nearby region.

I have digital ocean and azure credits

I have digital ocean and azure credits to burn and the latter seem to be priced crazily so would be ideal! 😀 Maybe if there is no solution with public there is one with private connection? I’d be open to using d1 instead also but I have about 50gb of data already so I don’t know if limits can be increased to say 100gb (for future scale)...

Connections closed

Hello, Currently i'm using hyperdrive with direct connection to supabase. But sometimes i got Database error: Error: write CONNECTION_CLOSED 86ec870f264501983a0.hyperdrive.local:5432 ...

Hey folks! We announced the new

Hey folks! We announced the new automatic configuration for Hyperdrive's support for private databases over tunnels. You may have caught this previously, but now you only need to setup your tunnel in your virtual network/VPC where you can access your database, and then Hyperdrive will automatically configure the tunnel to be restricted to Hyperdrive https://developers.cloudflare.com/changelog-next/2025-01-28-hyperdrive-automated-private-database-configuration/...
No description

Drizzle connections

Hi, I'm using Hyperdrive + Neon + Drizzle, and I've an issue: I've to connect a new connection (const db = drizzle()...) for each query, in the same "request/worker" execution. When I not use Hyperdrive, I can have a singleton of drizzle and do multiples queries. I'm use thats imports: import { drizzle, NodePgDatabase } from "drizzle-orm/node-postgres"; ...

Hyperdrive without workers?

Would be quite interested.

@thomasgauvin I'm actually implementing

@thomasgauvin I'm actually implementing as well, are you available for another calendar slot?
Next