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