https://github.com/cosh/cassandrabenchmark
https://github.com/cosh/cassandrabenchmark
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cosh/cassandrabenchmark
- Owner: cosh
- License: mit
- Created: 2014-05-12T09:11:31.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-17T10:14:03.000Z (almost 12 years ago)
- Last Synced: 2025-02-01T20:30:56.040Z (over 1 year ago)
- Language: Java
- Size: 461 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
Startup
-------
mvn spring-boot:run
Datamodel
---------
curl -H "Content-Type: application/json" -d '{"benchmarkName":"datastaxBatchInsert", "seedNode":"internalIPOfSeedNodeInSameZone"}' http://127.0.0.1:8080/scenario/createDatamodel
curl -H "Content-Type: application/json" -d '{"benchmarkName":"astyanaxBatchInsert", "seedNode":"internalIPOfSeedNodeInSameZone"}' http://127.0.0.1:8080/scenario/createDatamodel
Execution
---------
curl -H "Content-Type: application/json" -d '{"benchmarkName":"datastaxBatchInsert", "seedNode":"internalIPOfSeedNodeInSameZone", "parameter": {"batchSize":"100", "rowCount": "100000"}}' http://127.0.0.1:8080/scenario/execute
curl -H "Content-Type: application/json" -d '{"benchmarkName":"astyanaxBatchInsert", "seedNode":"internalIPOfSeedNodeInSameZone", "parameter": {"batchSize":"100", "rowCount": "100000"}}' http://127.0.0.1:8080/scenario/execute