vircadia-native-core icon indicating copy to clipboard operation
vircadia-native-core copied to clipboard

Use qXMPP to improve chat system?

Open poVoq opened this issue 4 years ago • 10 comments

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.

poVoq avatar Jan 31 '21 16:01 poVoq

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.

vegaslon avatar Jan 31 '21 23:01 vegaslon

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.

poVoq avatar Feb 01 '21 00:02 poVoq

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?

Misterblue avatar Feb 04 '21 21:02 Misterblue

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.

poVoq avatar Feb 05 '21 01:02 poVoq

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.

stale[bot] avatar Jun 06 '21 21:06 stale[bot]

Hello! Is this still an issue?

stale[bot] avatar Jan 13 '22 20:01 stale[bot]

I think so :) Would be nice to have a XMPP chat in Vircadia. There are also good JS libraries for the web version.

poVoq avatar Jan 13 '22 21:01 poVoq

As of late, Matrix seems like a more likely choice, since it's now being used as an alternative to Discord

daleglass avatar Jan 17 '22 18:01 daleglass

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.

poVoq avatar Jan 17 '22 21:01 poVoq

Hello! Is this still an issue?

stale[bot] avatar Jul 16 '22 21:07 stale[bot]