Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Application is very slow when started through Apache2 on distinct GAS server  (Read 13334 times)
.
Posts: 6


« on: June 29, 2012, 09:19:44 pm »

This happens if I use Firefox (Linux or WinXp), Safari (WinXp or iPad) and Msie 8 to start an application.
An annoying "Loading" image appears before initial loading and at any subsequent action.

This does not happens if I use Rekonq on Linux.
fastcgidispatch runs in stand-alone.

If Apache2 and GAS are running on the same machine with dispatcher started via fastcgi.conf then all works fine.

Is there a known issuie for this behaviour ?

Thanks in advance.
Enrico.


* Loading.jpg (2.39 KB, 151x109 - viewed 2442 times.)
Reuben B.
Four Js
Posts: 1116


« Reply #1 on: July 09, 2012, 07:31:47 am »

I'm not sure what you mean by "distinct GAS server", but based on what you say later, are you meaning that GAS and Apache2 are on separate servers.

I'd expect a setup where the Web Server and the Application Server are on the same server to outperform one where Web Server and Application Server are on different servers (all other things being roughly the same).  The reason for this is that files have to make two hops instead of one to get from the App Server to the browser.  This is where the WEB_APPLICATION_PICTURE_COMPONENT https://4js.com/online_documentation/fjs-gas-manual-html/User/ASAppPictureRef.html#PATH comes in handy to position files on the Web Server instead of the Application Server.

The other thing with slow rendering web pages is to use the various browser debug tools available to find out what files are being loaded and how long it takes to load them.  For Chrome press F12 and then click Network, and then refresh your web page.

Also if the delay is a multiple of 5 seconds, this normally indicates some sort of DNS error.

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Sisavanh S.
Four Js
Posts: 80


« Reply #2 on: July 11, 2012, 03:13:41 pm »

Hi,

I suggest that you contact your local support center in order to analyze what slows down your application.
We encountered numerous issues with web server configurations.
The most famous one is the deflate mode with apache.

Many regards,
Sisa.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines