shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Spritzler (JIRA)" <>
Subject [jira] [Commented] (SHIRO-317) Read session from cache once per request
Date Tue, 23 Apr 2013 00:13:16 GMT


Mark Spritzler commented on SHIRO-317:

I'll try with the SoftHashMap.

I haven't noticed any memory leakage as of yet before. But better safe than sorry.


> Read session from cache once per request
> ----------------------------------------
>                 Key: SHIRO-317
>                 URL:
>             Project: Shiro
>          Issue Type: New Feature
>    Affects Versions: 1.1.0, 1.2.0, 1.2.1
>            Reporter: Luke Biddell
>            Assignee: Les Hazlewood
>            Priority: Minor
>             Fix For: 1.3.0
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message