XMPP server in python [closed]

2019-04-07 16:00发布

问题:

I'm looking hard but I cannot find any XMPP server in python with the following features:

  • using epoll, just like http://www.gevent.org/
  • supporting BOSH
  • modular design
  • use little RAM/CPU for up to 1000 users
  • more important than the previous requirement: the CPU/RAM usage must be predictable

Prosody looks quite good feature-wise, but I don't know how many users it can support simultaneously and how it is performance-wise.

Could someone give me an idea?

回答1:

xmpp.org uses Prosody, any other questions? :P

btw, if you want to toy with it a little, you can always run prosody using luajit (didn't test that myself, but I'm fairly sure it would work). Expect at least 2-4x faster execution.

Look @ ejabberd too.



回答2:

For a rough idea of how Prosody is performance-wise, see this post on their ML. https://groups.google.com/d/topic/prosody-users/SlXpfwJfgY4/discussion



标签: python lua xmpp