Volume test using C++ API

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

seeingrain
Posts: 28
Joined: 27 Mar 2014, 03:34

Volume test using C++ API

Postby seeingrain » 24 Jun 2014, 08:45

I'm creating an application to do volume test, to test how much simultaneous connections per second (TPS).

My method is:
pre-create hundreds of SmartFox instance, then call Connect(), send LoginRequest, send LogoutRequest, finnaly Disconnect().

But, unexpected thing is: the boost failed to create new thread. As I can see in taskmgr, it only cost 70MB memory, so my computer's memory is enough.
So, my question is: does C++ API suitable to do volume test in client side? If not, how do I do volume test?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Volume test using C++ API

Postby Lapo » 24 Jun 2014, 08:53

We haven't tested the C++ API in this scenario, so there might issues we don't know about.

I would recommend using the JAVA or C# Api for this task, which have already been used for this purpose.
Lapo
--
gotoAndPlay()
...addicted to flash games
seeingrain
Posts: 28
Joined: 27 Mar 2014, 03:34

Re: Volume test using C++ API

Postby seeingrain » 24 Jun 2014, 09:05

Well, gonna change a language, thanks a lot!

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 11 guests