-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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
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!
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.
Asked: 2011-11-30 01:03:00 +0800
Seen: 412 times
Last updated: Jan 20 '12