XMPP server in python [closed]

2019-04-07 16:15发布

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?

标签: python lua xmpp
2条回答
啃猪蹄的小仙女
2楼-- · 2019-04-07 16:33

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.

查看更多
时光不老,我们不散
3楼-- · 2019-04-07 16:43

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

查看更多
登录 后发表回答