Page 1 of 1

Enable Gzip compression on app.appery.io and other performance improvements

Posted: Fri Aug 30, 2013 12:03 am
by Leonid S. Knyshov

Max,

Perhaps it could be possible to enable Gzip compression on the servers you use for hosting app.Appery.io apps?

I am looking at nearly 2 seconds to load jQuery libraries, according to Chrome.
Additionally, perhaps you can provide an option to use CDN-hosted jQuery.

http://jquerymobile.com/download/ - this is faster.

I am looking at the scenario where a user adds an app to her mobile device's home screen and is faced with a blank screen while the rest of the app downloads.

This should speed things up significantly when loaded over 3G.

Perhaps Appery could provide a jQuery loader placeholder as part of the skeleton app. I will add this for myself, of course, but it would be nice to have an indication that something is loading that is part of the default Appery package.

This would improve the user experience on slower connections.

Thank you :)


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Fri Aug 30, 2013 3:09 am
by maxkatz

Thanks for the feedback... we are already considering these features plus others to improve speed.


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Sat Jan 04, 2014 10:06 am
by chenr

Hi Max,
when this feature will be done and publish?

Thanks Chen


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Sun Jan 05, 2014 4:58 pm
by maxkatz

The app builder is now working much faster than 4 months ago.. and we are still making it faster. We are looking into CDN as well.


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Mon Sep 22, 2014 10:39 am
by DavidHeacock

I'm also finding that performance is slower than expected for a cloud-hosted service. There appears to be some serious latency in serving simple static files and retrieving files from the database store is excruciatingly slow. Any tips on how to improve performance would be appreciated. If I can't make it go faster then I will have to build my production app elsewhere.


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Mon Sep 22, 2014 11:23 am
by Evgene Karachevtsev

Hello David,

Could you please clarify a few things? How do you get files from the Db? What queries do you use? Is it Appery.io DB or is it situated somewhere else?


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Tue Sep 23, 2014 8:04 am
by DavidHeacock

Enable Gzip compression on app.appery.io and other performance improvements

Posted: Tue Sep 23, 2014 8:46 am
by Evgene Karachevtsev

David,

Appery.io dB as well as appbuilder are hosted on Amazon servers in the United States. If you are not in the USA then the access time will be slightly more.
As for project files (like http://appery.io/app/view/23d8de53-b6... is test environment and the speed of access to the file is not so important. Most likely you won't demonstrate it to anybody.
And the file https://api.appery.io/rest/1/db/files... - this is not static file. This is the file in the database. When there is access to it, acl is checked, this adds a few milliseconds. But it shouldn't be critical. Could you please also specify how much time you receive this file, how many milliseconds?


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Tue Sep 23, 2014 1:07 pm
by DavidHeacock

Hi Evgene, that logo file has a latency of about 350-900ms depending on caching, but the javascript files have up to 1.5s of latency. I wasn't aware of the difference between 'test' and production environments, I will have to investigate that. How should I be storing files in the project so they load faster?


Enable Gzip compression on app.appery.io and other performance improvements

Posted: Thu Sep 25, 2014 1:07 pm
by Evgene Karachevtsev

Hello David,

I published application and access to the css file of this application is 7-10ms
http://svgexample.app.appery.io/start...
Please check this yourself. As for the file in the dB - it's impossible to accelerate it. But if you have not a lot of these files (some logos, images) then you may keep them not in the database but in the application. Access to them will also be much faster after publishing or as using a hybrid app.