- REPLICATION mode replicates everything is put inside the cache. This is bad
because replicates everything, also objects that have not been modified,
generating unnecessary traffic.
- INVALIDATION mode tags objects that are out of date. This is bad because
objects have to be reloaded into cache
Caching read-only data is a good thing if it is done locally, but i donĀ“t
understand why should we replicate them to all nodes in the cluster.
Scalability and good performances can be achieved only if we reduce the amount
of informations sent to the channel. So imagine that a transaction performs
Hi all,
i have developed a simple application that performs a readonly transaction,
making 2 SELECT on a table in the database. i am testing it on a JBoss cluster.
what i have noticed is that retrieved EntityBeans are inserted inside the local
JBossCache and replicated to the other ones at the e
hi all,
i am testing JBossCache (version 1.4.1.SP3) Transaction Isolation levels. For
this reason i have developed a simple test application that creates 2 threads
that concurrently perform local transactions. All the examples have been done
with Postgres-8.2.1, and everytime i have changed JBos
hi all,
i am using JBossCache (1.4.1.SP3) and i am trying to understand how it works.
looking at the printDetails() function of the JBossCache bean in the JBoss
JMX-Console, i have noticed that org.hibernate.cache.UpdateTimestamp..item is
updated everytime with the timestamp of the last modifica
i forgot to specify my JBossCache (version1.4.0.SP1) EntityBeans configuration:
- NodeLockingScheme: PESSIMISTIC
- IsolationLevel: REPEATABLE_READ
- CacheMode: REPL_SYNC
Andrea
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033638#4033638
Reply to the post :
Hi everyone,
i am trying to understand how concurrent transactions are managed by
JBossCache. I have developed a simple EJB3 application that i am testing on a
cluster of JBoss-4.0.5 instances. it creates a certain amount of threads that
perform concurrent modification and creation of EntityBean
Hi everyone,
i have a cluster of JBoss instances (version 4.0.5), each of them having its
own local database copy. I have developed a simple EJB3 application that tryes
to insert datas inside a database to test the behaviour of JBoss replication.
The application ends without problems, all datas
Hi everyone,
i have a cluster of JBoss instances (version 4.0.5), each of them having its
own local database copy. I have developed a simple EJB3 application that try to
insert datas inside a database to test the behaviour of JBoss replication. The
application ends without problems, all datas ar