TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cloudflare Workers

93 pointsby taytusalmost 6 years ago

13 comments

rita3koalmost 6 years ago
Hi! I'm the PM for Cloudflare Workers. Happy to answer any questions about our announcements, or Workers in general.
评论 #20076912 未加载
评论 #20075161 未加载
评论 #20074784 未加载
评论 #20074607 未加载
评论 #20077366 未加载
评论 #20074909 未加载
评论 #20074581 未加载
评论 #20075704 未加载
评论 #20074919 未加载
评论 #20074791 未加载
JackCalmost 6 years ago
I love the idea of Workers! The catch I ran into last year was the 1MB limit for webpacked JS files. That puts many npm packages off limits -- I ended up doing some webpack magic to stub out subdependencies I didn&#x27;t need from a package that didn&#x27;t support tree shaking, which is pretty far from &quot;just works.&quot;<p>Here&#x27;s a good thread where the problem package was a SOAP library depending on &quot;request,&quot; but the same logic is easy to run into with any app: <a href="https:&#x2F;&#x2F;community.cloudflare.com&#x2F;t&#x2F;worker-size-limit-a-problem&#x2F;24849" rel="nofollow">https:&#x2F;&#x2F;community.cloudflare.com&#x2F;t&#x2F;worker-size-limit-a-probl...</a><p>The upshot is if you have an idea that would be easy with dependencies, you can&#x27;t reason about how difficult&#x2F;possible it will be with Workers until you spend some time figuring out if the dependencies can be compressed small enough to use -- and the answer may change partway through if you need to add something.
评论 #20075260 未加载
评论 #20074956 未加载
mjleealmost 6 years ago
I love the CLI example! Probably the best way I&#x27;ve seen that presented (hint, mouseover to copy&#x2F;paste.)
larzangalmost 6 years ago
We tried using a worker for a bit, and while it&#x27;s mostly very convenient, the request&#x2F;response cache API does NOT support Vary headers, which was a major dealbreaker for us.
评论 #20075243 未加载
orliesaurusalmost 6 years ago
Took them about a year but there is finally a free tier!
评论 #20075351 未加载
jgrahamcalmost 6 years ago
Announcement is here: <a href="https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;just-write-code-improving-developer-experience-for-cloudflare-workers&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;just-write-code-improving-develo...</a>
评论 #20074801 未加载
评论 #20075229 未加载
ksecalmost 6 years ago
It seems all the CDN are having their own Edge WASM &#x2F; Worker Engine out. StackPath, Fastly, Cloudflare, and I am sure there are more to come.<p>But wouldn&#x27;t very single one of these be a lock in that I cant really move freely in and out, unlike CDN.
评论 #20077538 未加载
franciscopalmost 6 years ago
I&#x27;ve been playing around with it for a project, and still need to experiment a bit more but the KV store integration might just work nicely for sessions (no strong consistency, but it seems to have it for the same session so ).<p>It has many usecases like validating a JWT, authorization for DB calls, cache layer, transforming assets, scrapping, etc. Basically the usecases where you&#x27;d normally launch a full server and be like &quot;I need a full server for that?&quot;.
apple4everalmost 6 years ago
Workers is pretty cool. I&#x27;ve work with the Worker team and Queue-It to get the later&#x27;s SDK working there. Which has been wonderful to handle traffic at the edge.<p>Two things I wish were better: package installation (you have to use a compiled package instead of the GUI interface) and general docs (Mozilla&#x27;s are okay, but not all are applicable to Workers).
paulcarrotyalmost 6 years ago
Thinking a lot about serverless blog and seems this will be helpful. Cloudflare makes many good projects last time.
评论 #20074767 未加载
vizuallyalmost 6 years ago
What are the limits of using Workers KV on different plans including the free tier?
moooffooomalmost 6 years ago
Is there something like that for python?
评论 #20076666 未加载
评论 #20078617 未加载
评论 #20075094 未加载
cbHXBY1Dalmost 6 years ago
Any plans for C++ support?
评论 #20078280 未加载