Krippenreiter Profile picture
Dec 26, 2022 19 tweets 22 min read Read on X
[1/🧵] I've been reading a lot about #XRPL #scalability recently.

Let me quickly go through how #XRPL performs and #scales on these metrics:

▶️ Scale up "vertically"
▶️ Scale out "horizontally"
▶️ High volume & High value TX
▶️ High value & Low speed Source: https://ripple.com/insights/building-a-more-sustaina
[2/17] 👉 Asynchronous TX speed—Scale up "vertically"

In contrast to #DAG-based systems, which operate in "chaotic order" and execute transactions in parallel, the #XRPL validates transactions in canonical transaction order—one Ledger at a time.

🔗 bitcoin.stackexchange.com/questions/7857…
. . .
[3/17] . . .

❓ The approach for #DLT/#Blockchain-based systems such as #XRPL:
☑️ "Payment Channels"

🧐 It's a sophisticated feature for transmitting "asynchronous" #XRP #payments that may be broken into extremely small amounts and paid in total order afterwards.
. . . Source: https://ripple.com/insights/amendments-ensuring-sens
[4/17] . . .

Because it's #Christmas, consider the following #analogy: 🎅🎄

1⃣ Without "#PaymentChannels":
Alice sends a package (Ledger) to @bob_way every ~3 seconds, each containing a few toys (#transactions)
. . . Source: https://www.istockphoto.com/photos/christmas-package
[5/17] . . .

2⃣ With "#PaymentChannels":
Alice is continually wrapping up new toys (#TX) and NOT delivering them over to @bob_way (async. authorized claim with a single validated #TX), while also reminding him:

"They are yours whenever you want them 😉" (redeem a claim)
. . . Source: https://unsplash.com/s/photos/christmas-gift
[6/17] . . .

🤨 What are the constraints of the solution?

#PaymentChannels enable #transactions to be carried out at a rate that is only limited by the participants' capacity to produce and validate #digital #signatures for those Claims.
. . . Source: https://blog.signaturit.com/en/what-is-a-digital-sig
[7/17] . . .

This restriction is mostly determined by the speed of the participants' #hardware and the complexity of the #signature #algorithms.
. . . Source: https://www.unixtutorial.org/generating-ed25519-ssh-
[8/17] . . .

In 2011, research proved the capacity to produce over #Ed25519 100,000 #signatures per second and verify over 70,000 per second on commodity #hardware.

🔗 ed25519.cr.yp.to/ed25519-201109…
. . . Source: https://ed25519.cr.yp.to/ed25519-20110926.pdf
[9/17] . . .

The most recent numbers are always available here:
🔗 bench.cr.yp.to/results-sign.h…

The most recent paper I could find was as follows:
🔗 eprint.iacr.org/2021/471.pdf

Numbers interpretation (4 years ago):
🔗 crypto.stackexchange.com/questions/6025…
[10/17] 👉 Scale out "horizontally"

We defined how to #scale up "vertically" by increasing capacity by adding more resources (#CPU, #storage), for example:

🔄 Improved/optimized CPUs / Servers ▶️ More signatures ▶️ Larger Payment Channels ▶️ Faster #XRPLedger
. . . Source: https://www.startpage.com/av/proxy-image?piurl=https
[11/17] . . .

The next step is to learn about the #technical characteristics that the #XRPL can provide in order to #scale horizontally.

➡️ Add #servers to a #cluster that operate as a logical unit to improve capacity.

In #XRPL jargon:
▶️ "Federated #Sidechains"
. . . Source: https://xrpl.org/federated-sidechains.html
[12/17] . . .

If adding #servers isn't enough to #scale out enough to handle all of the #transactions on the #XRPL itself, there's always the possibility of spinning up a new #sidechain with purpose-fit rules if the #mainchain becomes overloaded.

🔗 ripple.com/insights/a-vis…
[13/17] 👉 High volume & High value TX

❓ We've prev. addressed how the #XRPL will manage large volume load, but how will it handle liquidity issues for high value #TX when the trading-pair is not liquid enough?

The solution proposed for this specific problem:
▶️ #AMM
. . . Source: https://github.com/XRPLF/XRPL-Standards/discussions/
[14/17] . . .

The [A]utomated[M]arket[M]aker (#XLS30d) liquidity pools enable #liquidity provisioning without the need of smart-contracts, further enhancing the #CLOB-based #XRPL #DEX.

🔗 dev.to/ripplexdev/xrp…
[15/17] 👉 High value & Low speed

For high-value #XRP TX where speed is unimportant, one may utilize #escrows, which are well-known owing to @Ripple's significant usage of them.

The following conditions apply:
• Time-based
• "crypto-conditions"

🔗 datatracker.ietf.org/doc/html/draft…
[16/17] ☑️ As you can see, there are numerous methods to scale up and out, including adding #servers, boosting #CPU power, adding #sidechains, or leveraging #XRPL features such as #escrows and #payment-channels to meet transaction demand without overburdening the #XRPLedger. Source: https://res.cloudinary.com/practicaldev/image/fetch/
[17/17] Thank you to everyone who took the time to read this lengthy topic ❤️

If you enjoyed the thread, please follow me:
@krippenreiter

Please feel free to contribute by sharing here 👇
@WKahneman @digitalassetbuy @Fame21Moore @sentosumosaba @BCBacker @XRPcryptowolf @X__Anderson @stedas 👋
— My most recent article [🧵] explores #XRPL's scalability options and approaches to meet global demand if necessary by growing horizontally and vertically with ease.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Krippenreiter

Krippenreiter Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @krippenreiter

Apr 8
[1/🧵] Tokenization, Ripple, Hidden Road & XRP!

A lot has happened in the last few days, and I feel like people don't really grasp the magnitude of what this means for the XRP Ledger. 🤨

Let's take a look at some numbers & address the topic from my beloved "1%" perspective. 👇 Source: @Krippenreiter
[2/16] — 1⃣ Status Quo —

The XRP Ledger as it stands now handles around ~100 transactions per ledger.

If we assume a ledger to continuously close and finalize every ~4 seconds, this brings us to ~25 TPS on average. Source: https://xrpscan.com/metrics
[3/16] — 2⃣ Status Quo —

Besides TPS, there is also TVL and $-Volume that we can measure and take a look at.

TVL:
🔸 ~52,000,000 USD

24h USD-Volume (CLOB+AMM):
🔸 ~13,000,000 USD Source: https://metrics.tequ.dev
Read 17 tweets
Mar 29
[1/🧵] Over the last few days, many newcomers have asked me one question, and one question only:

“What do I need to keep in mind if I want to hold my keys in self-custody on the XRP Ledger?”

My Answer?

“It depends...” and here's why. 👇 Source: https://map.xrpl-commons.org
[2/16] — 1⃣ Background —

Self-Custody doesn't simply mean holding your own private keys to control your own account on the XRPL.

There's also the psychological effect that is about personal responsibility for all that happens. Source: https://www.theexceptionalskills.com/take-personal-responsibility/
[3/16] — 2⃣ Background —

If something goes terribly wrong, chances are very low that anyone will be able to help you, at least as things stand today. (I'll try though 🤗)

👉 "Be your own bank" also has its drawbacks. Source: https://www.listenmoneymatters.com/infinite-banking-concept/
Read 17 tweets
Mar 24
[1/🧵] XRP Ledger Vocabulary Overview ‼️

The greater the XRPL becomes and the more features are introduced, the more I feel that a dictionary is needed.

Let's start with 10 words you NEED to know. 👇 Source: https://www.youtube.com/watch?v=sVTybJ3cNyo&t=19s
[2/14] — XRP —

Digital currency that is secured by cryptography and supported by the XRP Ledger.

Also used for:
🔸 Transactions
🔸 Fees
🔸 Reserves
🔸 Bridging trades
🔸 Cross-border (Peer-2-peer) payments Source: https://xrpl.org/docs/introduction/what-is-xrp
[3/14] — XRP Ledger —

A decentralized blockchain that enables fast and cost-efficient transactions for processing and recording financial data.

Most important feature:
🔸 There is no single central authority Source: https://xrpl.org/docs/introduction/what-is-the-xrp-ledger
Read 15 tweets
Mar 16
[1/🧵] The XRP Ledger is particularly superior when it comes to the fundamental task of moving value.

Although there are limits, we are about to overcome them big time! But how? 🤨

Follow me as I show you all the missing blocks 👇 Source: @Krippenreiter
[2/15] — 1⃣ Fundamentals —

What makes the XRP Ledger so great is that "things just work". 😉

To move value from A to B, you don't need a master's degree, because every single imaginable feature is engineered deep into the core. Source: https://xrpl.org
[3/15] — 2⃣ Fundamentals —

No matter if we talk about tokens, the decentralized exchange, escrow, or payment channels.

They are all tiny building blocks that a developer can put together to form the base layer of any solution. Source: https://smallbiztrends.com/businesses-for-sale-nationwide-right-now/
Read 16 tweets
Mar 9
[1/🧵] A paradigm shift for the XRP Ledger is on the horizon ‼️

It's a future that's:
🔸 Programmable
🔸 Automated
🔸 Compliance-first

Let's take a look at some of the fundamental arguments and work out what this will mean for XRP. 👇 Source: @Krippenreiter
[2/18] — 1⃣ Status Quo —

To date, the XRPL is a so-called “fixed-function” blockchain, which only allows new native features to be added to the XRP Ledger if the on-chain governance process votes in favor of it.

If you're a pessimist, you would call this “permissioned”. 😉 Source: https://xrpl.org
[3/18] — 2⃣ Status Quo —

But there are actually many benefits and advantages that support this approach, e.g.:
🔸 Battle-tested (i.e. Escrow, Paychannel)
🔸 Aggregated Liquidity (CLOB+AMM)
🔸 Automatic Version Upgrades
🔸 Higher Standards (More Audits and Performance Tests) Source: https://b2prime.com/mu/news/what-is-liquidity-aggregation-and-how-it-works/
Read 19 tweets
Feb 25
[1/🧵] One of the more fundamental proposals became public today. It's a draft that lays out a path to an inheritance solution for the XRP Ledger. 🧐

In my view, this is so much more than “just” an inheritance solution.

Let me show you what I mean. 👇 Source: https://dailycoin.com/crypto-inheritance-what-happens-to-cryptocurrency-if-i-die/
[2/10] — 1⃣ What's the matter? —

The way I see it, there are some hidden aspects that make this really powerful and a true “Plan B” solution if you lose access to your wallet.

It's much more than a solution to claim the last will and testament. Source: https://eshimony-law.com/inheritance-in-israel/understanding-different-types-of-wills-in-inheritance-law-in-israel/
[3/10] — 2⃣ What's the matter? —

It's the Plan B that could be your lifeline if you voluntarily or involuntarily lose complete access to your funds.

Voluntarily? What? 🤨

Let me give you a few cool examples to clarify this. 👇 Source: https://workalpha.com/productivity-starts-with-having-a-back-up-plan-in-case-disaster-strikes/
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(