History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-561
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Karim Heredia
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

SVN polls should be aggregated in a more efficient way

Created: 25/Apr/10 02:18 AM   Updated: 08/May/10 12:07 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
QuickBuild performs SVN operations on the server side to check for changes, get revisions and logs if there is a change. It works fine.

The problem comes when having several configurations doing schedule builds at the same time. We experienced a slowdown of our server by schedule several configurations to run at the same time. The cause is that the server is opening SVN processes independently for each configuration. Several of the above configurations are actually checking the same repositories at the exact same second.

The SVN plugin should aggregate the poll to the server based on the following conditions:

- The URL is exactly the same
- The schedule for the running configuration is the same



 All   Comments   Work Log   Change History      Sort Order:
Karim Heredia [08/May/10 12:07 PM]
That is a possibility, but we didn't do it because:

- It needs to do an additional configuration which breaks independency between configurations that are not related.
- We would lose changelog from SVN, since QB wouldn't provide it (unless we do some additional work via scripting).
- This solution requires a lot of space on a dedicated machine, while currently, we don't have that central storage.

Do not consider this request on our side, but only a suggestion. We are happy the way QB interacts with SVN at the moment, but it overloads the server when configurations are set to run too often.

Robin Shen [08/May/10 11:49 AM]
How about creating a configuration dedicated to detect changes and checkout from SVN, and trigger other configurations in parallel? The other configurations may access source code from workspace of the dedicate configuration, or checkout from a QuickBuild repository pointing to the dedicate configuration.