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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Cloudflare Pub/Sub: Programmable MQTT Message Brokers

128 点作者 elithrar大约 3 年前

13 条评论

losvedir大约 3 年前
Wow, another neat Cloudflare release. Is there some sort of &quot;innovation week&quot; type thing going on right now?<p>One question that the example given raises for me, is how to manage that function I see there in a robust, &quot;proper software engineering&quot; sort of way. This has been a challenge for me on AWS when trying out Lambdas. The individual pieces are cool, but the system that connects them all together is a little opaque. How do you version control the code? How do you keep track of which pieces work with which other pieces?<p>We use terraform to manage the AWS resources, but it&#x27;s kind of clunky, and not official. Is there some Cloudflare-supported way to maybe declaratively define your different resources?<p>Someone who has built a somewhat complex app with a lot of workers, and durable objects, and different pieces of the ecosystem: how do you manage that? How do people review changes?<p>Since it sounds like from another comment that Cloudflare dogfoods its own services internally, I&#x27;m curious if there&#x27;s a write-up about how they actually do so? The little function code snippets give a nice taste of the code a worker might run, but that&#x27;s still kind of a long way clearing up for me how you would actually use this in practice in a standard production environment.
评论 #31357364 未加载
评论 #31355988 未加载
评论 #31355362 未加载
评论 #31355008 未加载
0xy大约 3 年前
Cloudflare is really fast putting the pieces together to become a modern simpler AWS. By focusing on edge networks and programmability from the start they&#x27;ve been able to outmaneuver AWS in product development and pricing.<p>AWS today is stable, reliable but expensive and rigid. A lot of their products feel like they&#x27;ve been taken out of the oven 15 minutes too early. AppSync, API Gateway, CloudFormation and others all feel lethargic, stagnant or not fit for purpose in the current world.<p>I don&#x27;t think AWS is in a position to compete with Cloudflare&#x27;s strategy without massively slashing bandwidth prices and improving their product development. They also aren&#x27;t really a credible edge platform. Lambda@Edge is really bad, CloudFront is slow and terrible compared to Akamai, Fastly and Cloudflare (and Amazon&#x27;s retail business doesn&#x27;t even use it -- because it sucks).<p>Super interesting to watch. ($NET shareholder)
评论 #31354175 未加载
评论 #31353888 未加载
shikivi大约 3 年前
Pub&#x2F;Sub, Workers, KV, Durable Objects, R2... yes, these all sounds promising. Awesome tool for developers. But there is one huge obstacle in the middle that prevents most to actually try this stack.<p>Logs and Account Access control.<p>Cloudflare is a very powerful platform, you can&#x27;t let everyone be Admin. If you run anything, you need to be able to see logs it to ship it somewhere.<p>For some reason, Cloudflare thinks that these are enterprise feature. I got news for you, these are basic features for anyone who wants to build more than just a simple script for individual use.<p>You work so hard to build these features but let only a small subset of users really do anything meaningful with it
评论 #31357010 未加载
评论 #31362044 未加载
评论 #31356565 未加载
评论 #31356735 未加载
VectorLock大约 3 年前
I like how Cloudflare is taking a serious run at AWS.<p>And you can&#x27;t even subscribe a program to a SNS topic and Cloudflare is giving us pub&#x2F;sub.
评论 #31355947 未加载
评论 #31361476 未加载
评论 #31364726 未加载
rafaelturk大约 3 年前
Not clear for me if I can `push` messages from my backend to client? At lest for me this is a killer feature.
评论 #31354423 未加载
haroldadmin大约 3 年前
I like that Cloudflare is steadily becoming a serious alternative to the existing cloud providers. If you folks can build a decent IAM tool for access control to Cloudflare resources, much more people will start using your services.
fasteo大约 3 年前
cloudflarer around here ?<p>Did you wrote the MQTT broker from scratch or are you using some existing broker (Mosquitto , Nanomq, etc). Just curious.
评论 #31354317 未加载
VirusNewbie大约 3 年前
huh, Fastly is doing pub&#x2F;sub lately too with fanout now:<p><a href="https:&#x2F;&#x2F;www.fastly.com&#x2F;blog&#x2F;fastly-fanout-why-real-time-messaging-and-edge-computing-are-an-amazing-combination" rel="nofollow">https:&#x2F;&#x2F;www.fastly.com&#x2F;blog&#x2F;fastly-fanout-why-real-time-mess...</a>
eska大约 3 年前
Since you guys seem to be using Rust, what client library do you recommend for MQTTv5 support?
评论 #31373217 未加载
hack_tmmm大约 3 年前
This is such a wonderful news
knodi大约 3 年前
I love it!! There needs to be more message brokers as a service providers.
michaelrhansen大约 3 年前
How many of these commenters work at Cloudflare? :)
anonymousDan大约 3 年前
How does this compare to something like Ably?