You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/blog/2024-12-17-rafiki-tigerbeetle-integration.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ tags:
18
18
- TigerBeetle
19
19
---
20
20
21
-
Rafiki is an open-source platform that enables Account Servicing Entities (ASEs) like banks and digital wallet providers to integrate Interledger Protocol (ILP) functionality into their systems.
21
+
[Rafiki](https://rafiki.dev/) is an open-source platform that enables Account Servicing Entities (ASEs) like banks and digital wallet providers to integrate [Interledger Protocol](/developers/get-started) (ILP) functionality into their systems.
22
22
23
23
A critical component of Rafiki’s architecture is its accounting database, which manages financial transactions and account balances. To enhance performance and reliability, Rafiki offers the option to use TigerBeetle, a specialized financial accounting database, as its accounting backend.
24
24
@@ -41,7 +41,7 @@ In Rafiki, the backend service is responsible for handling business logic and ex
41
41
For the accounting database, Rafiki provides the option to use TigerBeetle instead of PostgreSQL.
42
42
This setup allows Rafiki to leverage TigerBeetle’s high-performance transaction processing capabilities for managing account balances and financial transactions.
43
43
44
-
It’s important to note that while TigerBeetle can be used for accounting purposes, Rafiki still requires a PostgreSQL instance for the authentication services and Open Payments resources.
44
+
It’s important to note that while TigerBeetle can be used for accounting purposes, Rafiki still requires a PostgreSQL instance for the authentication services and [Open Payments](https://openpayments.dev/) resources.
45
45
Therefore, both databases operate in tandem within Rafiki’s infrastructure.
46
46
47
47
## Double-Entry Accounting: The Backbone of Financial Systems
@@ -84,7 +84,7 @@ Thanks to double-entry accounting, both sides of the transaction are recorded in
84
84
Double-entry accounting is more than a bookkeeping method, it is the foundation of trust and accuracy in financial systems. By integrating TigerBeetle, which seamlessly implements this principle, Rafiki ensures that its users have a robust, reliable, and high-performing platform to manage financial operations with precision and confidence.
85
85
86
86
#### Detailed Example: Sending and Receiving Rafiki instances
87
-
Here’s a practical illustration involving sending and receiving connectors within Rafiki, and how the underlying TigerBeetle accounts are affected. In this example, a sending Rafiki (where an outgoing payment is) sends ILP packets to a peer Rafiki over ILP, (paying into an incoming payment). The peering relationship is defined using USD for simplicity in this example.
87
+
Here’s a practical illustration involving sending and receiving connectors within Rafiki, and how the underlying TigerBeetle accounts are affected. In this example, a sending Rafiki (where an [outgoing payment](https://openpayments.dev/resources/glossary/#outgoing-payment-resource) is) sends ILP packets to a peer Rafiki over ILP, (paying into an [incoming payment](https://openpayments.dev/resources/glossary/#incoming-payment-resource)). The peering relationship is defined using USD for simplicity in this example.
88
88
89
89
This process happens **for each ILP packet**, which can occur at an extremely high frequency, especially during real-time payments. TigerBeetle’s high-performance architecture is critical here, as it ensures accurate and consistent accounting for these high transaction volumes while maintaining financial integrity.
0 commit comments