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

May 10
[1/🧡] There are alot of usecases for on-chain verifiable credentials. 🧐

Most of them are far more powerful than you can imagine.

(long read ahead of you) πŸ‘‡ Source: https://ec.europa.eu/digital-building-blocks/sites/display/EBSI/EBSI+Verifiable+Credentials
[2/16] β€” Digital ID & Authentication Council of Canada (DIACC) β€” Source: https://diacc.ca/wp-content/uploads/2023/05/Perspectives-on-the-Adoption-of-Verifiable-Credentials-1.pdf
[3/16] β€” European Blockchain Services Infrastructure (EBSI) β€” Source: https://ec.europa.eu/digital-building-blocks/sites/display/EBSI/Spain+plans+to+use+W3C+Verifiable+Credentials+to+protect+minors+online
Read 17 tweets
May 3
[1/🧡] There's a new site from @Satish_nl that you should definitely check out! 🧐

It's @xpert_page and from what I've seen so far, it's a mix of a "mini-CV" + donation functionality via XRPL and XAHL for your online (project-) presence. πŸ˜€

Let's take a look at what's inside πŸ‘‡ Source: https://x.com/xpert_page/header_photo
[2/9] β€” Featured Creators β€”

It's all brand new, so there're only a few personal pages & project pages active right now.

Later the idea is to have a complete XRPL & XAHL-based project directory that you can browse through & donate to if you want to support the guys behind it πŸ”₯ Source: https://xpert.page/#features
[3/9] β€” 1⃣ First Steps β€”

The moment I logged in with my gmail account and paid the simple price of 20 XRP that's valid for 5 years I had to set a profile pic, a banner and create a bio. Source: https://xpert.page/pro/profile
Read 10 tweets
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

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!

:(