DesignXMPP analysis » History » Version 14
Adrian Georgescu, 04/01/2012 05:20 PM
| 1 | 10 | Adrian Georgescu | = Software Candidates Analysis = |
|---|---|---|---|
| 2 | 1 | ||
| 3 | 13 | Adrian Georgescu | [[TOC(DesignXMPP, DesignXMPP_analysis, DesignXMPP_arch, DesignXMPP_im, , DesignXMPP_conference, DesignXMPP_presence, DesignXMPP_jingle,DesignXMPP_ft, depth=2)]] |
| 4 | 4 | ||
| 5 | 1 | In this phase the existing XMPP libraries will be analyzed and one will be chosen to be used throughout the project. |
|
| 6 | |||
| 7 | 8 | Adrian Georgescu | == Requirements == |
| 8 | 1 | ||
| 9 | * Written in Python (C/C++ could also be used, but a wrapper would need to be written) |
||
| 10 | 7 | Adrian Georgescu | * Support for XMPP server and/or component |
| 11 | 1 | * Ability to use it with the current model used by SylkServer |
|
| 12 | * Green threads |
||
| 13 | * Callback based IO |
||
| 14 | |||
| 15 | 14 | Adrian Georgescu | == Software Libraries Evaluation == |
| 16 | 1 | ||
| 17 | 7 | Adrian Georgescu | The following aspects were considered when evaluating a given library: |
| 18 | 1 | ||
| 19 | * Met requirements stated above |
||
| 20 | * Is it actively maintained? |
||
| 21 | * Example use cases |
||
| 22 | * Deployments in real-world scenarios |
||
| 23 | * Perceived complexity to integrate it with SylkServer architecture |
||
| 24 | 3 | ||
| 25 | 1 | List on xmpp.org http://xmpp.org/xmpp-software/libraries/ |
|
| 26 | 3 | ||
| 27 | 14 | Adrian Georgescu | == Selected XMPP library == |
| 28 | 9 | Adrian Georgescu | |
| 29 | 14 | Adrian Georgescu | After analyzing candidate libraries '''Wokkel''' was the chosen one for the following reasons: |
| 30 | 2 | ||
| 31 | 14 | Adrian Georgescu | * Implemented on top of Twisted, which makes integration with SylkServer straightforward |
| 32 | * Support for both component and XMPP server models, allowing for flexibility in implementation |
||
| 33 | 1 | ||
| 34 | 2 | http://wokkel.ik.nu/ |
|
| 35 | 9 | Adrian Georgescu | |
| 36 | * Plugin architecture, 'subprotocols' implementing different XEPs |
||
| 37 | 2 | * Client and server component support |
|
| 38 | 7 | Adrian Georgescu | * XMPP server-to-server support (s2s) |
| 39 | 3 | * Designed to be used with Twisted (reactor model) |
|
| 40 | * Active development |
||
| 41 | 9 | Adrian Georgescu | |
| 42 | == Selected SIP Library == |
||
| 43 | |||
| 44 | 14 | Adrian Georgescu | SIP SIMPLE SDK http://sipsimpleclient.com used by SylkServer |