Issue Details (XML | Word | Printable)

Key: FOR-711
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Tim Williams
Reporter: Ross Gardler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest
FOR-200

Cache results from the Locationmap

Created: 21/Oct/05 06:05 AM   Updated: 14/Nov/06 04:39 AM
Return to search
Component/s: Locationmap
Affects Version/s: None
Fix Version/s: 0.8

Time Tracking:
Not Specified

Issue Links:
Dependants
 
Incorporates
 


 Description  « Hide
Now that we are using the locationmap extensively it is showing up just how innefficient it is. The problem is that for the majority of requests there are multiple reqeuests to the locationmap. We can make things much faster (especially on the first page request) by caching results in the locationmap.

I think a simple cache will sufice, lets just provide a static hashmap using the hint as a key and, of course, the location as the value.

If we test all locationmaps and find no result we should record that tere is no result in this hashmap. This will also be a good place to throw an exception so that Cocoon can better report such errors (see FOR-701)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.