- first of all download and install erlang for windows.
- start erlang like this:
C:\Programme\erl5.7.5\bin\werl.exe -name myself@mypc -setcookie 1217983712938DKAJSHD
- make sure to set the correct cookie for the cluster you want to connect to.
- in the erlang shell we announce ourselves to the cluster we want to connect to like this:
- check if this worked by listing the nodes:
- Now you can start appmon:
- In the Nodes Tab choose which node you want to get an insight view.
Archive for March, 2010
We recently had to stresstest our infrastructure to find some bottlenecks and general misconfiguration as well as ejabberd weirdness. Since it generally is not the best idea to “test live” I hacked up a little test-plan for Apaches JMeter, a tool for load testing of Webservers/-sites. I thought this would be a nice way to test the performance of your XMPP-BOSH infrastructure.
The plan has two authentication schemes, the first one being plain XMPP over BOSH, the second one is using “HTTP prebinding” to get the session id, request-id and JID. It has some very basic tasks like fetching the roster, sending presence, idling, joining MUC-Rooms and writing messages which it calls randomly in each thread iteration. The idea is to mimic a “normal” XMPP session in a somewhat automated way.
You may have to tweak it to your needs but in general most of the stuff that you would need to adjust is in the “User Defined Variables”, so check there first.
If you write your own tasks or plans it would be nice to hear back from improvements to this little hack.
Feel free to use it for whatever you can use it for: