diff --git a/src/sections/Counters/index.js b/src/sections/Counters/index.js index 7f90f142f3e0d..a9bf3b24a7a79 100644 --- a/src/sections/Counters/index.js +++ b/src/sections/Counters/index.js @@ -12,8 +12,11 @@ const Counters = () => { useEffect(() => { fetch(URL) - .then(response => response.json()) - .then(result => setPerformanceCount(result.total_runs)); + .then((response) => response.json()) + .then((result) => setPerformanceCount(result.totalRuns)) + .catch((error) => + console.error("Error fetching performance test count:", error), + ); }, []); return ( diff --git a/src/sections/Meshery/Features-Col/index.js b/src/sections/Meshery/Features-Col/index.js index 9b33e6683ad9b..549ad63470752 100644 --- a/src/sections/Meshery/Features-Col/index.js +++ b/src/sections/Meshery/Features-Col/index.js @@ -18,7 +18,22 @@ function getServiceFeature(service, index) {
{feature.count.description}
@@ -60,7 +80,8 @@ function getFeatureBlock(feature, index, performanceCount) { const Features = () => { const [performanceCount, setPerformanceCount] = useState(0); - const performanceCountEndpoint = "https://cloud.layer5.io/api/performance/results/total"; + const performanceCountEndpoint = + "https://cloud.layer5.io/api/performance/results/total"; useEffect(() => { fetch(performanceCountEndpoint) @@ -72,13 +93,13 @@ const Features = () => { return response.json(); }) .then((resultcount) => { - if (resultcount && typeof resultcount.total_runs === "number") { - setPerformanceCount(resultcount.total_runs); + if (resultcount && typeof resultcount.totalRuns === "number") { + setPerformanceCount(resultcount.totalRuns); } }) .catch((error) => { - console.log("Failed to fetch performance count:", error.message); - // Keep default value of 0 if fetch fails + console.error("Failed to fetch performance count:", error.message); + // Keep default value of 0 if fetch fails }); }, []); @@ -94,12 +115,11 @@ const Features = () => {Users
Performance tests run
Meshery is the easiest way to get started with Nighthawk on any cloud or platform.
++ Meshery is the easiest way to get started with Nighthawk on + any cloud or platform. +
Histogram Statistics
Meshery Tests
Closed and Open-loop
Percentiles calculated
Nighthawk is a versatile HTTP load testing tool built out of a need to drill HTTP services with a constant request rate or with an adaptive request rate. Layer5 offers a custom distribution of Nighthawk with intelligent adaptive load controllers to automatically identify optimal configurations for your service mesh deployment. - As a Layer 7 performance characterization tool supporting HTTP/HTTPS/HTTP2, Nighthawk is Meshery's (and Envoy's) load generator and is written in C++. +
+ Nighthawk is a versatile HTTP load testing tool built out of a need + to drill HTTP services with a constant request rate or with an + adaptive request rate. Layer5 offers a custom distribution of + Nighthawk with intelligent adaptive load controllers to + automatically identify optimal configurations for your service mesh + deployment. As a Layer 7 performance characterization tool + supporting HTTP/HTTPS/HTTP2, Nighthawk is Meshery's (and Envoy's) + load generator and is written in C++.
-Meshery integrates Nighthawk as one of (currently) three choices of load generator for characterizing and managing the performance of service meshes and their workloads.
++ Meshery integrates Nighthawk as one of (currently) three + choices of load generator for characterizing and managing the + performance of service meshes and their workloads.{" "} +
As with a lot of open source projects, there is a lack of consistent tooling. This makes it difficult to have easily repeatable tests in that the building, deploying, and maintaining of Nighthawk instances (potentially a fleet of Nighthawk instances) is a burden without additional tooling.
- ++ As with a lot of open source projects, there is a lack of + consistent tooling. This makes it difficult to have easily + repeatable tests in that the building, deploying, and + maintaining of Nighthawk instances (potentially a fleet of + Nighthawk instances) is a burden without additional + tooling.{" "} +
+Distributed load testing offers insight into system behaviors that arguably more accurately represent real world behaviors of services under load as that load comes from any number of sources.
-Engineers need multi-variate load generation and analysis techniques offered through distributed performance analysis. Nighthawk is being improved so that it can be horizontally scalable - such that multiple instances will be cognizant of one another and able to coordinate amongst each other. Nighthawk is growing in popularity with Layer5, Google, Red Hat, and AWS investing into it.
++ Distributed load testing offers insight into system behaviors that + arguably more accurately represent real world behaviors of services + under load as that load comes from any number of sources. +
++ Engineers need multi-variate load generation and analysis techniques + offered through distributed performance analysis. Nighthawk is being + improved so that it can be horizontally scalable - such that + multiple instances will be cognizant of one another and able to + coordinate amongst each other. Nighthawk is growing in popularity + with Layer5, Google, Red Hat, and AWS investing into it. +
Enabling Standards-based, Distributed Performance Management - Nighthawk integrates Meshery and Nighthawk. Through this integration Meshery facilitates Service Mesh Performance (SMP) compatibility for Nighthawk.
++ Enabling Standards-based, Distributed Performance Management + - Nighthawk integrates Meshery and Nighthawk. Through this + integration Meshery facilitates{" "} + + Service Mesh Performance (SMP) + {" "} + compatibility for Nighthawk. +
Nighthawk integrates with Meshery and provides you with the ability to schedule performance tests or insert them into your CI pipeline.
-Adaptive analysis in which you may run multi-stage performance tests and persist their results in a historical archive is also enabled through integration with Meshery.
++ Nighthawk integrates with Meshery{" "} + and provides you with the ability to schedule performance + tests or insert them into your CI pipeline. +
++ Adaptive analysis in which you may run multi-stage + performance tests and persist their results in a historical + archive is also enabled through integration with Meshery. +
Nighthawk will provide generally-available distributions of Nighthawk under different architectures and platforms and easy-to-use tooling for installation and operation. This will include creating distributions of Nighthawk as well as augmenting existing tooling, Meshery, to retrieve these arch-specific packages and update their deployments.
++ Nighthawk will provide generally-available distributions of + Nighthawk under different architectures and platforms and + easy-to-use tooling for installation and operation. This will + include creating distributions of Nighthawk as well as + augmenting existing tooling, Meshery, to retrieve these + arch-specific packages and update their deployments. +
| + | + + |
- Further the state of distributed
- Enable standards-based, distributed performance management through compatibility with the Service Mesh Performance (SMP) specification.
+ Enable standards-based, distributed performance
+ management through compatibility with the Service Mesh
+ Performance (SMP) specification.
|
| + | + + |
- - Facilitate Nighthawk adoption. -- Deliver trusted, certified builds, distributed via the most popular package managers: apt, yum, Homebrew, and platforms: Docker and Meshery. - Bridge Nighthawk’s C++ with the lingua franca of Cloud Native: Golang. +Facilitate Nighthawk adoption.+ Deliver trusted, certified builds, distributed via the + most popular package managers: apt, yum, Homebrew, and + platforms: Docker and Meshery. Bridge Nighthawk’s C++ + with the lingua franca of Cloud Native: Golang. |
| + | + + |
- Deliver easy-to-use, repeatable
- To leverage Nighthawk as the performance characterization tool as used in the 30 patterns in the Service Mesh Patterns book.
+ To leverage Nighthawk as the performance
+ characterization tool as used in the 30 patterns in the
+ Service Mesh Patterns book.
|
| + | + + |
- - Educate the ecosystem -- Educate the ecosystem through the CNCF Service Mesh Working Group. +Educate the ecosystem+ Educate the ecosystem through the CNCF Service Mesh + Working Group. |