Looking for an XMPP server library written in Ruby -


I'm in the process of creating a web-based chat app written in Ruby. I also want to provide the ability to connect to this chat server using an XMPP client. That's why I'm looking for a library which is a real XMPP server that I can add to my existing ruby ​​code (or using something like radis in between). However, I have a hard time finding a server library (though I can find many libraries to work as a customer who consumes or interacts with the server). I'm not feeling too much with XMPP so that I can demand the wrong thing. Can you use XMPP server libraries? XMPP server libraries usually do not mean much, because XMPP servers (such as an HTTP server for example) run as standalone long-term processes. You usually do not embed them into your application.

XMPP is also one step ahead of HTTP - there are there HTTP server libraries that allow you to listen to a port, and send a response. The XMPP is completely different in this aspect - the XMPP sessions last longer, and need constant attention. Using an XMPP server library, your app will spend most of the time inside that library - at that point, why is it not good to run a separate process?

I know that this is an attractive idea, but has developed an XMPP server and thinking about it (people have requested in front of you) I have concluded that it is very understandable (Even if it is possible technically ).

Many XMPP servers allow custom plugins for integration with other systems, and Ruby has servers if it is a requirement for you (e.g.).

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -