T
timasmith
Hi,
For scalability which do you think performs better? Assume Oracle 10g,
JBoss AS (x10), 1000 concurrent users (heavy transaction processing -
mostly reads).
a) Let Hibernate/JBoss Tree Cache perform caching of active content -
AS pinging each other, keeping data in sync.
b) Mark your objects with a version number and every time the object is
requested select the version number and if the object has not changed
return from cache.
Perhaps b) is more scalable since it does not require activity across
all servers to keep everything in synch and less restrictive since you
can update the database directly - as long as you increment the version
number.
On the other hand the JBoss servers will not need to hit the database
every time either...
Thoughts?
Tim
For scalability which do you think performs better? Assume Oracle 10g,
JBoss AS (x10), 1000 concurrent users (heavy transaction processing -
mostly reads).
a) Let Hibernate/JBoss Tree Cache perform caching of active content -
AS pinging each other, keeping data in sync.
b) Mark your objects with a version number and every time the object is
requested select the version number and if the object has not changed
return from cache.
Perhaps b) is more scalable since it does not require activity across
all servers to keep everything in synch and less restrictive since you
can update the database directly - as long as you increment the version
number.
On the other hand the JBoss servers will not need to hit the database
every time either...
Thoughts?
Tim