aspose file tools*
The moose likes JForum and the fly likes Load Balancing The Cache Amongst a Web Server Cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Load Balancing The Cache Amongst a Web Server Cluster" Watch "Load Balancing The Cache Amongst a Web Server Cluster" New topic
Author

Load Balancing The Cache Amongst a Web Server Cluster

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
This should be added as an FAQ.

:?
[originally posted on jforum.net by Cadillac]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
:-).... 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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Load Balancing The Cache Amongst a Web Server Cluster