[JBoss JIRA] Updated: (JBCLUSTER-86) Web container lacks cluster replication of application scope
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBCLUSTER-86?page=all ]
Brian Stansberry updated JBCLUSTER-86:
--------------------------------------
Component/s: Web Tier
> Web container lacks cluster replication of application scope
> ------------------------------------------------------------
>
> Key: JBCLUSTER-86
> URL: http://jira.jboss.com/jira/browse/JBCLUSTER-86
> Project: JBoss Clustering
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web Tier
> Affects Versions: Q2Y5
> Reporter: treespace
> Assigned To: Brian Stansberry
> Fix For: Q3Y7
>
>
> Replication of servlet contexts (a.k.a. appliction scope) are not supported by the servlet specification. That is an important fact that needs to be emphased in cluster related documentation. Applications need to be cluster-aware at some level so this is just another design issue that needs to be accomodated.
> An extra-specification feature to cluster the servlet context would be peachy. Generalizing a shared object that hides the underlying cache implementation could provide a more portable alternative:
> getServletContext().getAttribute(MAGIC_BEAN).setAttribute("myBroadcastMessage", "All your servlet contexts are belong to us!");
> To port the application you would need a port of the MAGIC_BEAN class to use whatever clustering facilities are available on the target platform.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Updated: (JBCLUSTER-14) http session failover using single shared DB with cache loader
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBCLUSTER-14?page=all ]
Brian Stansberry updated JBCLUSTER-14:
--------------------------------------
Component/s: Web Tier
Fix Version/s: Q3Y7
(was: Q2Y7)
> http session failover using single shared DB with cache loader
> --------------------------------------------------------------
>
> Key: JBCLUSTER-14
> URL: http://jira.jboss.com/jira/browse/JBCLUSTER-14
> Project: JBoss Clustering
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Web Tier
> Reporter: Ben Wang
> Assigned To: Brian Stansberry
> Priority: Minor
> Fix For: Q3Y7
>
> Original Estimate: 8 weeks
> Remaining Estimate: 8 weeks
>
> To achieve http session failover, alternatively we can use a single shared DB with CacheLoader for multiple cache instances. All the session states will be persisted to the shared DB. When failing over, it will simply retrieve from the DB if it is not there yet.
> This approach can scale very well. But it will be slower since every session setAttribute operation involves trip to DB. JBossCache already supports this semantics now. All we need is someone to verify it and benchmark it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months