[jboss-jira] [JBoss JIRA] (WFLY-406) Redesign web session clustering

RH Bugzilla Integration (JIRA) issues at jboss.org
Sat Jun 28 11:40:54 EDT 2014


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

RH Bugzilla Integration commented on WFLY-406:
----------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 1039585|https://bugzilla.redhat.com/show_bug.cgi?id=1039585] from VERIFIED to CLOSED

> Redesign web session clustering
> -------------------------------
>
>                 Key: WFLY-406
>                 URL: https://issues.jboss.org/browse/WFLY-406
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>             Fix For: 8.0.0.Alpha2
>
>
> The current web session replication code has been around for ages and suffers from a number of issues:
> * By maintaining a separate local map of sessions in conjunction with the session data stored in the distributed cache, stale data is inevitable - a number of issues have cropped up in EAP testing.
> * Extra concurrency measures are required to ensure synchronicity of the local session map with the distributed cache.
> * Extra logic/locking is required to invalidate the local session map is required per request
> * AtomicMaps, on which the current implementation relies, have proven buggy
> * Session access outside of the scope of the replication valve is possible and problematic
> * Maintaining sessions locally means that the clustering code needs to implement passivation and expiration manually - instead of leveraging Infinispan full capabilities.
> * The current code base is tightly coupled to JBoss Web.  Migrating the code to support Undertow will inevitably introduce issues and code duplication.
> The new design will incorporate a proper SPI for the servlet container.  Thus the logic to integrate with Undertow vs JBoss Web will be relatively thin.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list