Sitecore Commerce release 9.2 now has a new component cache provider, well another story to boost performance of a commerce platform and one of the reasons for clients on older version of sitecore commerce to plan for an upgrade.
Well what’s about it? “Redis cache provider has been introduced in XC 9.2”.
Detailed documentation has been provided by sitecore Installation Guide – WDP for On Premise and Commerce Engine Caching. Look at the quick read section of this blog post for some short notes to know more on it. Here I am sharing how we can install Redis and a client UI for Redis which is now one of the requisites before installing Sitecore Commerce.
For developer box or single server deployments Memory cache provide can be used instead of Redis. We wanted to have our dev boxes match as much as they can with our higher environments so we installed Redis on the dev boxes. Let’s jump into installing Redis.
Redis for windows can be downloaded from here. Redis 3.0.504 is the latest stable release as compared to 3.2.100 pre-release which can be used for sitecore commerce.
2)Leave the default port of Redis server to 6379.
3)Memory limit can be tuned but for dev box going ahead with defaults
4)Once installation is finished what’s next where did Redis got installed or how can it be validated? Clueless…
5)Redis Server got installed as a windows service something similar to SOLR service running in background.
6)Let’s play Ping PONG. For validating Redis Server is replying redis-cli, “the Redis command line interface” can be used
7)Run Command Prompt as administrator and hit redis-cli and then issue a ping command, PONG is expected to be replied if all iZZ… well…
Should I stop here or there is more to come? The last part would be to have a client so that Redis server can be connected via client and the cache keys and values be looked upon. After some googling there were various tools that are available as Redis client I landed So, You’re Looking for the Redis GUI? at which list some handsome GUIs. The one that caught my attention was Redis Commander: A Free Node.js Powerful Choice
Installing Redis Commander
1)From command prompt run npm install -g redis-commander, this will install redis commander
2)On successful installation, on command prompt run redis-commander
3)Open browser and hit http://127.0.0.1:8081/
Stay tuned as my plan further would be to share how we can configure Redis on Production environments to be used by Sitecore Commerce.
One more “3rd one” on my list of Sitecore Commerce Journal series.