Bug 1043563 - Improve the Redmine cartridge for speed
Summary: Improve the Redmine cartridge for speed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 16:20 UTC by Jakub Hadvig
Modified: 2015-05-15 02:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:47:05 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenshot (69.77 KB, image/jpeg)
2013-12-18 17:11 UTC, Jakub Hadvig
no flags Details

Description Jakub Hadvig 2013-12-16 16:20:15 UTC
Description of problem:
Many users that use this quickstart reporting performance issues on Online. This bug is about improving this cartridge to be 'usable' without performance penalty.

Version-Release number of selected component (if applicable):
openshift.com as of Dec 16, 2013

How reproducible:
Always

Steps to Reproduce:
1. Create a non-scaling Redmine app 
2.
3.

Actual results:
Poor performance of the Redmine app from the user perspective

Expected results:
App performance should be faster

Additional info:

Comment 1 Jakub Hadvig 2013-12-18 16:48:17 UTC
After further investigation I found out that the problem was not in the performance of the quickstart it self but in the way how it was used.
The point of the failure was that the user was using redmine quickstart on one small gear (not scalable), which didnt have enought resources to serve ruby cartrigde (RoR itself takes a lot of those resources) and MySQL cartridge.

If the created app was scalable users wouldn't have this issue.

The problem is that now the redmine quickstatrt doesnt support scaling.

Will create an Trello cart on this, cause I think it is the right way how to improve the Redmine cartridge for speed.

Comment 2 Jakub Hadvig 2013-12-18 17:11:03 UTC
Created attachment 838478 [details]
Screenshot

Screenshot, sent by one customer, showing how slow the quickstart is.

Comment 3 Jakub Hadvig 2014-01-14 10:29:04 UTC
Fixed by PR : 
https://github.com/openshift/redmine-2.0-openshift-quickstart/pull/6

After advising them to use it as a scaled application, I found out that there is a problem that ruby cartridge can not connect to mysql cartridge which is on different gear. 
Problem fixed by adding the port number when connecting to the mysql or testing its presence.

Comment 4 Wei Sun 2014-01-15 05:22:30 UTC
Verified in INT(devenv_4223).Redmine quickstart works well.


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