aperture147 4 hours ago

It’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 are painful to migrate. Configs that worked in Wrangler 3 didn’t carry over cleanly to Wrangler 4, and it feels like Wrangler 5 will introduce yet another interaction model.

  • itake 4 hours ago

    Where do you see that "pages seems to be on the way out"? I use pages for a few projects...

    • aperture147 4 hours ago

      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.

      • pjc50 3 hours ago

        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.

        • rajeevk an hour ago

          Not the domain registry but CF wants to manage the DNS to make it work. If you do not want them to manage your DNS and want to work by simply pointing your CNAME, they ask you start with their business plan ($250 / per month)

    • csomar 2 hours ago

      I didn't find it hard to migrate. Pages are workers, so might as well just use a worker.

      • __jonas 29 minutes ago

        Just to note because I was confused by this:

        I was under the impression that workers are just lambda functions, and therefore would fall under different billing rules than pages which serve static files (with unlimited bandwidth).

        But workers apparently have a 'Static Assets' feature that just serves static assets (like pages) and comes with free unlimited requests, unlike worker function invocations, so as you say it seems to be essentially the same as pages.

        https://developers.cloudflare.com/workers/static-assets/

        • csomar 20 minutes ago

          What I meant the same as worker, is that under the hood, pages are just workers. The Static Assets feature was probably added because the by-request billing wouldn't make any sense for static assets.

      • kelvinjps10 2 hours ago

        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

        • csomar an hour ago

          Generate the files locally and then push them to the worker? Even with a JS based SSG that's the only way to do it and the difference between worker and pages. (workers have no build step)

  • TiredOfLife 2 hours ago

    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

    • refulgentis 2 hours ago

      Theo knowing what he’s doing died for me when he did a dive into this fancy new data format OpenAI started using to stream responses from the server and how wasteful it is (SSE) (and this was in 2025)

      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.

jrpelkonen 14 minutes ago

Great write up, focusing on facts without fingerpointing.

But I must admit I was somewhat surprised Cloudflare was not already proactively monitoring and tuning the generation sizes. Configuring the generation sizes was table stakes for JVM performance tuning back in the day.

  • ErikCorry 6 minutes ago

    We choose to be transparent when we fix stuff, even if it makes us look a bit silly :-) . We are certainly installing more logging and tracking of this sort of thing!

    In general I think the GC should auto-adapt as much as possible. It's a bit of an admission of defeat for the GC author if the users have to spend a lot of time tuning the parameters. What we are doing here is removing the tuning that was no longer correct, and allowing V8 more latitude to pick its own young gen size.

l5870uoo9y 5 hours ago

I am in the process of porting my web app[1] from NextJS hosted at Vercel to Astro/React hosted at Cloudflare, and something that particularly surprises me is that I can render a web app on every request at “the edge” and have response times of 100-200ms. That is almost as fast as fully static pages.

I have also definitely noticed an improvement in Cloudflare Worker over the last few weeks; cold starts have practically disappeared, and they are significantly more stable in terms of response times.

[1]: https://app.sqlai.ai/

  • steelbrain 4 hours ago

    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!

    • l5870uoo9y 3 hours ago

      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) and that it mainly needs more traffic to calculate optimal endpoint placement.

      • lukecarr 3 hours ago

        Have you given Hyperdrive[0] a try? In theory, it should improve performance in your use case where you have a central database (Railway) being connected to from the Edge (your Workers).

        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!)

        [0]: https://developers.cloudflare.com/hyperdrive/

      • pjc50 3 hours ago

        So a remote, authenticated DB connection over the internet? How many db queries per page generation does that generally work out as?

syrusakbary 14 hours ago

I really appreciated that the tone of the article is about what can be improved, rather than dunking on the competition.

That's what everything is about!

PS: It's awesome to see improvements on the OpenNext implementation, that other providers can also reuse

zeroq 10 hours ago

This is great PR. Well done to whoever orchestrated that post.

  • mpeg 30 minutes ago

    To give a take from a happy cf customer – not only do they have a great engineering culture when it comes to writing blog posts and OSS but also the best customer service of any infra company I've ever used.

    The team, including kenton who wrote this post, are often available on discord to provide help and take in feedback about cf products, if you find a bug or have a problem you can often be talking directly to the engineer who looks after that product. I've made PRs and feature suggestions on cloudflare products that got accepted without much hassle / protocol

    Don't mean to put down others, but I receive better support from cf on an extremely small monthly bill (the free tier is too good) than I have got from a certain massive company's account managers on six figures a month bills.

  • kentonv 9 hours ago

    Thanks! This was 100% produced and orchestrated by engineers on the Workers team (including me).

    • zeroq 9 hours ago

      Well, that only speaks better of higher ups who (a) offered you a space to that and (b) didn't micro managed you into something, like vercels hate piece.

      Again, well played, nice fix, nice writeup.

      • eastdakota 7 hours ago

        Blog run by the engineering team. I wouldn’t even know how to veto a post if I wanted to. Not in our DNA.

        • Waterluvian 6 hours ago

          Is there any secret beyond what I’m guessing is “hire the right people and then trust them”?

