[jboss-jira] [JBoss JIRA] (WFLY-4650) Improve concurrency of requests for the same session when using distributed web sessions

Paul Ferraro (JIRA) issues at jboss.org
Sat Aug 22 17:06:26 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100863#comment-13100863 ] 

Paul Ferraro commented on WFLY-4650:
------------------------------------

Lowering the priority of this.  Session concurrency is most easily improved by switch the web session cache configuration to use <transaction mode="NONE"/>, with the caveat that session object mutation requires a subsequent setAttribute(...) call, whereas normally mode="BATCH" takes care of that.

> Improve concurrency of requests for the same session when using distributed web sessions
> ----------------------------------------------------------------------------------------
>
>                 Key: WFLY-4650
>                 URL: https://issues.jboss.org/browse/WFLY-4650
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Clustering
>    Affects Versions: 9.0.0.CR1
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Minor
>
> Many people are encountering lock timeouts when using the asynchronous servlet API in concert with distributed web sessions.
> Our default configuration (pessimistic, REPEATABLE_READ isolation) effectively serializes access to the session.
> Currently, we require locking on every request, since all requests involve updating the last access timestamp of the session.  We should relax this constraint, such that only session attribute modifications require locking.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list