Bug 785034
| Summary: | Rapid key navigation causes backlog of TM queries | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Sean Flanigan <sflaniga> |
| Component: | Performance | Assignee: | Sean Flanigan <sflaniga> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Alex Eng <aeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.4.5 | CC: | aeng, damason, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 1.5.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-07 00:06:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 786670 | ||
|
Description
Sean Flanigan
2012-01-27 02:51:35 UTC
Modified the client so that it waits for TM results before submitting any more TM requests. While working on this bug, I found that the query in TextFlowDAO.getIdsByTargetState was not taking into account obsolete HProject/Iterations. Fixing this bug made the query even slower, so I had to do some performance tuning on the server as well. I enabled Hibernate's second-level cache for entities, and the query cache, also implemented a time-based cache for TextFlowFilter for use with Hibernate Search. Commits: https://github.com/zanata/zanata/commit/ef61cb28348ebb7100fd190ee8a06a3b1fa37bb0 https://github.com/zanata/zanata/commit/338f3290ebb026245ad44c34242e51d0811d0af2 https://github.com/zanata/zanata/commit/a29c9e508ae1a5e5f28fb7417d438a8f0958c600 https://github.com/zanata/zanata/commit/18801bd24f5db26bf9c6138e22764185f8a03698 https://github.com/zanata/zanata/commit/05f3e41d2ec0ed9b8680e7334aa5512c9365abbf VERIFIED in Zanata version 1.5.0-alpha-3-SNAPSHOT (20120227-1458) |