> ## Content Index
> Fetch the complete content index at: https://www.process-one.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# ejabberd 2.1 vs 3.0 PubSub processor usage
- URL: https://www.process-one.net/blog/ejabberd-2-1-vs-3-0-pubsub-processor-usage/
- Published: 2012-12-20T23:00:00.000Z
- Updated: 2024-09-20T14:30:57.000Z
- Author: Jérôme Sautret

ejabberd’s PubSub implementation covers most of [XEP-0060](https://xmpp.org/extensions/xep-0060.html?ref=process-one.net) specification. This involve some complexity server side, sometimes at cost of performances. So PubSub’s optimizations was one of the main concern on the [ejabberd 3](https://www.process-one.net/en/ejabberd/) roadmap.

We’re finally pleased to show some good results on this side.

![PubSub](https://www.process-one.net/wp-content/uploads/2012/12/PubSub.png)

This shows ejabberd processor usage while running a [Tsung](https://www.process-one.net/en/tsung/) benchmark scenario, which simulated PubSub items published every minute and users subscribing to PubSub nodes on ejabberd 2.1.11 and 3.0.0\. The 2.1.11 stopped early during the test by not responding and consumming 100%CPU on a thread with 50000 subscribers, while 3.0 was using 1/4 of processor ressources at the same time and was able to complete the whole test, handling 60000 subscribers with no more than 14% CPU on a dual core system.