ivanfong01 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Very slow admin pages due to i18n.js #498

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install on HRD
2. Login to admin
3. watch GAE logs for timings

What is the expected output? What do you see instead?

fast responses, all mine are very slow. attached is a screenshot of the GAE 
logs showing that it is always the i18n.js file which is the culprit.

Please use labels and text to provide additional information

I am currently using a patched version of 0.9.5 that I patched to fix the 
repackaged StringUtils bug. I will update to 0.9.6 but, from the changes I 
made, I would not expect the patch to be the root cause.

Is it possible that i18n.js generation is affected by HRD? If so then this 
needs to be fixed because HRD means no downtime when GAE goes into maintenance 
mode.

I'm happy to provide more testing e.g. appstats if required.

Original issue reported on code.google.com by steve.buikhuizen@gmail.com on 27 Jul 2011 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
An update with another screenshot. I just updated to 0.9.7 (no self-patched 
code) and the speed is better but the i18n.js file is still 3000ms on average 
i.e. much slower than the other calls.

this was very fast when we were running on master-slave so is this one more 
piece of evidence that high-replication datastore is causing this issue?

Original comment by steve.buikhuizen@gmail.com on 8 Aug 2011 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
We need to add caching here.

Original comment by kinyelo@gmail.com on 8 Aug 2011 at 7:18

GoogleCodeExporter commented 9 years ago
Implemented in 0.9.8

Original comment by kinyelo@gmail.com on 8 Aug 2011 at 8:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This problem is still occurring in version 0.9.9
"NetworkError: 500 Internal Server Error - http://www.???????????.com/i18n.js
Can you explain what should I do when it happens to get admin panel to work 
again?
And why i18n.js is causing such a recurring problem?
This does not happen immediately. The CMS runs quite well for some time and 
then, without any clear reason, it starts having this problem.

This occurs both when using HRD or Master/Slave.

Many thanks for your help.

Original comment by guab...@gmail.com on 29 Sep 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Also when the CMS is having this problem, importing a backup fixes the problem. 
This is not good of course as if you don't have a recent backup, you end up 
having to go back to an older version.

Eager to find or receive a solution about this.

Many thanks

Original comment by guab...@gmail.com on 29 Sep 2011 at 10:07