Leonid S. Knyshov
Posts: 0
Joined: Fri Aug 30, 2013 12:03 am

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

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 :)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

chenr
Posts: 0
Joined: Sat Jan 04, 2014 10:06 am

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

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

Thanks Chen

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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.

DavidHeacock
Posts: 0
Joined: Sun Jun 29, 2014 5:33 am

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

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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?

DavidHeacock
Posts: 0
Joined: Sun Jun 29, 2014 5:33 am

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

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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.

Return to “Issues”