The cryptocurrency web3 starts with all our existing [Web 2.0] infrastructure. So I still need a DNS name, I still need a server, I still need storage, and I still have a distributed computation occurring between the browser and the server. So already I haven’t removed any of the gatekeepers from the conventional distributed system, showing the claims of gatekeeper-free decentralization are false.
Web3 is only about adding an additional layer of complexity in the name of justifying the underlying cryptocurrencies. The web browser is augmented with a cryptocurrency wallet and part of the computation and storage is shifted from my server to the decentralized cryptocurrency infrastructure. When a user wants to use my service they will pay some amount of cryptocurrency to perform the cryptocurrency-side computation, with any remaining transferred to me as a fee for my service. So does the new infrastructure provide anything useful? Lets focus primarily on Ethereum, but the same problems appear regardless of the underlying cryptocurrency. To begin with, Ethereum has the notion of coupling a small program to the transfer of Ethereum. [..] any program is run for only a limited number of instructions until it either completes or is terminated. The measure of the amount of compute is called “gas”, with various instructions and operations costing a different amount of gas to process. The total cost of a transaction is the amount of gas consumed times the gas price. Any given block of the Ethereum blockchain represents a maximum amount of execution, currently 30 million gas. And the system adds a new block every 15 seconds, which means the total compute of the Ethereum network as 2 million gas/second, since that is the amount of computation that gets recorded into the Ethereum ledger. Estimating the cost (measured in ‘gas’) of an arbitrary computation is complex but let’s assume that we are only interested in the most simple operation: 256 bit integer addition. Each addition costs 3 gas each. So on a worldwide basis this system rates at 600,000 adds per second. Compare this amount of compute to a Raspberry Pi 4, a $45 single-board computer which has four processors running at 1.5 GHz. Each core has 2 ALUs and it will take 4 instructions to perform a 256 bit addition, as the basic unit for the Raspberry Pi (and most other modern computers) is 64 bits. So each core has a peak performance of 750,000,000 adds per second for a total peak of 3,000,000,000 adds per second. Put bluntly, the Ethereum “world computer” has roughly 1/5,000 of the compute power of a Raspberry Pi 4! This might be acceptable if the compute wasn’t also terrifyingly expensive. The current transaction fees for 30M in gas consumed is over 1 Ether. At the current price of roughly $4000 per Ether this means a second of Ethereum’s compute costs $250. So a mere second of Ethereum’s virtual machine costs 25 times more than a month of my far more capable EC2 instance. Or could buy me several Raspberry Pis. What about the storage? The entire Ethereum blockchain is just 1 terabyte of data and adds a total of a few hundred kilobytes a minute. Storing the Ethereum blockchain using a robust commercial service like Amazon S3 costs just $20 a month. Even the most optimal storage strategy in Ethereum requires 600 gas per byte. Yet the total network compute capacity is only 2M gas/second so storing 1 megabyte will require 300 seconds. So not only can the Ethereum blockchain only store 3 kB of data a second, storing that 3kB costs $250! So the cost of writing a single 3kB message to the Ethereum blockchain is the same price as a year of storage on Amazon for the entire 1 TB Ethereum blockchain. Or the same price as buying a 1 TB M.2 SSD. # Conclusions I know some cryptocurrency enthusiasts will protest that their favorite blockchain is cheaper than Ethereum. And it’s true, underutilized cryptocurrencies may be one or two orders of magnitude less expensive to use in the “web 3” vision when compared with Ethereum. Which still means 6 orders of magnitude worse than the conventional distributed solution. So why this hype? Because the cryptocurrency space, at heart, is simply a giant ponzi scheme where the only way early participants make money is if there are further suckers entering the space. The only “utility” for a cryptocurrency (outside criminal transactions and financial frauds) is what someone else will pay for it and anything to pretend a possible real-word utility exists to help find new suckers. Tratto da https://www.usenix.org/publications/loginonline/web3-fraud Giacomo _______________________________________________ nexa mailing list nexa@server-nexa.polito.it https://server-nexa.polito.it/cgi-bin/mailman/listinfo/nexa