The Interledger Community 🌱

Cover image for Rafiki Updates - August 2024

Rafiki Updates - August 2024

Once again, there has only been one Rafiki release over the course of the last month, Alpha 15. And there have only been two big themes, which are quite related: Telemetry and Performance Testing.

Telemetry

We have added the telemetry stack (OpenTelemetry collector, Prometheus and Grafana) as part of our local playground. This is also a first step to performance testing Rafiki. Soon, we will be able to run load/stress tests in the local playground, and be able to see the metrics data from our tests.

Local Playground Metrics

We also added a histogram metric to the telemetry service and use it for measuring the completion time of Open Payments outgoing payments. These metrics related to transaction time have been added to our public Grafana dashboard. Here is a preview:

Transaction Time Dashboard

Performance Testing

As a first step, we added the ability to collect traces in Rafiki, specifically for HTTP requests, our GraphQL Admin API and Postgres. These traces are pushed to the OpenTelemetry collector, which proceeds to push traces to Grafana Tempo. This leads to some nice visualizations:

Traces

Outlook to our next release

The next release will include a couple more telemetry metrics and a k6 script to run performance testing. Additionally, it will include an upgrade to the latest Tigerbeetle version which also led to a bunch of optimizations within Rafiki.

Rafiki Work Week 2024

Finally, I don't want to miss the opportunity to give you some details about our upcoming Rafiki Work Week. During the week of August 26, about 30 of us, including guests from JoPACC and Peoples Clearing House (PCH), will gather in Cluj, Romania, to work on the following topics:

  • multi-tenant Rafiki
  • settlement simulation in the test wallet
  • documentation
  • and whatever is urgently required by JoPACC and PCH

I can't wait to share the outcomes of the week with you next time!

Top comments (0)