commit 33e39e427cc90aab28354f452f356c1e0b355fcf
parent 87b3a942163301022cf091d07dfcc71233d5b0c3
Author: MS <ms@taler.net>
Date: Thu, 24 Aug 2023 13:45:51 +0200
Fix libeufin performance tutorial.
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/libeufin/performance.rst b/libeufin/performance.rst
@@ -5,7 +5,7 @@ This document explains how to prove the following performance
requirements implemented in LibEuFin.
1. Long-polling offered by Nexus to the Exchange Wirewatch.
-2. Reduced database usage of disk space.
+2. Reduced usage of disk space by the database.
3. PostgreSQL short-lived database sessions.
4. Participation in the Taler benchmark.
@@ -24,8 +24,8 @@ Long-polling
This demonstrator is a Docker image that installs LibEuFin
and registers one user at both Sandbox and Nexus. The Nexus
-user is set up to use the Taler Wire Gateway, so that they
-can emulate the client side of a Taler exchange (wire-watch).
+user is set up to use the Taler Wire Gateway, to let ``curl``
+emulate the Taler exchange (wire-watch).
To run the demonstrator, clone the following repository:
@@ -51,7 +51,7 @@ with the long-polling feature:
.. code-block:: shell-session
- $ curl -v -u test-user:x "'http://localhost:5001/facades/test-facade/taler-wire-gateway/history/incoming?delta=5&long_poll_ms=100000'"
+ $ curl -v -u test-user:x 'http://localhost:5001/facades/test-facade/taler-wire-gateway/history/incoming?delta=5&long_poll_ms=100000'
After having observed that the previous command *actually*
long-polls, send it to the background by pressing CTRL-Z. Send
@@ -94,7 +94,9 @@ acceptable, then also LibEuFin's share is.
On the other hand, the database session duration concerns only LibEuFin,
and compares the *longest* database session with the whole benchmark
duration. In particular, it shows what percentage of the whole benchmark
-duration is represented by the longest LibEuFin session.
+duration is represented by the longest LibEuFin session. Therefore
+'low' percentages mean 'short' database sessions, as it is requested
+in point 3.
..
Clone the following repository: