At previous article we examined the how to conduct the stress testing. And here I want to show you how I conducted it by myself, and give its results.
On the screenshot you can see 3 consoles.
The numbers are on the screenshot:
Number of connections online; Server’s operating time in seconds; A column with a list with amount of network events was processed for the entire time (such as connecting, receiving messages, closing the connection); The first process in the list was processed most of all as it was engaged in receiving incoming connections (under a normal load, there is not such a large separation because the incoming connection is set for a long time); Other processes for already received connections processed incoming messages; The PcS column indicates how many network events were processed in the last second (there are no zeros on the gif animation) Zero since the connections are accepted and hang in anticipation of incoming messages, but with this test scenario we do not send any additional events.
The numbers are on the screenshot:
Comet server processes (It can be seen that he spent 4891 MB of RAM); tsung processes (It can be seen that he spent 2262 MB of RAM); Total memory consumption (The rest was consumed by the operating system and other programs started at the time of testing).
Gif-animation of the testing process. It is seen that there is an increase of about 2,500 connections per second and that all the kernels are loaded almost evenly. You can also see an increase in memory consumption.
Queries per second
The number of simultaneous connections