Install Redis Server:
Download the redis client and server from below URL (download the latest 64 bit or 32 as applicable):
Install Redis Interface Library:
http://pecl-win.googlecode.com/files/php_redis-2.1.3-5.3-ts.dll
(for php 5.3)
https://github.com/nicolasff/phpredis/downloads
( php_redis-2.1.3-5.2-vc6-ts-4350b2a.zip – for php 5.2)
From the above link download the dll file for redis and add it to extension directory of PHP.
Now update the php.ini file to point this new extension.
Implementation:
The implementation is written in PHP code, I have made the changes to
/base/meditab/med_db.php (Right now it has been done for MEM and MOS)
These changes make sure that if there is any update in any table the query for that table will be read from database else it will be from Redis cache.

