vircadia-native-core
vircadia-native-core copied to clipboard
Use qXMPP to improve chat system?
I saw in your recent AU Linux conference video that you are considering integrating Matrix. Please don't, as self-hosting a Synapse server puts considerable load on system resources and also uses an insane amount of storage for the database (100GB+).
My suggestion would be using the (in the multiplayer gaming realm tried and true) XMPP protocol. There is a nice modern qt based library for it:
https://github.com/qxmpp-project/qxmpp
For the server side the well supported and extremely lightweight and scalable Prosody or Ejabberd software can be used (and are easily self-hostable). And there are plenty of nice external clients to join a chats. There could also be the possibility to link to Jitsi-Meet, which uses an Prosody server & WebRTC as the backbone of their system.
Thanks for considering.
I suggest before really making a judgement on what you have heard to first read a few of the blog posts about what the exact purpose of matrix will be. Since it is not just going to be use as a chat system. http://blog.misterblue.com/2020/2020-08-11-ActivityPub-and-Matrix-for-Vircadia
After reading what has been already been said then feel free to elaborate how XMPP would be a good fit for what the real use case is.
Thanks for sharing the link. The presentation made it sound like it was mostly about the chat system, although I don't see why XMPP could not also be used for exchanging other stuff, it is pretty much made for being expandable and is used for a wide variety of things like IoT and so on. It is obviously also federated and thus seems to fit to what is described in that link you shared pretty well.
Maybe those things could also be done with Matrix, but at a vastly higher resource use and much less well developed codebase.
One other goal of using an additional service for chat/groups/identity is to connect Vircadia to a larger community. For instance, becoming the Virtual World base implementation for the Matrix community would pull more interested people from that community into Vircadia. This is also true for ActivityPub and the other options. Maybe a distributed VR system based on XMPP would be interesting to the world?
IMHO if you want to get more people involved in self-hosting Vircadia, then XMPP is probably going to attract more interested people, both because it is more realistic to self-host and because there are already tens of thousands of XMPP servers being selfhosted.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello! Is this still an issue?
I think so :) Would be nice to have a XMPP chat in Vircadia. There are also good JS libraries for the web version.
As of late, Matrix seems like a more likely choice, since it's now being used as an alternative to Discord
I don't want to start a Matrix VS. XMPP flameware here, but for integration into Vircadia XMPP is much better suited. Also running a XMPP server does not put significant additional load onto the server, while Matrix Synapse is really resource heavy.
Hello! Is this still an issue?