Hello,
Is it possible to have a load test tool that simulates people connected to the server.
the perfect tool would allow you to choose the number of connected users, and consume the server resources as if there are real people connected.
Alternatively, it can detect the system configuration and the smart fox communication methods used in the app, and estimates the maximum safe user count the server can support for the app. to run smoothly.
Of course there are several challenges for this (like whether the connected users are in the lobby or are playing a game/doing something else / the frequency of the interaction with the server) but all those can be parameterized.
Is it possible to have such a tool?
Load Test tool
The perfect load test tool is a dream for us too. We've built several during the course of the years which we're fairly happy with, but none of them is the dream tool ...
The biggest challenge is that the tool has to behave exactly like a real user, performing actions in the proper order, responding to events etc... all this based on what your application does.
We have found that one of the best techniques for load testing is using the client side API, build a test client and then build an application on top of it that replicates the clients, manages connections/disconnections, stats etc...
At the moment you can build that using the AS 2 or AS 3 (better use AS3 actually) API or... we can also provide client Java API and soon we'll provide more, but it's still a small secret.
Then you can setup a number of client machines to run as many clients as their CPU and memory can handle
I guess you get the idea
The biggest challenge is that the tool has to behave exactly like a real user, performing actions in the proper order, responding to events etc... all this based on what your application does.
We have found that one of the best techniques for load testing is using the client side API, build a test client and then build an application on top of it that replicates the clients, manages connections/disconnections, stats etc...
At the moment you can build that using the AS 2 or AS 3 (better use AS3 actually) API or... we can also provide client Java API and soon we'll provide more, but it's still a small secret.
Then you can setup a number of client machines to run as many clients as their CPU and memory can handle
I guess you get the idea
Hi,
Java API are available for download in our "API Central":
http://www.smartfoxserver.com/labs/API/
Java API are available for download in our "API Central":
http://www.smartfoxserver.com/labs/API/
Re: Load Test tool
Lapo,
i know this is a 5 year old thread, but was wondering if you guys still have a load testing tool i can use for SFS,
i mean nothing fancy just something that i can simulate client connections to stress test the server.
looking forward to it.
i know this is a 5 year old thread, but was wondering if you guys still have a load testing tool i can use for SFS,
i mean nothing fancy just something that i can simulate client connections to stress test the server.
looking forward to it.
Re: Load Test tool
Yes, this is indeed a pretty old thread
The best idea for stress testing is to build the test with the client API (Java, AS3) and then replicate that client with a little application that launches hundreds of them until you almost saturate the client's resources.
Just make sure to not fully saturate the CPU of the client machine otherwise it might not be able to cope with the downstream of data.
Cheers
The best idea for stress testing is to build the test with the client API (Java, AS3) and then replicate that client with a little application that launches hundreds of them until you almost saturate the client's resources.
Just make sure to not fully saturate the CPU of the client machine otherwise it might not be able to cope with the downstream of data.
Cheers
Re: Load Test tool
do you guys have some app already put together that will do the stress test?
i mean something i can base out of?
or am i on my own here?
i mean something i can base out of?
or am i on my own here?
Re: Load Test tool
We do have internal tools but nothing you would be able to use without lots of consulting from our side.
More importantly each test can be completely difference depending on the type of the interaction that the client must generate. This part is entirely up to the developer. The remaining part (the replication) is really no big deal, it can be done in less than 1 hour with a bit of coding.
Hope this makes sense.
More importantly each test can be completely difference depending on the type of the interaction that the client must generate. This part is entirely up to the developer. The remaining part (the replication) is really no big deal, it can be done in less than 1 hour with a bit of coding.
Hope this makes sense.
Re: Load Test tool
not really,
was hoping of some already made simple example you guys may had, so I can learn and base my own out of that.
since I've never done such a thing, so was expecting some light in my darkroom
was hoping of some already made simple example you guys may had, so I can learn and base my own out of that.
since I've never done such a thing, so was expecting some light in my darkroom
Return to “Features Wish List”
Who is online
Users browsing this forum: No registered users and 34 guests