ejabberd - Comments for "How do I create bulk users for stress testing?" https://www.ejabberd.im/node/2628 en Jigar Gosar wrote: I want https://www.ejabberd.im/node/2628#comment-50968 <div class="quote-msg"> <div class="quote-author"><em>Jigar Gosar</em> wrote:</div> <p>I want to create 10000 users, each having next hundred users in their roster. I can use the ejabberdctl tool register the user, but how do i change the roster from command line? </p> <p>Also is there any better way to create users? my user names are user1 to user1000. And user1 should have user2 to user user100 in his roster and so on.</p></div> <p>Massive account creation with ejabberdctl is quite slow. Jabber Test Suite is faster, check the article <noindex><a href="benchmark" rel="nofollow" >Benchmarking Jabber/XMPP Servers with Jabsimul</a></noindex>.</p> <p>Regarding the roster items, I see several solutions:</p> <ul> <li>Install <noindex><a href="mod_ctlextra" rel="nofollow" >mod_ctlextra</a></noindex> and use the command 'add-rosteritem'.</li> <li>Install <noindex><a href="mod_ctlextra" rel="nofollow" >mod_ctlextra</a></noindex> and use the command 'pushroster' or 'pushroster-all'. I didn't use those commands in a lot of months, so I don't know if they will work correctly.</li> <li>Use Shared Roster Groups, but this is not yet controllable from the command line, and gives less power to you.</li> <li>Modify the database manually. But then you must investigate the table format.</li> </ul> Thu, 27 Sep 2007 19:52:02 +0000 mfoss comment 50968 at https://www.ejabberd.im thanks. I am asumming that https://www.ejabberd.im/node/2628#comment-50963 <p>thanks.</p> <p>I am asumming that "sql database" means posgresql, or mysql. </p> <p>What if I am using mnesia? is it not good for 10000 users? </p> <p>As you said I can easily add users and rosters in sql database, what is the best way to add data in mnesia database. A little help on how to access ejabberd's mnesia database will be help full. I have read a bit on manipulating data in mnesia. but would like to know how to access the ejabberd's mnesia database.</p> <p>thanks again.</p> Wed, 26 Sep 2007 13:30:58 +0000 Jigar Gosar comment 50963 at https://www.ejabberd.im Re: How do I create bulk users for stress testing? https://www.ejabberd.im/node/2628#comment-50951 <div class="quote-msg"> <div class="quote-author"><em>Jigar Gosar</em> wrote:</div> <p>I want to create 10000 users, each having next hundred users in their roster. </p></div> <p>It is quite easy to do in an SQL database directly.<br /> If you are not using sql, then you do not need 10k users :)</p> Tue, 25 Sep 2007 10:15:07 +0000 zinid comment 50951 at https://www.ejabberd.im