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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

High Available Mosquitto MQTT on Kubernetes

51 点作者 jandeboevrie8 天前

3 条评论

zrail4 天前
To preface, I&#x27;m not a Kubernetes or Mosquitto expert by any means.<p>I&#x27;m confused about one point. A k8s Service sends traffic to pods matching the selector that are in &quot;Ready&quot; state, so wouldn&#x27;t you accomplish HA without the pseudocontroller by just putting both pods in the Service? The Mosquitto bridge mechanism is bi-directional so you&#x27;re already getting data re-sync no matter where a client writes.<p>edit: I&#x27;m also curious if you could use a headless service and use an init container on the secondary to set up the bridge to the primary by selecting the IP that isn&#x27;t it&#x27;s own.
评论 #44022436 未加载
评论 #44024117 未加载
andrewfromx4 天前
when dealing with long lasting TCP connections, why add that extra layer of network complexity with k8s? I work for a big IoT company and we have 1.8M connections spread across 15 ec2 c8g.xlarge boxes. Not even using a NLB just round-robin DNS. Wrote our own broker with <a href="https:&#x2F;&#x2F;github.com&#x2F;lesismal&#x2F;nbio">https:&#x2F;&#x2F;github.com&#x2F;lesismal&#x2F;nbio</a> and use a packer .hcl file to make the AMI that each ec2 box boots. Using <a href="https:&#x2F;&#x2F;github.com&#x2F;lesismal&#x2F;llib&#x2F;tree&#x2F;master&#x2F;std&#x2F;crypto&#x2F;tls">https:&#x2F;&#x2F;github.com&#x2F;lesismal&#x2F;llib&#x2F;tree&#x2F;master&#x2F;std&#x2F;crypto&#x2F;tls</a> to make nbio work with TLS.
评论 #44022789 未加载
评论 #44032250 未加载
评论 #44023559 未加载
oulipo4 天前
Wouldn&#x27;t more modern implementations like EMQx be better suited for HA ?
评论 #44021901 未加载
评论 #44021434 未加载
评论 #44021398 未加载
评论 #44021174 未加载