aboutsummaryrefslogtreecommitdiffstats
path: root/docs/development/devtools
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2021-03-29 11:29:00 +0100
committerJim Hahn <jrh3@att.com>2021-03-29 18:51:08 +0000
commit74d444bf2ea6beff5076acdb79d40ab2806a157b (patch)
tree34caa8d08a954a9325bda7f1ba3586e9f06b56af /docs/development/devtools
parent27ae3475ae6d9f1676ebe88a0452d3ce9bdb92dc (diff)
Honululu Api Stability Run Results
Issue-ID: POLICY-3112 Change-Id: I3fc0a19a3de17120ba654c1cf9a175514496b1db Signed-off-by: lapentafd <francesco.lapenta@est.tech> (cherry picked from commit 76d34fa42aa73bb83af31c35cf9dcaa2f0949a60)
Diffstat (limited to 'docs/development/devtools')
-rw-r--r--docs/development/devtools/api-s3p.rst9
-rw-r--r--docs/development/devtools/images/api-response-time-distribution.pngbin100422 -> 0 bytes
-rw-r--r--docs/development/devtools/images/api-response-time-distribution_H.pngbin0 -> 50148 bytes
diff --git a/docs/development/devtools/api-s3p.rst b/docs/development/devtools/api-s3p.rst
index 3e68f5b0..439719be 100644
--- a/docs/development/devtools/api-s3p.rst
+++ b/docs/development/devtools/api-s3p.rst
@@ -118,23 +118,24 @@ The load was performed against a non-tweaked ONAP OOM installation.
======================= ============= =========== =============================== =============================== ===============================
**Total # of requests** **Success %** **TPS** **Avg. time taken per request** **Min. time taken per request** **Max. time taken per request**
======================= ============= =========== =============================== =============================== ===============================
- 176407 100% 0.68 7340 ms 34 ms 49298 ms
+ 627746 100% 2.42 2058 ms 26 ms 72809 ms
======================= ============= =========== =============================== =============================== ===============================
+.. image:: images/api-s3p-jm-1_H.png
**JMeter Results**
The following graphs show the response time distributions. The "Get Policy Types" API calls are the most expensive calls that
average a 10 seconds plus response time.
-.. image:: images/api-response-time-distribution.png
-.. image:: images/api-response-time-overtime.png
+.. image:: images/api-response-time-distribution_H.png
+.. image:: images/api-response-time-overtime_H.png
Performance Test of Policy API
++++++++++++++++++++++++++++++
-A specific performance test was omitted in Guilin. The JMeter script used in the stability run injected
+A specific performance test was omitted in Honululu (as in Guilin). The JMeter script used in the stability run injected
back to back traffic with 5 parallel threads with no pauses between requests. Since the JMeter threads operate
in synchronous mode (waiting for a request's response before sending the next request), JMeter injection rates autoregulate
because of the backpressure imposed by the response times. Even though the response times are high, the
diff --git a/docs/development/devtools/images/api-response-time-distribution.png b/docs/development/devtools/images/api-response-time-distribution.png
deleted file mode 100644
index e57ff627..00000000
--- a/docs/development/devtools/images/api-response-time-distribution.png
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/images/api-response-time-distribution_H.png b/docs/development/devtools/images/api-response-time-distribution_H.png
new file mode 100644
index 00000000..04bad0a0
--- /dev/null
+++ b/docs/development/devtools/images/api-response-time-distribution_H.png
Binary files differ
diff --git a/docs/development/devtools/images/api-response-time-overtime.png b/docs/development/devtools/images/api-response-time-overtime.png
deleted file mode 100644
index c80a6a64..00000000
--- a/docs/development/devtools/images/api-response-time-overtime.png
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/images/api-response-time-overtime_H.png b/docs/development/devtools/images/api-response-time-overtime_H.png
new file mode 100644
index 00000000..61fa3fd3
--- /dev/null
+++ b/docs/development/devtools/images/api-response-time-overtime_H.png
Binary files differ
diff --git a/docs/development/devtools/images/api-s3p-jm-1_H.png b/docs/development/devtools/images/api-s3p-jm-1_H.png
new file mode 100644
index 00000000..717f23b7
--- /dev/null
+++ b/docs/development/devtools/images/api-s3p-jm-1_H.png
Binary files differ
an> PfSearchableKey extends PfKeyImpl { private static final long serialVersionUID = 8932717618579392561L; /** Regular expression to specify the structure of key names. */ public static final String WILDCARD_NAME_REGEXP = "^[A-Za-z0-9\\-_\\.]+(?:\\.\\*)?$"; @Column(name = NAME_TOKEN, length = 120) private String name; @Column(name = VERSION_TOKEN, length = 20) private String version; /** * The default constructor creates a null key. */ public PfSearchableKey() { this(NULL_KEY_NAME, NULL_KEY_VERSION); } /** * Copy constructor. * * @param copyKey the key to copy from */ public PfSearchableKey(final PfSearchableKey copyKey) { super(copyKey); } /** * Constructor to create a key with the specified name and version. * * @param name the key name * @param version the key version */ public PfSearchableKey(final String name, final String version) { super(name, version); } /** * Constructor to create a key using the key and version from the specified key ID. * * @param id the key ID in a format that respects the KEY_ID_REGEXP */ public PfSearchableKey(final String id) { super(id); } public void setName(@NonNull final String name) { this.name = Assertions.validateStringParameter(NAME_TOKEN, name, getNameRegEx()); } public void setVersion(@NonNull final String version) { this.version = Assertions.validateStringParameter(VERSION_TOKEN, version, getVersionRegEx()); } /** * Get a null key. * * @return a null key */ public static final PfSearchableKey getNullKey() { return new PfSearchableKey(PfKey.NULL_KEY_NAME, PfKey.NULL_KEY_VERSION); } @Override protected String getNameRegEx() { return WILDCARD_NAME_REGEXP; } @Override public String toString() { return "PfSearchableKey(name=" + getName() + ", version=" + getVersion() + ")"; } }