(IJCH) The Many Faces of Scalability

in #blockchain7 years ago (edited)

ges2.jpeg

Source

IJCH - Inside JaiChai's Head (meaning: My warped, personal opinions and musings)

From the Author

Salutations. I am JaiChai.

And if I haven't had the pleasure to make your acquaintance, it's always nice to meet a fellow Steemian.

ivfd.jpeg

Source

Scalability?

Maybe you have heard the term "scalability" and that it's the cause of Bitcoin's slow and expensive transactions?

Or maybe you agree that "scalability" determines whether one cryptocurrency or platform is faster or has cheaper transactions than another?

Even further, maybe you've been hearing about new platforms with "Super Scalability" that will supposedly change the current way we all think about the internet?

For the most part, those assumptions are true, but...

mki.jpeg

Source

"Scalability" as being the sole cause of slower transactions is a common, but misleading belief among many cryptocurrency users.

It's a gross over-generalization - far from being an adequate explanation of the situation.

Taking this broad stroke approach leaves out significant parts of the whole picture that are necessary to better understand what's really happening.

Most of all, it wrongly implies that a "scalability" standard can be uniformly applied to all platforms.

This article will shed some light on those issues.

Note:

Don't worry if you're not an algorithm guru or blockchain coder extraordinaire. Prior knowledge of complicated consensus mechanisms is not necessary.

And as best as I can, I will explain things in plain language; simple enough for almost anyone to understand.

So, with that in mind, let's charge on...

dxz.jpeg

Source

Scalability as "Raw Speed"

The most common measure of scalability is the number of transactions per second (tps); meaning: raw speed, amount of achievable throughput.

With barely 7-12 tps (in the most optimum conditions), Bitcoin and Ethereum are tortoises compared to other platforms.

Several platforms - even credit cards - can process many more transactions per second; and in some cases, achieving thousands of tps.

For example, IBM's HyperLedger Fabric handles an average of 700 tps, Ripple routinely does 1,500 tps - with a max capability of 10,000 tps, HashGraph boasts 250,000 tps, Red Belly clocks in at 400,000 tps, and IOTA currently claims bragging rights at 500,000 tps (theoretical maximum).

Even PayPal averages 120 tps; while VISA averages 1,500-2,000 tps and supposedly has a max peak load capacity of 56,000 tps.

ipoiu.jpeg

Source

Scalability and Number of Users

Some people measure scalability as the maximum number of users the platform can handle without degradation of network performance.

Just because humongous tps can be achieved DOES NOT mean that caliber of raw speed can be maintained ad infinitum.

The current tps performance relies on an "X" amount of users.

Consequently, if the number of users significantly increases past its maximum capability, an "X" amount of speed (tps) is lost - commensurate to the % increase beyond that threshold, the point where the platform starts to show stress and become unreliable.

In worst case scenarios, a network without a sufficient node number adaptation mechanism in place will be rendered useless and vulnerable to all sorts of customer data loss, corruption and compromise.

imtfcc.jpeg

Source

The Neighborhood Diner

In other words, imagine you are meeting a friend at your local, neighborhood diner for a nice meal.

It's fairly easy for the waitress and the cook to quickly serve you and your friend some delicious, home-style dishes.

But it's quite a different story if a bunch of high school football players, cheerleaders, girlfriends and family supporters suddenly show up at the diner.

To make matters worse, the horde of new customers are all still hyped from the game, impatient and starving.

What usualy happens?

The over burdened staff provides slow, erratic customer service, and most likely, some pretty crappy food ends up on the plates.

imagesxzz.jpeg

Source

Scalability and Number of Nodes

Some believe scalability should be measured based on the platforms capacity to add nodes.

Since the number of nodes and the efficiency to perform finality verifications are directly related, the ability to easily accommodate additional nodes can significantly affect platform efficiency.

Most platforms have a set limit on the number of trusted nodes it can effectively handle (or operate as validators) at any one time.

Others penalize lazy nodes and can not replace them quickly.

If this condition persists, the only alternative to replenish the number of nodes is to either lower the requirements for operating as a valid node (a risky venture altogether), or hope the remaining nodes can take up the slack; all the while praying that the customers will accept the degradation of network processes in the interim.

In the previous neighborhood diner scenario, if the additional waitress staff and assistant cooks can not easily be obtained, the customers have no choice but to suffer a long delay - or look for another restaurant that can handle the size of their party.

imnjbv.jpeg

Source

Different Lands, Different Threats, Different Rules of Law

With regards to scalability, context is crucial.

