[Twisted-Python] XMPP server implementations with twisted/words

Werner Thie wthie at thiengineering.ch
Mon Feb 15 22:06:59 MST 2010


Hmm, thanks for the advice, I was leaning to the lean side of a server 
something like pjabberd seems to have taken as an approach, so to say a 
skeleton where one can hang the meat, ending up with the functionality I 
need and no more. So with t.w.xish I seem to have the bones and no 
blueprint for the skeleton and on the other side I have full fledged 
Java monsters or or other implementations which do not always get the 
best grades in stability (see the discussion of the XMPP server 
Chesspark uses, they ran into memory problems such that periodic 
rebooting was the only solution). Politically I'm wary to introduce a 
heavy piece of software for some partial functionality written in a 
completely different language now when every body has grudgingly left 
the PHP train and had to be brought a board twisted.

So again thanks, if choosing a server is no problem and poses no 
problems, then which one would you chose?

Mahalo, Werner

Alvin Delagon wrote:
> Hello,
> 
> I used to write XMPP servers and clients using twisted (currently in
> production) using what's available in twisted.words.xish. The docs are
> scarce but you can start off reading the code and the api doc here:
> http://twistedmatrix.com/documents/8.2.0/api/twisted.words.xish.htmlspecially
> the domish element.
> 
> 
> Cheers,
> Alvin
> 
> On Tue, Feb 16, 2010 at 9:24 AM, Christopher Armstrong <
> radix at twistedmatrix.com> wrote:
> 
>> On Mon, Feb 15, 2010 at 6:47 PM, Werner Thie <wthie at thiengineering.ch>
>> wrote:
>>> Hi
>>>
>>> Although I'mm using twisted/nevow now for more than three years it was
>>> only recently that I felt the need to look into the words section of
>>> twisted. After googling 'python xmpp server' I found two projects aiming
>>> at writing an xmpp server in python, namely pjabberd (non twisted) and
>>> pretzel.
>>>
>>> Checking out their code via SVN shows an empty pretzel project and after
>>> some digging I was able to locate some code snippets, but not in an
>>> usable state. pjabberd checks out ok, also seems to run and is able and
>>> ready to accept handlers. I also found a very old post dating back to
>>> 2005 where an effort to write a twisted XMPP server was mentioned.
>>>
>>> http://twistedmatrix.com/pipermail/twisted-python/2005-July/011009.html
>>>
>>> Being new in the XMPP world I ask myself and now the group, how would
>>> you tackle the problem of a twisted based XMPP server. Is there really
>>> only the Java breed of servers like OpenFire, Tigase or Erlang/Lua based
>>> stuff like ejabberd/Prosody available or am I simply blind.
>>>
>>> Thanks for enlightening me, Werner
>> As someone who has recently started heavily using Twisted-based XMPP
>> technologies, I honestly don't see a big reason to have an XMPP server
>> written using Twisted. I don't know what kind of use cases there are
>> for it, but I don't think it would solve any problems for me. It seems
>> it's possible to do anything interesting by just using regular old
>> XMPP clients or External Components (all written using Twisted-based
>> XMPP tech such as twisted.words, Wokkel, Idavoll, or what have you).
>> The XMPP server is pretty much interchangeable. And I wouldn't want to
>> create a project to compete with ejabberd without a very good reason
>> :-)
>>
>> --
>> Christopher Armstrong
>> http://radix.twistedmatrix.com/
>> http://planet-if.com/
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python





More information about the Twisted-Python mailing list