Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
7dbf0320
Commit
7dbf0320
authored
9 years ago
by
mylesjao
Committed by
Sean Busbey
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[infinispan] add infinispan-binding README
parent
d98697fd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
infinispan/README.md
+41
-0
41 additions, 0 deletions
infinispan/README.md
with
43 additions
and
0 deletions
.gitignore
+
2
−
0
View file @
7dbf0320
...
...
@@ -9,3 +9,5 @@ output*
.classpath
.settings
.checkstyle
.DS_Store
This diff is collapsed.
Click to expand it.
infinispan/README.md
0 → 100644
+
41
−
0
View file @
7dbf0320
## Quick Start
This section describes how to run YCSB on infinispan.
### 1. Install Java and Maven
### 2. Set Up YCSB
1.
Git clone YCSB and compile:
```
git clone http://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package
```
2.
Copy and untar YCSB distribution in distribution/target/ycsb-x.x.x.tar.gz to target machine
### 4. Load data and run tests
####4.1 embedded mode with cluster or not
Load the data:
```
./bin/ycsb load infinispan -P workloads/workloada -p infinispan.clustered=<true or false>
```
Run the workload test:
```
./bin/ycsb run infinispan -s -P workloads/workloada -p infinispan.clustered=<true or false>
```
####4.2 client-server mode
1.
start infinispan server
2.
read
[
RemoteCacheManager
](
http://docs.jboss.org/infinispan/7.2/apidocs/org/infinispan/client/hotrod/RemoteCacheManager.html
)
doc and customize hotrod client properties in infinispan-bindinf/conf/remote-cache.properties
3.
Load the data with specified cache:
```
./bin/ycsb load infinispan-cs -s -P workloads/workloada -P infinispan-binding/conf/remote-cache.properties -p cache=<cache name>
```
4.
Run the workload test with specified cache:
```
./bin/ycsb run infinispan-cs -s -P workloads/workloada -P infinispan-binding/conf/remote-cache.properties -p cache=<cache name>
```
\ No newline at end of file
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