python中的XMPP服务器 [英] XMPP server in python

查看:106
本文介绍了python中的XMPP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力寻找,但是找不到具有以下功能的python中的任何XMPP服务器:

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

  • 使用epoll,就像 http://www.gevent.org/
  • 支持BOSH
  • 模块化设计
  • 使用很少的RAM/CPU最多可容纳1000个用户
  • 比以前的要求更重要:CPU/RAM的使用必须是可预测的
  • 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 在功能方面看似不错,但我不知道它可以支持多少用户同时以及在性能方面如何.

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?

推荐答案

xmpp.org使用Prosody,还有其他问题吗? :P

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

顺便说一句,如果您想玩一点,总是可以使用luajit来运行韵律(虽然我自己也没有做过测试,但是我很确定它会起作用).预计执行速度至少提高2-4倍.

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.

也看@ ejabberd.

Look @ ejabberd too.

这篇关于python中的XMPP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