• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Load Balancing The Cache Amongst a Web Server Cluster

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic