Implementation of key value store using redis and mysql/memcached
Prerequisites to run
You should have composer
installed.
You should have a web server running - apache
or nginx
.
You should have running instance of redis, mysql
and memcached
server.
Steps to run
- Clone the repository using
git clone
- Go to root and run
composer install
. This will download the dependencies in vendor folder. - Change the configuration in
web/play.php
andweb/playwithmysql.php
. Slave configuration can also be provided inplaywithmysql.php
- To test with redis run
web/play.php
- To test with mysql run
web/playwithmysql.php