Every blockchain from Bitcoin onward has faced something called the “blockchain trilemma.” Security, capacity, and decentralization: pick any two. Security means “how much can you trust the data that’s on the blockchain to be correct?” Capacity is “how many updates to that data can be done per second?” And decentralization is “how much can the blockchain’s management be spread out among independent users?”
If you do something that increases one of those three aspects then it necessarily requires decreasing one or both of the other two; it’s impossible to increase all three of them. This trilemma is kind of like a law of physics in computing science, anyone who says they can break it should be treated a bit like someone claiming they’ve invented a perpetual motion machine.
Since we’ve long had stuff that sacrificed decentralization for capacity (credit card companies, for example, processes thousands of transactions per second but it does so by running everything themselves) blockchains have focused on boosting security and decentralization. As a result, blockchains had a low transaction capacity - sometimes just a few transactions per second. When there’s a low supply of something then high demand means its price shoots up, so whenever a blockchain got popular its transaction fees would go through the roof and it would lose a lot of usefulness (other than market speculation on its price). Blockchains with low transaction fees were either not being used for much in the first place or were compromising on their security or decentralization to accomplish it.
Ethereum has come up with a mechanism that doesn’t exactly break the trilemma, but sidesteps it. The main Ethereum blockchain remains devoted to having high levels of security and decentralization, but it’s been updated to support a new type of transaction called a “rollup.” You can think of a rollup as being a summary of a whole bunch of other transactions that happened on a parallel chain. If you and I were to be exchanging tokens back and forth between us a whole bunch, for example, we wouldn’t need to post all of those transactions directly onto the Ethereum blockchain. Every once in a while we could just post a rollup that tells the main blockchain “since the last update FaceDeer has given a net total of 0.1 FaceCoins to maegul and maegul has given a net total of 28 MaeGold to FaceDeer”. There’s a bunch of fancy cryptography going on with rollups that allows the main chain to validate that this is legit without having to know all the details of how it happened. The rollups “inherit” Ethereum’s security and decentralization through this mechanism. Since rollups are acting like a kind of secondary blockchain that’s sitting on top of the foundational blockchain, they’re referred to as “layer 2.”
So that means that although Ethereum transactions are still expensive, you can cram an almost arbitrary amount of activity into each one. That can make rollup transactions cheap enough that an instance owner would only need a couple of dollars’ worth of Ether per month to support their instance’s use of the blockchain to record data, which would likely be a lot less than their electricity bill or bandwidth costs
Ran out of characters in this response. Hope that was helpful/interesting. :)
Regarding “layer 2”:
Every blockchain from Bitcoin onward has faced something called the “blockchain trilemma.” Security, capacity, and decentralization: pick any two. Security means “how much can you trust the data that’s on the blockchain to be correct?” Capacity is “how many updates to that data can be done per second?” And decentralization is “how much can the blockchain’s management be spread out among independent users?”
If you do something that increases one of those three aspects then it necessarily requires decreasing one or both of the other two; it’s impossible to increase all three of them. This trilemma is kind of like a law of physics in computing science, anyone who says they can break it should be treated a bit like someone claiming they’ve invented a perpetual motion machine.
Since we’ve long had stuff that sacrificed decentralization for capacity (credit card companies, for example, processes thousands of transactions per second but it does so by running everything themselves) blockchains have focused on boosting security and decentralization. As a result, blockchains had a low transaction capacity - sometimes just a few transactions per second. When there’s a low supply of something then high demand means its price shoots up, so whenever a blockchain got popular its transaction fees would go through the roof and it would lose a lot of usefulness (other than market speculation on its price). Blockchains with low transaction fees were either not being used for much in the first place or were compromising on their security or decentralization to accomplish it.
Ethereum has come up with a mechanism that doesn’t exactly break the trilemma, but sidesteps it. The main Ethereum blockchain remains devoted to having high levels of security and decentralization, but it’s been updated to support a new type of transaction called a “rollup.” You can think of a rollup as being a summary of a whole bunch of other transactions that happened on a parallel chain. If you and I were to be exchanging tokens back and forth between us a whole bunch, for example, we wouldn’t need to post all of those transactions directly onto the Ethereum blockchain. Every once in a while we could just post a rollup that tells the main blockchain “since the last update FaceDeer has given a net total of 0.1 FaceCoins to maegul and maegul has given a net total of 28 MaeGold to FaceDeer”. There’s a bunch of fancy cryptography going on with rollups that allows the main chain to validate that this is legit without having to know all the details of how it happened. The rollups “inherit” Ethereum’s security and decentralization through this mechanism. Since rollups are acting like a kind of secondary blockchain that’s sitting on top of the foundational blockchain, they’re referred to as “layer 2.”
So that means that although Ethereum transactions are still expensive, you can cram an almost arbitrary amount of activity into each one. That can make rollup transactions cheap enough that an instance owner would only need a couple of dollars’ worth of Ether per month to support their instance’s use of the blockchain to record data, which would likely be a lot less than their electricity bill or bandwidth costs
Ran out of characters in this response. Hope that was helpful/interesting. :)