使用 protobuf 的 Xmpp 服务器到服务器

发布于 2024-09-17 10:32:52 字数 217 浏览 6 评论 0原文

我的任务是创建一个具有低带宽服务器到服务器连接的短信系统。其他开发人员已经使用 protobuf 在这些相同的服务器位置之间发送系统其他部分的数据,并且对于文本消息部分继续这种趋势将很有帮助。服务器到客户端的连接不受带宽限制。如果能够使用未经修改的聊天客户端和 openfire xmpp 服务器,那就太好了。

在这种情况下,哪个编程更好,是用于 openfire 的组件还是用于 Kraken 的传输?

I am tasked with creating a text messaging system with low bandwidth server to server connections. The other developers already use protobuf to send data for other parts of the system between these same server locations, and it would be helpful to continue that trend for the text messaging portion. Server to client connections are not bandwidth constrained. It would be great to be able to use an unmodified chat client and openfire xmpp server.

What is better to program in this situation, a component for openfire or a transport for Kraken?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

对岸观火 2024-09-24 10:32:52

您是否尝试过在服务器到服务器链接上启用 XEP-138 压缩?即使 OpenFire 不支持 XEP-138,它也很容易添加,并且应该提供比几乎任何原始的 protobufs 翻译更好的结果。

Have you tried enabling XEP-138 compression on the server-to-server link? Even if OpenFire doesn't support XEP-138, it will be easy to add, and should provide better results that almost any naive translation to protobufs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文