From f3841e6b03b1bc3d4b30bc6c635b3bc7e641640e Mon Sep 17 00:00:00 2001 From: Otto van der Schaaf Date: Tue, 16 Jul 2019 19:29:14 +0200 Subject: [PATCH 1/5] Update version history Signed-off-by: Otto van der Schaaf --- docs/root/version_history.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/root/version_history.md b/docs/root/version_history.md index 0a2b215f6..ccb2c138b 100644 --- a/docs/root/version_history.md +++ b/docs/root/version_history.md @@ -1,5 +1,17 @@ Version history --------------- + +0.2 (July 16, 2019) +========================= + +- Nighthawk as a service: (https://github.com/envoyproxy/nighthawk/issues/22) +- Add option to control how request pacing is maintained (https://github.com/envoyproxy/nighthawk/issues/80) +- Add python orchestration for integration testing: https://github.com/envoyproxy/nighthawk/issues/50 +- Benchmark client configuration options: + - Connection-pool configuration https://github.com/envoyproxy/nighthawk/issues/45 + - Allow control of TLS ciphers and settings https://github.com/envoyproxy/nighthawk/issues/32 + - Measure time spend waiting on a full connection queue: https://github.com/envoyproxy/nighthawk/pull/97 + 0.1 (May 6, 2019) ========================= From 795b4f1e349f4fc81585dbd72621de5409e10b7a Mon Sep 17 00:00:00 2001 From: Otto van der Schaaf Date: Tue, 16 Jul 2019 19:41:08 +0200 Subject: [PATCH 2/5] Update README.md Signed-off-by: Otto van der Schaaf --- README.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b84266296..6d418a67b 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,46 @@ For building the Nighthawk test server, see [here](source/server/README.md). ### Test it ```bash -bazel test -c dbg //test:nighthawk_test +bazel test -c dbg //... ``` ### Build it ```bash -bazel build -c opt //:nighthawk_client +bazel build -c opt //... +``` +### Using the service + +The grpc service can be used to start a server which is able to perform back-to-back benchmark runs upon request. The service interface definition [can be found here.](https://github.com/envoyproxy/nighthawk/blob/59a37568783272a6438b5697277d4e56aa16ebbe/api/client/service.proto) + + +```bash +➜ bazel-bin/nighthawk_service --help + +USAGE: + + bazel-bin/nighthawk_service [--listen ] [--] [--version] + [-h] + + +Where: + + --listen + The address:port on which the Nighthawk grpc service should listen. + Default: 0.0.0.0:8443. + + --, --ignore_rest + Ignores the rest of the labeled arguments following this flag. + + --version + Displays version information and exits. + + -h, --help + Displays usage information and exits. + + + L7 (HTTP/HTTPS/HTTP2) performance characterization tool. + ``` ### Using the CLI From d1107e333c31d5ca340f06ed9209a1061d46b6af Mon Sep 17 00:00:00 2001 From: Otto van der Schaaf Date: Wed, 17 Jul 2019 11:03:14 +0200 Subject: [PATCH 3/5] Update docs Signed-off-by: Otto van der Schaaf --- README.md | 71 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 6d418a67b..d25318e34 100644 --- a/README.md +++ b/README.md @@ -25,46 +25,13 @@ For building the Nighthawk test server, see [here](source/server/README.md). ### Test it ```bash -bazel test -c dbg //... +bazel test -c dbg //test/... ``` ### Build it ```bash -bazel build -c opt //... -``` -### Using the service - -The grpc service can be used to start a server which is able to perform back-to-back benchmark runs upon request. The service interface definition [can be found here.](https://github.com/envoyproxy/nighthawk/blob/59a37568783272a6438b5697277d4e56aa16ebbe/api/client/service.proto) - - -```bash -➜ bazel-bin/nighthawk_service --help - -USAGE: - - bazel-bin/nighthawk_service [--listen ] [--] [--version] - [-h] - - -Where: - - --listen - The address:port on which the Nighthawk grpc service should listen. - Default: 0.0.0.0:8443. - - --, --ignore_rest - Ignores the rest of the labeled arguments following this flag. - - --version - Displays version information and exits. - - -h, --help - Displays usage information and exits. - - - L7 (HTTP/HTTPS/HTTP2) performance characterization tool. - +bazel build -c opt //:nighthawk_client nighthawk_test_server nighthawk_service ``` ### Using the CLI @@ -188,6 +155,40 @@ Where: ``` +### Nighthawk gRPC service + +The gRPC service can be used to start a server which is able to perform back-to-back benchmark runs upon request. The service interface definition [can be found here.](https://github.com/envoyproxy/nighthawk/blob/59a37568783272a6438b5697277d4e56aa16ebbe/api/client/service.proto) + + +```bash +➜ bazel-bin/nighthawk_service --help + +USAGE: + + bazel-bin/nighthawk_service [--listen ] [--] [--version] + [-h] + + +Where: + + --listen + The address:port on which the Nighthawk gRPC service should listen. + Default: 0.0.0.0:8443. + + --, --ignore_rest + Ignores the rest of the labeled arguments following this flag. + + --version + Displays version information and exits. + + -h, --help + Displays usage information and exits. + + + L7 (HTTP/HTTPS/HTTP2) performance characterization tool. + +``` + ## A sample benchmark run ```bash From 6585594e83e288a0264fc7ea2d36049d17ad2c99 Mon Sep 17 00:00:00 2001 From: Otto van der Schaaf Date: Wed, 17 Jul 2019 11:08:18 +0200 Subject: [PATCH 4/5] doc integration tests Signed-off-by: Otto van der Schaaf --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d25318e34..700fad243 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ For building the Nighthawk test server, see [here](source/server/README.md). ### Test it ```bash -bazel test -c dbg //test/... +bazel test -c dbg //test/... //integration/... ``` ### Build it From dfd01e583554f69eaa8ec1dba69a8c68333f7ba3 Mon Sep 17 00:00:00 2001 From: Otto van der Schaaf Date: Wed, 17 Jul 2019 23:34:24 +0200 Subject: [PATCH 5/5] Add filegroup & update README.md Signed-off-by: Otto van der Schaaf --- BUILD | 9 +++++++++ README.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 12a138ad0..33e20fd5b 100644 --- a/BUILD +++ b/BUILD @@ -8,6 +8,15 @@ load( envoy_package() +filegroup( + name = "nighthawk", + srcs = [ + ":nighthawk_client", + ":nighthawk_service", + ":nighthawk_test_server", + ], +) + envoy_cc_binary( name = "nighthawk_client", repository = "@envoy", diff --git a/README.md b/README.md index 700fad243..b8b3f7445 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ bazel test -c dbg //test/... //integration/... ### Build it ```bash -bazel build -c opt //:nighthawk_client nighthawk_test_server nighthawk_service +bazel build -c opt //:nighthawk ``` ### Using the CLI