[jboss-user] [JBossCache] - Re: JBossCache and readonly transactions

2007-04-19 Thread aricci
- 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

[jboss-user] [JBossCache] - Re: JBossCache and readonly transactions

2007-04-18 Thread aricci
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

[jboss-user] [JBossCache] - JBossCache and readonly transactions

2007-04-17 Thread aricci
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

[jboss-user] [JBossCache] - JBossCache transaction isolation levels

2007-04-10 Thread aricci
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

[jboss-user] [JBossCache] - use of org.hibernate.cache.UpdateTimestamp

2007-04-09 Thread aricci
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

[jboss-user] [JBossCache] - Re: JBossCache concurrent transaction management

2007-04-02 Thread aricci
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 :

[jboss-user] [JBossCache] - JBossCache concurrent transaction management

2007-04-02 Thread aricci
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

[jboss-user] [Clustering/JBoss] - Cannot persist replicated EntityBeans

2007-03-29 Thread aricci
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

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - cannot persist replicated entity beans

2007-03-27 Thread aricci
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