WebSphere Commerce suite - Caching multiple domains

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > July 2004 > Caching multiple domains





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Caching multiple domains
hashton1

2004-07-14, 5:58 pm

We want to cache multiple domains using the plugin-cfg.xml plugin and cache.properties config file so that we cache on the web-server instead of the app server.

e.g. The cache.properties files on all web-servers point to
www1.store.ca. When we fail over to our backup domains, the domain changes to www2.store.ca.

We've experimented with changing the value in cache.properties to just store.ca. Caching continues but on the app server only.

Would adding a VirtualHost Name to the plugin-cfg.xml do the trick?

Any help would be appreciated.
Glen Burson

2004-07-19, 5:59 pm

Hello,

You probably need to recycle the web servers (so that the plugin re-reads
the cache.properties file) - did you try that?

Without the www2.store.ca domain in the plugin-cfg.xml I'm surprised the
site works at all when you fail-over?!

By the way, if you have a busy site, be careful about using this caching
method (with the web server talking directly to the cache daemon). It relies
on a 1 to 1 mapping of http processes to WebSphere threads. For example, if
you have 1000 http connections you will require 1000 threads also.

Cheers,
Glen.

"hashton1" <hashton@sears.ca> wrote in message
news:1451882951.1089844162198.JavaMail.wasadmin@swg3ws003...
> We want to cache multiple domains using the plugin-cfg.xml plugin and

cache.properties config file so that we cache on the web-server instead of
the app server.
>
> e.g. The cache.properties files on all web-servers point to
> www1.store.ca. When we fail over to our backup domains, the domain changes

to www2.store.ca.
>
> We've experimented with changing the value in cache.properties to just

store.ca. Caching continues but on the app server only.
>
> Would adding a VirtualHost Name to the plugin-cfg.xml do the trick?
>
> Any help would be appreciated.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com