I was surprised to see such miserable measured latency to Fly, but then I saw this note: > The primary region of our server is Amsterdam, and the fly instances is getting paused after a period of inactivity. After they configured Fly to run nonstop, it outperformed everyone by 3x. But it seems like they're running the measurement from Fly's infrastructure, which biases the results in Fly's favor. Also weird that they…
Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
31–40 of 43 posts
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#32I feel like this title is misleading compared to the original article. (cc @dang) Fly.io without cold starts (which is a one-line configuration change) is 2x faster than Cloudflare Workers.
Isn't the whole point to not have a constant function running and waiting?
On the other hand, if you want lowest possible latency, and the ability to run normal Linux applications (rather than being confined to the Cloudflare Worker limits, e.g. maximum worker size is 10MB), something like Fly.io is pretty nice: it's even lower latency than Cloudflare assuming you keep the machines running, and scaling up/down is relatively quick although not something you'd generally be doing every few seconds.
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#33OP's note about Johannesburg's latency is something I've noticed over the past few weeks in particular. Our servers are hosted in South Africa, yet accessing most of our sites and services from within South Africa causes traffic to be re-routed via other nodes, mostly London (LHR). This is easy to verify by appending cdn-cgi/trace onto a Cloudflare-proxied domain. Something is definitely up with Cloudflare's Johannes…
I don't recall Cloudflare routing request to their free clients differently than paid, but I've read multiple reports of that happening recently. Change in policy or fallout from something else?
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#34I was surprised to see such miserable measured latency to Fly, but then I saw this note: > The primary region of our server is Amsterdam, and the fly instances is getting paused after a period of inactivity. After they configured Fly to run nonstop, it outperformed everyone by 3x. But it seems like they're running the measurement from Fly's infrastructure, which biases the results in Fly's favor. Also weird that they…
I'm not aware of P50s having ever been a relevant performance metric in latency. The focus of these latency measurements were always the expected value for most customers, and that means P90-ish.
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#35Very odd that AWS Lambda/Google Cloud Functions weren't tested. Those CF numbers are impressive though, they beat Lambda cold start by a mile.
They always will; starting an Isolate in v8 will always beat a Docker or VM start. They only work with Javascript, but if you're okay with that, then you will have tiny cold start times.
Is that the case though? AWS is upfront in how their nodejs lambdas being the preferred choice for low overhead, low latency, millisecond workloads, and as they also control the runtime I'd be surprised if they followed the naive path you're implying of just running nodejs instances in a dumb VM.
Hell, didn't AWS just updated the way they handled JVM lambdas to basically not charge for their preemptive starts and thus make them look as performant as nodejs ones?
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#36OP's note about Johannesburg's latency is something I've noticed over the past few weeks in particular. Our servers are hosted in South Africa, yet accessing most of our sites and services from within South Africa causes traffic to be re-routed via other nodes, mostly London (LHR). This is easy to verify by appending cdn-cgi/trace onto a Cloudflare-proxied domain. Something is definitely up with Cloudflare's Johannes…
Only remaining support channel is their community forums. Whether you'll get an official response is another question. I don't recall Cloudflare routing request to their free clients differently than paid, but I've read multiple reports of that happening recently. Change in policy or fallout from something else?
Users in the UK having their traffic sent to Australian Cloudflare DC Workers was quite the round-trip/tromboning-a-go-go...
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#37I was surprised to see such miserable measured latency to Fly, but then I saw this note: > The primary region of our server is Amsterdam, and the fly instances is getting paused after a period of inactivity. After they configured Fly to run nonstop, it outperformed everyone by 3x. But it seems like they're running the measurement from Fly's infrastructure, which biases the results in Fly's favor. Also weird that they…
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#38(Render CEO) Our free services are meant for personal hobby projects that don't need to stay up all the time; I'd love to see tests (and uptime monitoring) for the $7/mo server on Render. Happy to give you credits if it helps.
But it's not all about latency a real world application will be different for sure !
send us an email at ping@openstatus.dev :)
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#39Those Fly.io p99 latencies are atrocious. 2.6s P99 compared to CloudFlare 1.0s. Neither one seems particularly great at first glance, but the CloudFlare worker latency does seem on par with Lambda from previous experience (I have not tested Lambda@Edge or CloudFront Functions).
Re: Monitoring latency: Cloudflare Workers vs Fly vs Koyeb vs Railway vs Render
#40OP's note about Johannesburg's latency is something I've noticed over the past few weeks in particular. Our servers are hosted in South Africa, yet accessing most of our sites and services from within South Africa causes traffic to be re-routed via other nodes, mostly London (LHR). This is easy to verify by appending cdn-cgi/trace onto a Cloudflare-proxied domain. Something is definitely up with Cloudflare's Johannes…
I’ve seen this a couple times before not just CF but other ISP too. Must be something funky with peering politics in SA perhaps