gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (4e9d7fba -> 5b3d5245)


From: gnunet
Subject: [taler-docs] branch master updated (4e9d7fba -> 5b3d5245)
Date: Fri, 04 Aug 2023 22:20:41 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a change to branch master
in repository docs.

    from 4e9d7fba improve docs based on feedback
     new 5d3a1b01 Starting the LibEuFin performance tutorial.
     new 5b3d5245 LibEuFin performance tutorial

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libeufin/index.rst       |   1 +
 libeufin/performance.rst | 112 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)
 create mode 100644 libeufin/performance.rst

diff --git a/libeufin/index.rst b/libeufin/index.rst
index 0840f581..e168f66a 100644
--- a/libeufin/index.rst
+++ b/libeufin/index.rst
@@ -19,3 +19,4 @@ LibEuFin is a project providing free software tooling for 
European FinTech.
   circuit-cli-commands
   int-deployment-gv
   ebics3-test-tutorial
+  performance
diff --git a/libeufin/performance.rst b/libeufin/performance.rst
new file mode 100644
index 00000000..815edae5
--- /dev/null
+++ b/libeufin/performance.rst
@@ -0,0 +1,112 @@
+Performance demonstrators
+#########################
+
+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.
+3. PostgreSQL short-lived database sessions.
+4. Participation in the Taler benchmark.
+
+It is worth noting that point 2 and 3 will be proved *via*
+point 4.  In particular, because the benchmark is a resource
+demanding activity, its impact on the database should be
+enough to reflect a worst case scenario with regard to points
+2 and 3.
+
+The following two sections will describe how to run
+`point 1 <Long-polling>`_, and `points 2, 3, 4 <Benchmark>`_
+altogether.
+
+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).
+
+To run the demonstrator, clone the following repository:
+
+.. code-block:: shell-session
+
+   git://git.taler.net/deployment
+
+and build the Docker image:
+
+.. code-block:: shell-session
+
+   $ cd deployment/nlnet/task5/long-poll
+   $ docker build -t long-poller .
+
+Start the ``long-poller`` image and wait after the installation
+and configuration complete.  The completion should end with a message
+starting by ``Services are online!``.  At this point, it is possible
+to request Taler incoming payments and observe how such request returns
+**only after** we manually send Taler money to the long-polling client.
+
+Give the following command to request Taler incoming payment
+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'"
+
+After having observed that the previous command *actually*
+long-polls, send it to the background by pressing CTRL-Z.  Send
+now a Taler payment to ``test-user`` with the following command.
+
+.. code-block:: shell-session
+  
+   $ wire_transfer
+
+Bring now the ``curl`` process again in the foreground, and if
+it got the payment, now it shows the payment data.
+
+Benchmark
+^^^^^^^^^
+
+This demonstrator runs the Taler benchmark that relies on LibEuFin.
+
+Clone the following repository:
+
+.. code-block:: shell-session
+
+   git://git.taler.net/deployment
+
+and build the Docker image:
+
+.. code-block:: shell-session
+
+   $ cd deployment/nlnet/task5/benchmark
+   $ docker build -t benchmark .
+
+Run the ``benchmark`` image and wait for its completion.  At this
+point, the demonstrator prints the benchmark result regarding all
+the components, and lastly the database disk usage and the LibEuFin
+database session(s) duration(s).
+
+The database disk usage is complessive, therefore it shows how all
+the services occupy database disk space.  Hence if this quantity is
+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.
+
+..
+  Clone the following repository:
+  
+  .. code-block:: shell-session
+  
+     git://git.taler.net/deployment
+  
+  and build the Docker image:
+  
+  .. code-block:: shell-session
+  
+     $ cd deployment/nlnet/task5/date-range
+     $ docker build -t date-range .
+

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]