Subject: MatriX XMPP low performance
HI. I got an performance issue using matrix xmpp sdk.
I have one instance of XmppClient on the backend that creates room on the jabber server. Then I have external clients that connect to this room and send/receive some information. Now I need to check the performance of my backend. I created 10 users in jabber and initialize 10 XmppClient instances in one test application. After success OnPresence message I start sending 100 messages without any delay by every client to created room. Message sending is fast. But receiving response back is slow. Test clients receive just 5-7 messages per second. On the backend there is no business logic. Just generating response back for every message. Also there is no errors in error callback handlers.
Here is how I create XmppClient instance on backend and client sides:
XmppClient xmppClient = new XmppClient("client" + i, "localhost", "1234");
xmppClient.ResolveSrvRecords = false;
xmppClient.Hostname = "192.168.1.1";
xmppClient.OnLogin += OnLoginHandler;
xmppClient.OnPresence += OnPresenceHandler;
xmppClient.OnMessage += OnMessageHandler;
xmppClient.Open();
Do you have some performance numbers of using MatriX? And could you please advise something to check/resolve my issue.
Thank you
I have one instance of XmppClient on the backend that creates room on the jabber server. Then I have external clients that connect to this room and send/receive some information. Now I need to check the performance of my backend. I created 10 users in jabber and initialize 10 XmppClient instances in one test application. After success OnPresence message I start sending 100 messages without any delay by every client to created room. Message sending is fast. But receiving response back is slow. Test clients receive just 5-7 messages per second. On the backend there is no business logic. Just generating response back for every message. Also there is no errors in error callback handlers.
Here is how I create XmppClient instance on backend and client sides:
XmppClient xmppClient = new XmppClient("client" + i, "localhost", "1234");
xmppClient.ResolveSrvRecords = false;
xmppClient.Hostname = "192.168.1.1";
xmppClient.OnLogin += OnLoginHandler;
xmppClient.OnPresence += OnPresenceHandler;
xmppClient.OnMessage += OnMessageHandler;
xmppClient.Open();
Do you have some performance numbers of using MatriX? And could you please advise something to check/resolve my issue.
Thank you