Archive for the ‘WebSphere’ Category

WebSphere Extreme Scale with WebSphere Commerce for improved cache performance

Monday, April 26th, 2010

If there is one thing you should be doing if you you use WebSphere Commerce then it is running a cache policy.  If you don’t you are making your site work much harder than need be, and you are making it respond much more slowly for your users.  It is the one aspect that gets forgotton lots of focus on functionality, the design of the site oh and then maybe performance.  Get cache going in the right way and it will really help, although it does need to be part of your design process than an after thought.

However even cache can have its issues especially once you start to cluster the WebSphere servers.  Multiple copies of the same item will existing across the nodes, so say youcache fragment for a product page would exist in each node inside your WebSphere cluster.  The fact that everything the Commerce environment and cache must exist in a single JVM on the node, this means you are limited by the memory available.  Given most people will be running a 32bit JVM that is really not very much.  Once that memory is used then you get into disk caches and on a busy site you can get a big overhead for your disk offload cache.

Well now there is an option available that can help remove these issues, and it can also be implemented with no extra coding required in the Dynacache environment.  This is IBM’s WebSphere Extreme Scale offering allowing you to move the cache from within the same JVM as Commerce plus keeping everything in memory for better performance.  It also can work away from the machines (virtual or physical running commerce) so can be implemented on cheaper commodity hardware.  It works by utilising multiple JVM’s, which scale in a linear fashion and keeping track of where an object is held across those JVM’s.  So rather than each JVM keeping a copy of your page fragment for a product it is held once in a single JVM.  The WXS environment then keeps track of where the objects are for serving up when requests are made.  Also by only having a single copy of an object an invalidation of an object does not put load on each cache, the object is removed once and rebuilt once rather than multiple times.  When you also come along and turn on a new JVM then it also becomes active straight away but it does not have to build and prime a whole load of cache items.

A couple of other points worth noting if you are on WebSphere Commerce V6 and on WAS 6.0.X, then you will need to upgrade to WAS 6.1.0.25 to run your Commerce environment with Extreme Scale.  It does support WebSPhere Commerce V7 straight away so no problem there.  Also it is possible to use application servers such as Tomcat to provide your JVM’s so no additional WebSphere license costs.  Although WXS does have features such as plugging into the Performance tools in WebSphere, which can give your more integration if required.

IBM WC Info Centre Search

Tuesday, March 23rd, 2010

I use the WebSphere Commerce InfoCenter a lot, over here in the UK as well it is spelt centre!  However given all the resources IBM has for search technology, why can then not make it cable of searching on either spelling mistakes or alternative spelling of words.  For example take the word ‘centre’ you do a search on it and you do get hits (those naughty people using the right spelling) , but all for the word ‘centre’ none for the word ‘center’, seems a bit silly to me.

I am sure it could easily do this, and for all the great content in there it really should be a standard piece of functionality.  Search on misspellings of my word and alternate spellings, because it would help me find things rather than always searching by default on exactly what I put in.

Also one additional thing make sure when you just grab a small piece of text from the page, that your feedback and description are not at the top.  Otherwise as in the V6 info centre you always get the same piece of text in your search results, which means a very small description of what might be in that page.