[JBoss JIRA] Updated: (JBCACHE-584) Investigate use of lazy mapping for PojoCache
by Ben Wang (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-584?page=all ]
Ben Wang updated JBCACHE-584:
-----------------------------
Fix Version/s: PojoCache 2.2.0
(was: PojoCache)
> Investigate use of lazy mapping for PojoCache
> ---------------------------------------------
>
> Key: JBCACHE-584
> URL: http://jira.jboss.com/jira/browse/JBCACHE-584
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Ben Wang
> Assigned To: Ben Wang
> Fix For: PojoCache 2.2.0
>
> Original Estimate: 2 weeks
> Remaining Estimate: 2 weeks
>
> Recent perf test on PojoCache shows bottleneck is on the initial mapping of putObject causing numerous trips to the local cache store. To optimize it further, either the TreeCache local mode need to be enhanced. Or one solution to this is the use of lazy mapping of the pojo. For example, when putObject is called, pojo is not mapped. Instead, it is stored under a "Serialized" state (can use JBossSerialization if pojo is not even Seriailizable) first. Then when the field is modified (detected from the CacheInterceptor), we will then map it lazily to the PojoCache store.
> The performance gain can be had, if 1) initial saving of mapping, 2) field update is only selected.
--
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, 11 months
[JBoss JIRA] Updated: (JBCACHE-434) InternalDelegate doesn't relocate AOP nodes properly
by Ben Wang (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-434?page=all ]
Ben Wang updated JBCACHE-434:
-----------------------------
Fix Version/s: 2.0.0
(was: PojoCache)
> InternalDelegate doesn't relocate AOP nodes properly
> ----------------------------------------------------
>
> Key: JBCACHE-434
> URL: http://jira.jboss.com/jira/browse/JBCACHE-434
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.4SP1
> Reporter: twundke
> Assigned To: Ben Wang
> Fix For: 2.0.0
>
> Attachments: relocate.txt
>
>
> When the object graph handler attempts to remove a node that has references to it, it relocates the data to the first referencing FQN in the list. However, InternalDelegate.relocate() fails to correctly update the AOP references. There is some commented-out code that seems to attempt to update the indirect FQN.
> I've attatched my updated code (for our demo), but it's overly complicated due to lack of time, sleep etc. In fact it fully updates the internal state of the cache for the node (including changing the indirect FQN, and changing all references to point to the new indirect FQN), which was the quickest way to get a solution at the time. You can probably cut out half of this by simply updating the indirect FQN correctly, which I presume was the intent in the first place. However, I believe this still only half-solves the problem as the reference counts need to be updated.
> Sorry if this is a bit of a vague bug report Ben, but I can't fully remember my thinking at the time. Hopefully my code at least shows all that has to be done to keep the cache consistent.
--
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, 11 months
[JBoss JIRA] Updated: (JBCLUSTER-112) WL http session repl using JBossCache
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBCLUSTER-112?page=all ]
Brian Stansberry updated JBCLUSTER-112:
---------------------------------------
Fix Version/s: Q1Y7
(was: Q4Y6)
> WL http session repl using JBossCache
> -------------------------------------
>
> Key: JBCLUSTER-112
> URL: http://jira.jboss.com/jira/browse/JBCLUSTER-112
> Project: JBoss Clustering
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Brian Stansberry
> Fix For: Q1Y7
>
>
> WL http session fine-grained replication using JBossCache
> Goal:
> To use one single pluggable JBoss web clustering module to run JBoss, Tomcat (standalone), and Weblogic http session replication. Right now, both JBoss and Tomcat standalone has used the same module to perform session replication. Currently, we have options of using different replication granularity: SESSION, ATTRIBUTE, and FIELD where FIELD is the fine-grained replication using TreeCacheAop (aka POJO Cache). What is left is Weblogic one. Although Weblogic has itself a replication layer, use of JBossCache is still attractive because no expensive clustering licensing is needed!
> Possible steps need to be done:
> 1. Weblogic has an option of allowing a user to specify a session persistence manager (to file, e.g.). This is where other caching solutions used to hook into WL. We should do the same using JBossCache. However, the exact steps need to be determined.
> 2. Determine the necessary Manager interface that is needed to unify all 3 solutions. Currently, both in JBoss and Tomcat, we have a notion of Manager and Session interface. Session should be relatively standard. But Manager is Tomcat specific. We will need to investigate on the possibility for extension.
> 3. Tomcat uses Valve to create the replication trigger. Need to find a way to do that in WL. How about filter?
> 4. Determine the necessary configuration. Currently in JBoss, we allow to have useJK flag for mod_jk specific failover. Solution in WL should work the same. And so is the session replication granularity.
> 5. JBossCache startup. Weblogic has a startup class that should allow JBossCache to start up as a singleton and for later lookup. Under JBoss, JBossCache is run as a MBean.
> 6. Management attributes. Currently, we are developing JBoss Cache JMX attribute management in 1.3. We will also need to add http session replication management layer as well to be used by all 3 solutions.
> 7. Performance benchmarking. When it is completed, we will need to conduct extensive benchmarking.
--
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, 11 months