开发者

Xmpp server to server using protobuf

开发者 https://www.devze.com 2023-01-14 16:20 出处:网络
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 sa

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 bandwid开发者_开发问答th 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消