Skip to content

Commit

Permalink
renaming stuff mostly
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyrazorblade committed Feb 16, 2024
1 parent 94f5356 commit 3d44d79
Show file tree
Hide file tree
Showing 11 changed files with 144 additions and 144 deletions.
80 changes: 40 additions & 40 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,46 +168,46 @@ applicationDistribution.from("LICENSE.txt") {
into ""
}


task uploadDeb(type: Exec) {
group = "Publish"
workingDir 'build/distributions'

def debPackage = "easy-cass-stress_${version}_all.deb"

// get the deb package

logger.info("Uploading DEB $debPackage")
commandLine "curl", "-T", debPackage, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/thelastpickle/tlp-tools-deb/easy-cass-stress/${version}/$debPackage;deb_distribution=weezy,bionic,jessie,xenial;deb_component=main;deb_architecture=amd64;publish=1"

}

task uploadRpm(type: Exec) {
group = "Publish"
workingDir 'build/distributions'

def rpmPackage = "easy-cass-stress-${version}.noarch.rpm"

logger.info("Uploading RPM $rpmPackage")
commandLine "curl", "-T", rpmPackage, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/thelastpickle/tlp-tools-rpm/easy-cass-stress/${version}/$rpmPackage;publish=1"
}

task uploadTar(type:Exec) {
group = "Publish"
workingDir 'build/distributions'
def tarball = "easy-cass-stress-${version}.tar"

logger.info("Uploading Tar $tarball")
commandLine "curl", "-T", tarball, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/thelastpickle/tlp-tools-tarball/easy-cass-stress/${version}/$tarball;publish=1"
}

task uploadAll {
group = "Publish"
dependsOn "jib"
dependsOn "uploadDeb"
dependsOn "uploadRpm"
dependsOn "uploadTar"
}
//
//task uploadDeb(type: Exec) {
// group = "Publish"
// workingDir 'build/distributions'
//
// def debPackage = "easy-cass-stress_${version}_all.deb"
//
// // get the deb package
//
// logger.info("Uploading DEB $debPackage")
// commandLine "curl", "-T", debPackage, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/rustyrazorblade/tlp-tools-deb/easy-cass-stress/${version}/$debPackage;deb_distribution=weezy,bionic,jessie,xenial;deb_component=main;deb_architecture=amd64;publish=1"
//
//}
//
//task uploadRpm(type: Exec) {
// group = "Publish"
// workingDir 'build/distributions'
//
// def rpmPackage = "easy-cass-stress-${version}.noarch.rpm"
//
// logger.info("Uploading RPM $rpmPackage")
// commandLine "curl", "-T", rpmPackage, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/rustyrazorblade/tlp-tools-rpm/easy-cass-stress/${version}/$rpmPackage;publish=1"
//}
//
//task uploadTar(type:Exec) {
// group = "Publish"
// workingDir 'build/distributions'
// def tarball = "easy-cass-stress-${version}.tar"
//
// logger.info("Uploading Tar $tarball")
// commandLine "curl", "-T", tarball, "-u", System.getenv("BINTRAY_USER") + ":" + System.getenv("BINTRAY_KEY"), "https://api.bintray.com/content/rustyrazorblade/tlp-tools-tarball/easy-cass-stress/${version}/$tarball;publish=1"
//}
//
//task uploadAll {
// group = "Publish"
// dependsOn "jib"
// dependsOn "uploadDeb"
// dependsOn "uploadRpm"
// dependsOn "uploadTar"
//}

