erlang高并发的优化
Ejabberd官网上Performance Tuning有一写关于优化的clue,这些参数可以在ejabberdctl.cfg里面修改
- Erlang Ports Limit: ERL_MAX_PORTS 建议使用,调的大一些
- Erlang consumes one port for every connection, either from a client or from another Jabber server. The option ERL_MAX_PORTS limits the number of concurrent connections and can be specified when starting ejabberd:
erl
近期评论