Read session from cache once per request
----------------------------------------

                 Key: SHIRO-317
                 URL: https://issues.apache.org/jira/browse/SHIRO-317
             Project: Shiro
          Issue Type: New Feature
    Affects Versions: 1.1.0
            Reporter: Luke Biddell
            Priority: Minor


As per our discussion on the mailing thread, I've wired up my sessions to be 
stored in memcached (membase in the longer term). On a per request basis I'm 
seeing approximately 5 hits on my cache to retrieve the session. I would expect 
to see only one hit per threaded request, with the session stored as a thread 
local.

For distributed caches this saves on network calls and for local caches it will 
save on potential lock contention.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to