Testing the Validity of Google App Engine Dashboard Data
Join the DZone community and get the full member experience.
Join For Free
the
dashboard of google app engine presents interesting results, but what is the
truth behind this data?
i started by deploying a simple java ee (jsp / struts / strus menu) and
deploying it in the google app engine cloud at
http://kbdsoft.appspot.com/
to check the validity of
the values presented by the dashboard of google app engine
, we use a simulation tool in the classical world of performance
studies: the famous jmeter
-
install a simulation tool load (download jmeter from
http://jakarta.apache.org/jmeter/
)
- launch jmeter script and create a simulation application execution
run a simulation of 20 concurrent virtual users (20 threads).
the scenario is executed 100 times.
http://kbdsoft.appspot.com/pagesmanagement.do
http://kbdsoft.appspot.com/menumanagement.do
http://kbdsoft.appspot.com/user.do
http://kbdsoft.appspot.com/audit.do
http://kbdsoft.appspot.com/rolesmanagement.do
http://kbdsoft.appspot.com/index.do
we note that at the beginning of the simulation
at the end of simulation the graph request / second becomes
the google app engine’s dashboard allows you to track the behavior of the application.
thus, after the full execution of the script, the results presented by the gae's dashbord are summarized as follows:
on the other
hand, after the end of the execution of the script, the results presented by
jmeter are summarized as follows :
the results of jmeter vs results googleapp engine
there is a good concordance of results (although it sure is a short simulation . for more detailed results, it must be remembered that performance measures should follow a statistical study and use the laws of large numbers)
jmeter client vue |
gae dashbord google's serveurs vue |
|
1.135 |
1.2 |
|
2.265 |
2.4 |
|
2.275 |
2.4 |
|
3.411 |
3.6 |
|
1.142 |
1.2 |
|
1.144 |
1.2 |
|
1.147 |
1.2 |
|
total |
12.59 |
13.5 |
the results shown by google are validated by the results of jmeter
we
can rely on the dashbord.
conclusion:
for this first test : it took me half an hour to
deploy a simple old struts based application on the google cloud
no
changes were necessary! note, there was no transaction, database, spring, hibernate..
the google app engine dashboard allows monitor the activity of the application
and see the logs and the response time.
working with googleapp engine is :
- easy
- allows recycling of "old" java
- the dashboard provides information close to the reality and verifiable
Opinions expressed by DZone contributors are their own.
Comments