Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Load Balancing The Cache Amongst a Web Server Cluster

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rafael,

How would you recommend configuring jforum in terms of using cache if I am to load balance the coad across multiple servers. For instance, lets say there are 3 web servers and a db server. If all 3 web servers are running their own version of the cache, that would screw things up. However, would certain cache be ok...like message posts? I want to speed up the application as much as possible without getting it into trouble across many servers.

Brakker
[originally posted on jforum.net by coolbreeze]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, jboss cache is suposed to handle that. It will multicast the instances to all nodes, when necessary. However, looks like you don't like this approach, but for all I have seen, people use exactly this approach.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will test this approach and see how it works out.

I think this is a great approach, but I just wondered how efficient it is or if it has been tested at all.

Thanks,

Brakker
[originally posted on jforum.net by coolbreeze]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are trying to achieve the same thing, could you please give us additional details on how you achieved this. Thanks!
[originally posted on jforum.net by mallikamt]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should be added as an FAQ.

:?
[originally posted on jforum.net by Cadillac]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:-).... do u have the final answer ?... reading in the forums it looks like JBossCache could be use but it is not that simple...

and what about the configuration updated trough the Admin Control Pannel... they are going to the config-custom.conf that is read only when the application starts... therefore if u update something such as Max. avatar width u should restart all the other installations to make them read the config-custom.conf....
[originally posted on jforum.net by pasta.bolognese]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic