0

GAE performance

asked 2011-11-30 01:03:00 +0800

simonmassey gravatar image simonmassey
90 1

I have been experimenting with Google App Engine and I am finding it extremely slow (ajax round trip 2s, page load 20s) when compared to running the same zk page on a very low powered VPS (ajax round trip 0.15s, simple page load 6s).

Are there any ZK users who have large scale apps running successfully on GAE?

Thanks,
Simon

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-12-03 16:32:19 +0800

simonmassey gravatar image simonmassey
90 1

I pushed the ZK GAE sample page (http://zk-gae.appspot.com/hello.zul) up onto the Heroku Cedar cloud. Since the Heroku cloud is just linux+maven+jetty I ran the exact same code on a virtual linux server hosted over at Rimuhosting.com.

A rough comparison between the times:

Linux VPS hosted by Rimuhosting (server in Texas accessed from London):

* Page load time 2.5s
* Ajax time for ClickMe button: 0.14s

Heroku Ceda Cloud:

* Page load time: 1.6s
* Ajax time for ClickMe button: 0.12s

Google App Engine:

* Page load time: 10s
* Ajax time for ClickMe button: 1.5s

So that little experiment shows GAE to be ten times slower than hosting the page on a virtual linux server on the another continent.

The speed of the same page running on the Heroku cloud as as good as if not better than the performance on the hosted linux server.

Anyone know any other cloud providers which run ZK well?

Thanks,

Simon

link publish delete flag offensive edit

answered 2011-12-03 21:36:12 +0800

simonmassey gravatar image simonmassey
90 1

In case anyone is interested to see ZK running on the Heroku cloud the zkToDo2 app can now run there:

git clone https://[email protected]/simbo1905/ZkToDo2.git
mvn -Djetty.port=8080 package jetty:run
# check it out at http://localhost:8080/zktodo_c.zul then ctrl+c when finished
heroku create --stack cedar
git push heroku master
heroku open

Page refreshes in <3s and ajax round trips is <0.15s. Very tidy!

link publish delete flag offensive edit

answered 2012-01-20 09:31:45 +0800

matthewgo gravatar image matthewgo
375

Hi simon,
I've also tried to deploy some small apps, both JSP and ZK to GAE, and it seems that GAE 1.6 performs much better than GAE 1.2. However in my experience it's still less stable (i.e. having larger speed variation) comparing to other coulds.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-11-30 01:03:00 +0800

Seen: 412 times

Last updated: Jan 20 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More