Earlier quoted context omitted.
Hello! How are you collecting your edge workload to the database? Are you using cloudflare’s database? I’ve wanted to try out this edge hosting thing but because of the amount of round trips involved between the application and the database, the application performs worse on the edge. Thanks!
The database is hosted on Railway. I have enabled Smart Placement that should, depending on request time, automatically use an endpoint closer to the database to speed it up. When requesting a route that includes a database request, the response time on the US east coast is around 200ms and closer to 1000ms in Denmark. I am hoping that the Smart Placement will work better when I go live with the app (still in beta) a…
Unpacking Cloudflare Workers CPU Performance Benchmarks
41–50 of 80 posts
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#42Earlier quoted context omitted.
Hello! How are you collecting your edge workload to the database? Are you using cloudflare’s database? I’ve wanted to try out this edge hosting thing but because of the amount of round trips involved between the application and the database, the application performs worse on the edge. Thanks!
The database is hosted on Railway. I have enabled Smart Placement that should, depending on request time, automatically use an endpoint closer to the database to speed it up. When requesting a route that includes a database request, the response time on the US east coast is around 200ms and closer to 1000ms in Denmark. I am hoping that the Smart Placement will work better when I go live with the app (still in beta) a…
It moves the DB connection logic closer to your Workers, pools connections, and can also cache queries.
(Disclaimer: I work for Cloudflare, but on an unrelated team. Not personally used Hyperdrive, but heard good things!)
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#43It’s good that CF is actually trying to improve its platform instead of blaming others for smearing its product. Still, the breakneck pace is a mixed blessing. Things change so fast it’s hard to keep up, and launches often outrun polish. The R2 Data Catalog still lacks Iceberg v3 support; Wrangler has shifted dramatically in just a few months; and Pages seems to be on the way out, leaving me with Workers Assets that…
Where do you see that "pages seems to be on the way out"? I use pages for a few projects...
> Workers will receive the focus of Cloudflare's development efforts going forwards, so we therefore are recommending using Cloudflare Workers over Cloudflare Pages for any new projects
https://developers.cloudflare.com/workers/static-assets/migr...
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#44It’s good that CF is actually trying to improve its platform instead of blaming others for smearing its product. Still, the breakneck pace is a mixed blessing. Things change so fast it’s hard to keep up, and launches often outrun polish. The R2 Data Catalog still lacks Iceberg v3 support; Wrangler has shifted dramatically in just a few months; and Pages seems to be on the way out, leaving me with Workers Assets that…
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#45It’s good that CF is actually trying to improve its platform instead of blaming others for smearing its product. Still, the breakneck pace is a mixed blessing. Things change so fast it’s hard to keep up, and launches often outrun polish. The R2 Data Catalog still lacks Iceberg v3 support; Wrangler has shifted dramatically in just a few months; and Pages seems to be on the way out, leaving me with Workers Assets that…
Where do you see that "pages seems to be on the way out"? I use pages for a few projects...
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#46My take from this article is that SvelteKit is crazy fast and Next.js is a snail
I hope a pragmatic framework like SvelteKit, Astro or TanStack replace NextJS complexity vendors soon.
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#47Earlier quoted context omitted.
Where do you see that "pages seems to be on the way out"? I use pages for a few projects...
I didn't find it hard to migrate. Pages are workers, so might as well just use a worker.
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#48It’s good that CF is actually trying to improve its platform instead of blaming others for smearing its product. Still, the breakneck pace is a mixed blessing. Things change so fast it’s hard to keep up, and launches often outrun polish. The R2 Data Catalog still lacks Iceberg v3 support; Wrangler has shifted dramatically in just a few months; and Pages seems to be on the way out, leaving me with Workers Assets that…
Fun thing is that this started because somebody claimed that Cloudflare is faster than Vercel. Then somebody who knows what they are doing did benchmarks that showed the opposite. And then worked with Cloudflare to make it faster
I don’t except everyone to know everything but it made me very careful about differentiating Theo-the-engineer from Theo-the-social-media-dude.
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#49Earlier quoted context omitted.
I didn't find it hard to migrate. Pages are workers, so might as well just use a worker.
It's hard if you don't use a JavaScript based SSG, well I didn't find how to do it with Hugo so I'll stay in cloudfare pages
Re: Unpacking Cloudflare Workers CPU Performance Benchmarks
#50Earlier quoted context omitted.
CF used to encouraged people to move to Workers instead of using Pages. They recently removed the message in their landing page that said so (just checked, you could visit Wayback Machine to verify), so I guess Pages will still be available anyway. Btw the best thing that Pages gives out is allowing people to use different domain from another domain registry when Workers force user move their domain to CF.
Workers require you to use CF as a domain registry? Where is that written and what possible reason do they give for it? That's quite an imposition.