Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
bb168293
Commit
bb168293
authored
11 years ago
by
Weston Platter
Browse files
Options
Downloads
Patches
Plain Diff
[redis] add README explaining how to run redid tests
parent
86c535d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
redis/README.md
+39
-0
39 additions, 0 deletions
redis/README.md
with
43 additions
and
0 deletions
.gitignore
+
4
−
0
View file @
bb168293
# ignore compiled byte code
target
# ignore output files from testing
output*
This diff is collapsed.
Click to expand it.
redis/README.md
0 → 100644
+
39
−
0
View file @
bb168293
## Quick Start
This section describes how to run YCSB on MongoDB.
### 1. Start Redis
### 2. Install Java and Maven
### 3. Set Up YCSB
Git clone YCSB and compile:
git clone http://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn -pl com.yahoo.ycsb:core,com.yahoo.ycsb:redis-binding clean package
### 4. Provide Redis Connection Parameters
Set the host, port, and password (do not redis auth is not turned on) in the
workload you plan to run.
-
`redis.url`
-
`redis.port`
-
`redis.password`
Or, you can set configs with the shell command, EG:
./bin/ycsb load redis -s -P workloads/workloada -p "redis.host=127.0.0.1" -p "redis.port=6379" > outputLoad.txt
### 5. Load data and run tests
Load the data:
./bin/ycsb load redis -s -P workloads/workloada > outputLoad.txt
Run the workload test:
./bin/ycsb run redis -s -P workloads/workloada > outputRun.txt
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment