A
A
Artemy Averin2012-05-21 12:00:58
JavaScript
Artemy Averin, 2012-05-21 12:00:58

Optimization guru - jabber question?

Question to the server optimization/loading circle:

There are two options.

The first option, internal mail is built on the basis of a simple chat made on ajax
The second option, internal mail is made on the basis of jabber, and the site is also issued using ajax

When working with jabber, a free server will be used (temporarily)
User activity at the moment is 100 -200 people online, we count on a higher audience

Question:

Dear GURU, what will load our server more? Jabber, which we will later transfer to our server? Or our self-written script.

Pros of the first option:
Already done and everything works

Pros of the second option:
Work with funds from external clients
Numerous statuses ala “they write to you”
And of course, all the other joys of jabber

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Prokhorov, 2012-05-21
@megahertz

XMPP servers tend to be pretty fast with a lot of users online. But there it is still necessary to solve the problem with storing history and searching for it. I can’t say how convenient it is to shift this functionality completely to the server.
When I did such functionality, I decided not to bother, and store the history in the site database. The client clings to XMPP through JS (Strophe). The history is saved by Ajax. It’s crooked, but I didn’t come up with anything more beautiful quickly.

V
Vlad Zhivotnev, 2012-05-21
@inkvizitor68sl

ejabberd2 is as fast as diarrhea.
If the gabber functionality covers your tasks, then this option will be faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question