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