For example, in public blockchains like Bitcoin and Ethereum anyone can function as a node and also cease being a node at anytime.

No prior authorization is needed to participate in the consensus process.

These networks are called "non-permissioned".

By contrast, "permissioned" networks must authorize all nodes beforehand and therefore, the network knows all the identities of its nodes.

Non-permissioned networks are forced to add steps in their protocol to guard against threats that all their unknown, untrusted nodes represent (mainly: Sybil attacks where a node replicates imposters and attempts double-spend thefts, causes multiple forks, and many other kinds of attacks on the network).

Since the nodes were vetted and are known in the "permissioned" networks, all nodes are considered as "trusted nodes" and there is no need to perform those time-consuming, extra steps.

This contributes greatly to tps speed. In fact, all the fast platforms mentioned earlier run on "permissioned" networks.

It's yet to be seen if the fast platforms can maintain superior tps in a "non-permissioned" setting.

imiuy.jpeg

Source

Conclusions

As you can see, the term "Scalability" can mean different things to different people - and within different operating environments.

In one setting, "Scalability" is defined as raw speed - the number of transactions per second.

In some circles, "Scalability" is regarded as the number of users that can effectively be handled.

In yet another scenario, as in the case of Zilliqa, "Scalability" means the ability to quickly accomodate additional nodes.

So, if you happen to hear someone touting "Scalability" comparisons, you can simply ask that person:

"Are you sure you're not comparing Christmas cookies to unicorns?"

By JaiChai

400.jpg

Source

Thank you so much for stopping by. And if you enjoyed my post, kindly Upvote, Follow, Comment and Resteem.


Source

"My mind was a terrible thing to waste..."

About the Author

JaiChai has been in the Disruptive Technology, Computer Science and Cryptocurrency spaces for many years. He is an enigma, regarded by his cohorts as sarcastic, funny, intuitive, but most of all - elusive. He’s known for randomly submitting philosophical and contrarian posts on several diverse forums.

When asked about his vanishing acts, he says, "I’m just somebody who enjoys being nobody because I look like everybody. Besides, time checking things off my 'bucket list’ - sans notoriety - is time well spent.”


APP.png

CLICK HERE TO JOIN THE STEEMIT BLOGGERS ON DISCORD

Animated Banner Created By @zord189 [Creatives]

Sort:  

Very interesting post - I need to read it again,
Too many things to think about seriously.

Thank you @jaichai

@nirgf,

Thanks for commenting.

And Happy Holidays to you and yours.

Namaste,

JaiChai

Thanks for dear friend
happy holiday to you too

Great perspective on scalability!

Thanks to @ecoinstant, this post has been resteemed and highlighted in today's edition of The Daily Sneak.

Thank you for your efforts to create quality content!

@sneakyninja,

Thanks for visiting and of course, your very kind words.

Glad you enjoyed my post.

Namaste,

JaiChai

Thanks for the post!
We've recently done our research on one of the projects you mentioned, Zilliqa, check it out.

@research.center,

Thanks for visiting and commenting.

Happy New Year!

Namaste,

JaiChai

The @OriginalWorks bot has determined this post by @jaichai to be original material and upvoted it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

You missed NEM which is a true sleeping giant and it can do 4000 Tx/S has messaging features, you can use it on WeChat which is HUGE! in China and they also have smart contracts.
https://nem.io/enterprise/use-cases/
Also they introduced Proof of Importance which I think as superior to PoS.

@vimukthi,

NEM is PoI.

Unfortunately, delegated anything is a natural target (single point of failure and ripe for bot attacks. If another leader steps in, the bot just plays "follow the leader") and so on.

Leaders always have to be guarded. And that always takes bandwith.

After I learned that the 51% attack is a fallacy put out to make people rest easy at night, I decided to investigate non-leadership consensus.

The 51% attack assumes that no partitions of the network is possible - totally unrealistic in the real world!

In reality, if China puts up a firewall and 51% of that partition gains control, the network is f*cked.

I can't remember the name of the theorem, but in mathematical terms, it only takes 1/3 + 1 bad actor to render ANY network useless, my friend.

That is the "elephant in the room" that nobody wants to address.

I just hope sharding is compatible with HashGraph. Then public "non-permissioned" networks are viable for the algorithm.

Namaste,

JaiChai

PIVX claims that it will require 98% of all token to damage the network.

PoI isn't delegated. It's calculated based on network participation. A person who send more NEM but receive less gains more importance resulting in higher chance to make the next block. It's a really clever system.

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 60270.89
ETH 2383.52
USDT 1.00
SBD 2.57