wrapper {
distributionType = Wrapper.DistributionType.ALL
Expand Down
20 changes: 10 additions & 10 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ <h1>easy-cass-stress</h1>
<div class="details">
<span id="author" class="author">Jon Haddad</span><br>
<span id="email" class="email"><a href="mailto:[email protected]">[email protected]</a></span><br>
<span id="revdate">Anthony Grasso &lt;anthony@thelastpickle.com&gt;</span>
<span id="revdate">Anthony Grasso &lt;anthony@rustyrazorblade.com&gt;</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -542,7 +542,7 @@ <h3 id="_building_using_the_stress_tool_from_source">Building / Using the Stress
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-bash" data-lang="bash">$ git clone https://github.com/thelastpickle/easy-cass-stress.git
<pre class="highlight"><code class="language-bash" data-lang="bash">$ git clone https://github.com/rustyrazorblade/easy-cass-stress.git
$ cd easy-cass-stress
$ ./gradlew shadowJar</code></pre>
</div>
Expand Down Expand Up @@ -582,9 +582,9 @@ <h3 id="_run_your_first_stress_workload">Run Your First Stress Workload</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight nowrap"><code class="language-bash" data-lang="bash">WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Creating tlp_stress:
Creating easy_cass_stress:
CREATE KEYSPACE
IF NOT EXISTS tlp_stress
IF NOT EXISTS easy_cass_stress
WITH replication = {'class': 'SimpleStrategy', 'replication_factor':3 }

Creating schema
Expand All @@ -605,8 +605,8 @@ <h3 id="_run_your_first_stress_workload">Run Your First Stress Workload</h3>
[Thread 0]: Running the profile for 10000 iterations...
Writes Reads Deletes Errors
Count Latency (p99) 1min (req/s) | Count Latency (p99) 1min (req/s) | Count Latency (p99) 1min (req/s) | Count 1min (errors/s)
5013 72.22 0 | 4987 93.94 0 | 0 0 0 | 0 0
5013 72.22 0 | 4987 93.94 0 | 0 0 0 | 0 0
5021 28.36 0 | 4979 32.51 0 | 0 0 0 | 0 0
5021 28.36 0 | 4979 32.51 0 | 0 0 0 | 0 0
Stress complete, 1.</code></pre>
</div>
</div>
Expand Down Expand Up @@ -642,7 +642,7 @@ <h3 id="_general_help">General Help</h3>
Options:
--cl
Consistency level for reads/writes (Defaults to LOCAL_ONE, set
custom default with TLP_STRESS_CONSISTENCY_LEVEL).
custom default with EASY_CASS_STRESS_CONSISTENCY_LEVEL).
Default: LOCAL_ONE
Possible Values: [ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM, EACH_QUORUM, SERIAL, LOCAL_SERIAL, LOCAL_ONE]
--compaction
Expand Down Expand Up @@ -709,7 +709,7 @@ <h3 id="_general_help">General Help</h3>
Default: ALL
--keyspace
Keyspace to use
Default: tlp_stress
Default: easy_cass_stress
--max-connections
Sets the number of max connections per host
Default: 8
Expand Down Expand Up @@ -1038,7 +1038,7 @@ <h3 id="_logging">Logging</h3>
<p>You can find the default log4j config inhttps://github.com/rustyrazorblade/easy-cass-stress/blob/main/src/main/resources/log4j2.yaml[<code>conf</code>, window="_blank"]. This should be suitable for most use cases.</p>
</div>
<div class="paragraph">
<p>To use your own logging configuration, simply set the shell variable <code>TLP_STRESS_LOG4J</code> to the path of the new logging configuration before running <code>easy-cass-stress</code> to point to the config file of your choice.</p>
<p>To use your own logging configuration, simply set the shell variable <code>EASY_CASS_STRESS_LOG4J</code> to the path of the new logging configuration before running <code>easy-cass-stress</code> to point to the config file of your choice.</p>
</div>
<div class="paragraph">
<p>For more information on how to configure Log4J 2 please see the <a href="https://logging.apache.org/log4j/2.x/manual/configuration.html">configuration</a> documentation.</p>
Expand Down Expand Up @@ -1097,7 +1097,7 @@ <h3 id="_writing_a_custom_workload">Writing a Custom Workload</h3>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-02-14 21:33:52 UTC
Last updated 2024-02-14 22:00:01 UTC
</div>
</div>
</body>
Expand Down
18 changes: 9 additions & 9 deletions manual/MANUAL.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ The current version is {EASY_CASS_STRESS_VERSION}.
==== Deb Packages
```
$ echo "deb https://dl.bintray.com/thelastpickle/tlp-tools-deb weezy main" | sudo tee -a /etc/apt/sources.list
$ echo "deb https://dl.bintray.com/rustyrazorblade/tlp-tools-deb weezy main" | sudo tee -a /etc/apt/sources.list
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2895100917357435
$ sudo apt update
$ sudo apt install easy-cass-stress
```
==== RPM Packages
You'll need the bintray repo set up on your machine. Create this `/etc/yum.repos.d/tlp-tools.repo`:
eYou'll need the bintray repo set up on your machine. Create this `/etc/yum.repos.d/tlp-tools.repo`:
```
[bintraybintray-thelastpickle-tlp-tools-rpm]
name=bintray-thelastpickle-tlp-tools-rpm
baseurl=https://dl.bintray.com/thelastpickle/tlp-tools-rpm
[bintraybintray-rustyrazorblade-tlp-tools-rpm]
name=bintray-rustyrazorblade-tlp-tools-rpm
baseurl=https://dl.bintray.com/rustyrazorblade/tlp-tools-rpm
gpgcheck=0
repo_gpgcheck=0
enabled=1
Expand All @@ -71,14 +71,14 @@ $ yum install easy-cass-stress
```
Further information can be found on the https://bintray.com/beta/#/thelastpickle/tlp-tools-rpm?tab=packages[BinTray website].
Further information can be found on the https://bintray.com/beta/#/rustyrazorblade/tlp-tools-rpm?tab=packages[BinTray website].
==== Tarball Install
[subs="attributes"]
```
$ curl -L -O "https://dl.bintray.com/thelastpickle/tlp-tools-tarball/easy-cass-stress-{EASY_CASS_STRESS_VERSION}.tar
$ curl -L -O "https://dl.bintray.com/rustyrazorblade/tlp-tools-tarball/easy-cass-stress-{EASY_CASS_STRESS_VERSION}.tar
$ tar -xzf easy-cass-stress-{EASY_CASS_STRESS_VERSION}.tar
```
Expand All @@ -96,7 +96,7 @@ First you'll need to clone and build the repo. You can grab the source here and


