Difference between revisions of "Platform Team/Prosody"

From Sugar Labs
Jump to navigation Jump to search
Line 35: Line 35:
 
See sugar-server-templates [http://git.sugarlabs.org/server/templates/trees/master/etc/prosody sources] for configuration example.
 
See sugar-server-templates [http://git.sugarlabs.org/server/templates/trees/master/etc/prosody sources] for configuration example.
  
== Getting_involved ==
+
== Getting involved ==
  
Please read [http://git.sugarlabs.org/server/prosody-sugar/blobs/master/HACKING HACKING] file.
+
Please, read the [http://git.sugarlabs.org/server/prosody-sugar/blobs/master/HACKING HACKING] file.
  
 
=== TODO ===
 
=== TODO ===
  
* Dynamically remove users from sugar roster if they are offline for some reasonable time (for now there is a pach to kick offline users from sugar roster asap to workaround buggy sugar-0.9x collab code).
+
* Dynamically remove users from the sugar roster if they are offline for some reasonable time (for now, there is a patch to kick offline users from sugar roster asap to workaround buggy sugar-0.9x collab code).
 
* Compare Prosody resources consumption with existed ejabberd.
 
* Compare Prosody resources consumption with existed ejabberd.
  

Revision as of 05:36, 12 August 2011

Purpose

The reasons to use Prosody Jabber/XMPP server:

  • be humble for consuming memory and CPU resources, especially for Sugar Server usecase (up to 1K users),
  • jabber server should be simply initially configured and work in unmaintained mode as long as possible.

Plugins

These plugins are tested against Prosody 0.8.2 version.

mod_sugar_roster

Provides global roster when every user sees all registered accounts.

mod_sugar_muc

The only difference in comparing with original mod_muc plugin is a workaround for telepathy-gabble/Prosody issue.

This plugin should be used instead of mod_muc until issue will be fixed in telepathy-gabble or in Prosody.

mod_sugar_saslauth

Original mod_saslauth plugin with preventing multiple auth from the same jid. See sm_make_authenticated() function in its sources.

This plugin should be used instead of mod_saslauth until more lightweight implementation is found.

Installation

To reuse sugar plugins, copy them to the directory with Prosody plugins. Or, install prosody-sugar package from Sugar Server repository.

Configuration

See sugar-server-templates sources for configuration example.

Getting involved

Please, read the HACKING file.

TODO

  • Dynamically remove users from the sugar roster if they are offline for some reasonable time (for now, there is a patch to kick offline users from sugar roster asap to workaround buggy sugar-0.9x collab code).
  • Compare Prosody resources consumption with existed ejabberd.

Resources