hu3 10 hours ago

My take from this article is that SvelteKit is crazy fast and Next.js is a snail

  • eastdakota 7 hours ago

    That definitely is one not-wrong conclusion.

  • FlyingSnake 6 hours ago

    I hope a pragmatic framework like SvelteKit, Astro or TanStack replace NextJS complexity vendors soon.

    • rk06 3 hours ago

      React router is ... an option. but tanstack is a the most promising one to change the status quo.

      With the rolldown update coming with vite 8, It is just a matter of time before next. js is forced to fix its issues

cendyne 6 hours ago

Absolute adoration for how this was published, broken down, and discussed. It really improves my trust in the workers team at Cloudflare.

pyrolistical 10 hours ago

This is why we need competition and independent benchmarks.

This shames poor performing product/service into action.

  • alhirzel 6 hours ago

    Only if they care...

  • aiisthefiture 6 hours ago

    We already have independent benchmarks.

Havoc 11 hours ago

Good job on taking the L gracefully and doing something constructive about it

synunlimited 12 hours ago

Speaking of `JSON` functions that can have drastic performance differences, V8 blog[0] recently had a post about improving `JSON.stringify` performance when you don't pass a `replacer` function. Some of the most used functions with performance pitfalls that are easy to trip into.

0: https://v8.dev/blog/json-stringify

nisten 12 hours ago

nextjs being 4 times slower latency wise than plain react or even vanilla js is pretty funny

  • kentonv 12 hours ago

    The benchmark cases are not comparable to each other. Each does totally different work. They are only meant to compare hosting providers.

    • kentonv 12 hours ago

      Correction: The author of the SvelteKit benchmark says it is designed to do the same work as the Next.js one: https://x.com/bmdavis419/status/1978242304432325041

      But the "vanilla" benchmark generates some 3x as much HTML and the react one generates half, so they aren't comparable.

  • zeroq 10 hours ago

    nextjs is spring of the web, it optimizes productivity rather than app speed.

    and whether you are more productive with it or not is completely up to you.

boarush 5 hours ago

Reading this really makes me wonder how does Chrome actually optimize for the plethora of devices running v8 (under Chrome). Definitely involves tricky decisions to be taken for great performance.

skeptrune 14 hours ago

I loved this! Good writeup and very mature response to lots of criticism they took online prior.

youngtaff an hour ago

Nice bit of subtle shade here:

> we chose instead to run our test client directly in AWS's us-east-1 datacenter, invoking Vercel instances running in its iad1 region (which we understand to be in the same building).

bradleyg_ 12 hours ago

Well played Cloudflare.

orliesaurus 12 hours ago

cf has to hire people with obsession not benchwarmers that only activate when someone yells at them because of a twitter argument. there i said it.

vercel only exists because cf got lazy. huge fan of CF, and if cloudflare had the attention to details that vercel has, there would be no vercel. fullstop.

CFs docs, repos, video content but also code samples, sdks (lol all the mcp stuff) usually is subpar to vercel's.

its really annoying that nextjs has to be forked and/or patched to work on cloudflare.

  • weird-eye-issue 10 hours ago

    CF isn't lazy at all. Their docs often aren't that great but it's because they seem to be prioritizing launching new products and features

    • nmfisher 9 hours ago

      Overall I'm quite positive towards core Cloudflare products like Tunnels, Workers, R2, KV etc, but a lot of newer products are often either thoroughly broken (e.g. Cloudflare AI) or unusable due to insufficient documentation (e.g. Email Routing).

      After being burned a few times, I think I'm going to ignore any new Cloudflare product for 12 months after stable release. If their products worked as advertised, I'd be willing to pay considerably more. I think their commitment to the free tier is hamstringing them a little bit.

      • weird-eye-issue 6 hours ago

        Yeah I just use Workers and Durable Objects. Stuff like Queues built on DO is better to just use DO

      • orliesaurus 9 hours ago

        I also got burned and yes I also feel this way about it, i.e. AutoRAG has huge issues too, not to mention the whole MCP/Agents suite of SDKs...

PranaFlux 15 hours ago

Grab the popcorn, the Vercel v Cloudflare drama unfolds