Alex
Explore posts from serversCDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
I am a MySQL guy, but I've heard people getting some crazy mileage out of their pgBouncer setups.
I eventually for my use case need to switch to KV or D1 maybe but Hyperdrive is performing excellent as an inbetween.
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
Awesome, I appreciate the details. Really cool tech 🙂 And makes total sense too. Very reasonable. I never had a use for soo many connections since I've never run my database so globally. If you take into account how many CF DC there are, 120 max is downright low 😛
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
This makes sense! So am I making Hyperdrive's job harder/impossible now with my self-imposed connection limit?
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
And I assumed this read the max_connections setting from my database, but maube this is more special casey for the serverless databases or something.
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
Ah yeah this part I read: https://screen.bouma.link/mRPRzdKlgdgMcbf5852p
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
Yeah I should've done that immediately, this is on me 🙂
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
I somehow read the ~20 connections and also read that it woult take any max connection limits into account. But I now see that this page says it can go up-to ~100 connections https://developers.cloudflare.com/hyperdrive/platform/limits/
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
Ah, it went to 48 total. But my server is limited to 51 connections I believe
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
I've now been smart and added a limit on the hyperdrive MySQL user to prevent this from happening. But it seems like for some reason Hyperdrive is maintaining a far larger connection pool then before. And this time all actively used, last time many were idle for hours. Not the case now. No change in traffic to the worker.
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
This time no very old connections. Just many of them.
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
It is supposed to not do that right?
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
Damn. We went so well... just took down my application fully again by exhausting the connection limit. https://paste.chief.tools/a1ce4bd1-7d96-43d3-9fca-19d97f9c4b74/markdown
77 replies
CDCloudflare Developers
•Created by Alex on 4/23/2025 in #general-help
Insecured notice when visiting site sometimes
And I know the person seeing it the most defintly is using Chrome and also incognito mode a lot
11 replies
CDCloudflare Developers
•Created by Alex on 4/23/2025 in #general-help
Insecured notice when visiting site sometimes
Interesting, not using Chrome so that would explain why I'm not seeing it
11 replies
CDCloudflare Developers
•Created by iamjoey.sol on 4/24/2025 in #general-help
Limit Exceed
Not seeing a daily limit here: https://developers.cloudflare.com/browser-rendering/platform/limits/. but the workers paid plan (5 bucks a month) does get you increased limits. Otherwise you can request limit increases. You are not being billed for browser rendering separately yet.
2 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
For sure. I run a url shortener (also don’t know why, side project gone wild) @ tny.app. It allows custom domains. I am using fly.io for that infrastructure to have some global-ish coverage (unfortunately not using Cloudflare for SaaS because pretty costly and need enterprise for apex routing) but all requests went back to AMS to talk with my application servers. I’ve now replicated the redirect code serving redirects directly from the worker hence why I needed Hyperdrive to make this change super easy without duplicating my data to KV. And with the added caching it’s now pretty fast all around the world compared to just the fly.io->AMS it now goes fly.io->CF->AMS(Hyperdrive)
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
9k errors sounds like a lot but a lot is invalid request methods and things like that. Hyperdrive has been rock solid!
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
This is over the past 7 days
77 replies
CDCloudflare Developers
•Created by Alex on 4/14/2025 in #hyperdrive
Screenshot 2025-04-14 at 03.56.10
So this is going great. https://screen.bouma.link/LjQP9fhwVm51fx60LNbf
77 replies
CDCloudflare Developers
•Created by Alex on 4/23/2025 in #general-help
Insecured notice when visiting site sometimes
It's set to 1.2, not changed recently and users are all on modern devices from what I can tell.
Would there be a condition where this might cause a temporary issue with accessing https?
11 replies