TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Code Everywhere: Why We Built Cloudflare Workers

44 点作者 somecoder超过 7 年前

6 条评论

dx034超过 7 年前
&gt; the most peered network on the planet<p>That&#x27;s a bold claim. I&#x27;d expect Akamai, Google and Amazon to be peered at more locations, maybe even more. Or have they become that big?
评论 #15365924 未加载
cavisne超过 7 年前
Very similar to lambda@edge<p>Trade offs I see<p>* Cloudflare is probably slightly closer to customers, but cloudfront is still very close<p>* lambda@edge should be cheaper with amazons scale and ecosystem<p>* cloudfront itself is very expensive compared to Cloudflare, almost every project can integrate Cloudflare and use this, where small projects don’t really make sense for cloudfront
评论 #15368680 未加载
Matheus28超过 7 年前
It would be amazing if those workers supported WebSockets. Running game servers in them would be tempting, as long as they don&#x27;t charge exorbitant prices for bandwidth.
评论 #15374648 未加载
评论 #15449571 未加载
kennethh超过 7 年前
This is pretty interesting, especially if one get some kind og local storage where one can cache the data from the users and also keep some extra data one need to handle the requests. One can also imagine some kind of MQ solution that distribute to the edges and then updates the clients (for games and such scenarios)
评论 #15365579 未加载
remline超过 7 年前
How does this deal with proxy loops?<p>As an example, I would assume worker is making requests with the internal view of the site, but can not have an internal view of other sites or security problems would ensue.. So what happens when two of my sites have service workers fetching something from each other on each request?
评论 #15369921 未加载
Navarr超过 7 年前
Summary: Service Workers on the Edge Server.<p>Very interesting, especially since it allows for a Cloudflare ESI system.<p>Wonder if many will take advantage of it
评论 #15365704 未加载