Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Using Jforum in a active-active cluster

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've noticed that:
on each request, doesn't load the data from the database, as the show pages, but from a a cached object.
This creates big problem in a active-active cluster: you don't see new categories, forums, private messages.. created on the other servers until you restart the server, and for example if you want to find if there are new posts, to be sure, you have to enter in the forum.

This could be a behavior, but I'm critic on the design:
- read from cache
- show from database (if you disable cache)

It should be the same behavior for all the parts.

I know that it's possible to use jboss cache, but having a critical site with small traffic, we prefer a simple and solid solution.

The same discrepancy is present for example for thumb.
The download link are managed by a servlet, but the thumbnail are directly accessed (this creates big problem if you use a store and upload dir different from the war explosed, e.g. on weblogic), in my opinion all file uploaded should be accessed by servlet.

To solve this we decide to rewrire the to read every time from DB.

Could you please help us to do less changes on the source code, to reach our objectives?


[originally posted on by steunet]
Your mother is a hamster and your father smells of tiny ads!
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic