Bug 1186084 - WebUI is very slow if users cannot access Google
Summary: WebUI is very slow if users cannot access Google
Alias: None
Product: Zanata
Classification: Retired
Component: Performance
Version: 3.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.6
Assignee: Luke Brooker
QA Contact: Ding-Yi Chen
Depends On:
TreeView+ depends on / blocked
Reported: 2015-01-27 01:41 UTC by Ding-Yi Chen
Modified: 2016-04-18 09:37 UTC (History)
3 users (show)

Fixed In Version: commit ee36059d40141c68125073c97710087ac8522c26
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-03-19 07:10:13 UTC

Attachments (Terms of Use)

Description Ding-Yi Chen 2015-01-27 01:41:19 UTC
Description of problem:
For users that cannot connect to Google, Zanata is very slow.
It took about 1 min for each navigation.

For example, it took 1 min and 8 second from IBus-Chewing project page 
to master branch in https://fedora.zanata.org

Version-Release number of selected component (if applicable):
Zanata 3.5.1 (git-server-3.5.1)

How reproducible:

Steps to Reproduce:
1. Run following command to block Google services (iptables)
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP
   iptables -I INPUT -s -j DROP

2. Ensure you get no connection with Google by 
   ping -c 5 fonts.googleapis.com
   ping -c 5 google.com 

3. Log In to https://fedora.zanata.org or any other server
4. Search ibus-chewing
5. Go to ibus-chewing project page
6. Go to master branch

Actual results:
From 3. Each operation was extreme slow, took about 1 minute to complete each step.

Expected results:
Speed difference should not be significant.

Additional info:

Comment 1 Luke Brooker 2015-01-27 01:52:15 UTC
This should fix the render blocking problem: https://github.com/zanata/zanata-server/pull/672

Comment 2 Luke Brooker 2015-01-27 03:26:53 UTC
Actually now https://github.com/zanata/zanata-server/pull/673

Comment 3 Ding-Yi Chen 2015-01-28 00:45:02 UTC
VERIFIED with intergrate master commit ee36059d40141c68125073c97710087ac8522c26

Comment 4 Ding-Yi Chen 2015-01-28 04:15:53 UTC
VERIFIED with release Zanata 3.6.0-SNAPSHOT (git-jenkins-zanata-server-verify-integration-master-3978-SUCCESS-1-g9e86c7d)

Note You need to log in before you can comment on or make changes to this bug.