-
Notifications
You must be signed in to change notification settings - Fork 16
Contributing
Alexandre Curreli edited this page Jul 31, 2014
·
6 revisions
- Install the latest version of redis-server supported by scredis
- Start two redis servers
- Original config (port = 6379, no password)
- Run
redis-server
- Custom config (port = 6380, password = 'foobar')
- Create a redis config file, i.e.
/path/custom.conf
- Configure
port 6380
andrequirepass foobar
- Run
redis-server /path/custom.conf
- Run the tests using sbt
Note: you must not create any external connections to either of the redis servers while the tests are running as it might interfere with them.
- Uncomment scredis.ClientBenchmark
- Run
redis-server
with default configuration (port = 6379, no password) - Run
test-only *ClientBenchmark*
via sbt - It can take quite some time to complete, usually about 15 minutes
Note: it would be even better to run the benchmarks against a redis server hosted on a separate machine in the same LAN. That way redis-server's CPU usage would not impact scredis.