```bash
$ git clone https://github.com/thelastpickle/easy-cass-stress.git
$ git clone https://github.com/rustyrazorblade/easy-cass-stress.git
$ cd easy-cass-stress
$ ./gradlew shadowJar
```
Expand Down Expand Up @@ -289,7 +289,7 @@ workload to specify which fields can be used this way.

You can find the default log4j config inhttps://github.com/rustyrazorblade/easy-cass-stress/blob/main/src/main/resources/log4j2.yaml[`conf`, window="_blank"]. This should be suitable for most use cases.

To use your own logging configuration, simply set the shell variable `TLP_STRESS_LOG4J` to the path of the new logging configuration before running `easy-cass-stress` to point to the config file of your choice.
To use your own logging configuration, simply set the shell variable `EASY_CASS_STRESS_LOG4J` to the path of the new logging configuration before running `easy-cass-stress` to point to the config file of your choice.

For more information on how to configure Log4J 2 please see the https://logging.apache.org/log4j/2.x/manual/configuration.html[configuration] documentation.

Expand Down
4 changes: 2 additions & 2 deletions manual/examples/easy-cass-stress-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Usage: easy-cass-stress [options] [command] [command options]
Options:
--cl
Consistency level for reads/writes (Defaults to LOCAL_ONE, set
custom default with TLP_STRESS_CONSISTENCY_LEVEL).
custom default with EASY_CASS_STRESS_CONSISTENCY_LEVEL).
Default: LOCAL_ONE
Possible Values: [ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM, EACH_QUORUM, SERIAL, LOCAL_SERIAL, LOCAL_ONE]
--compaction
Expand Down Expand Up @@ -78,7 +78,7 @@ Usage: easy-cass-stress [options] [command] [command options]
Default: ALL
--keyspace
Keyspace to use
Default: tlp_stress
Default: easy_cass_stress
--max-connections
Sets the number of max connections per host
Default: 8
Expand Down
8 changes: 4 additions & 4 deletions manual/examples/easy-cass-stress-keyvalue.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$ bin/easy-cass-stress run KeyValue -n 10000
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Creating tlp_stress:
Creating easy_cass_stress:
CREATE KEYSPACE
IF NOT EXISTS tlp_stress
IF NOT EXISTS easy_cass_stress
WITH replication = {'class': 'SimpleStrategy', 'replication_factor':3 }

Creating schema
Expand All @@ -23,6 +23,6 @@ Starting main runner
[Thread 0]: Running the profile for 10000 iterations...
Writes Reads Deletes Errors
Count Latency (p99) 1min (req/s) | Count Latency (p99) 1min (req/s) | Count Latency (p99) 1min (req/s) | Count 1min (errors/s)
5013 72.22 0 | 4987 93.94 0 | 0 0 0 | 0 0
5013 72.22 0 | 4987 93.94 0 | 0 0 0 | 0 0
5021 28.36 0 | 4979 32.51 0 | 0 0 0 | 0 0
5021 28.36 0 | 4979 32.51 0 | 0 0 0 | 0 0
Stress complete, 1.
Loading

0 comments on commit 3d44d79

Please sign in to comment.