forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Williams (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FOR-711) Cache results from the Locationmap
Date Tue, 14 Nov 2006 04:40:37 GMT
     [ http://issues.apache.org/jira/browse/FOR-711?page=all ]

Tim Williams resolved FOR-711.
------------------------------

    Resolution: Fixed
      Assignee: Tim Williams

I believe this one to also be resolved by the simple TTL fix.


> Cache results from the Locationmap
> ----------------------------------
>
>                 Key: FOR-711
>                 URL: http://issues.apache.org/jira/browse/FOR-711
>             Project: Forrest
>          Issue Type: Sub-task
>          Components: Locationmap
>            Reporter: Ross Gardler
>         Assigned To: Tim Williams
>            Priority: Critical
>             Fix For: 0.8-dev
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message