1

So this question has been bugging for me for a while and I can't seem to find the answer to it.


Context

I have been a web developer for many years.

When I access a website, any frontend code is run in my browser, using the computing power on my computer. Any backend code is run on a different server. Any data is stored in someone else's centralised database. Some data is stored in cookies or local storage in my browser.

When I run a video game on my computer, the program is fully executed on my laptop (with the exception of some data probably being pulled from a database, e.g. if I use Steam).

Alternatively, platforms such as 'gaming as a service' would move most processing power onto a server.


Question/s

Ethereum is described as a 'World Computer' but how does this relate to traditional architectures:

Is the blockchain element like for example a Wordpress database, with smart contracts being like my server side code? If this is the case, is that code only executed when I make a call to it (like with Lambda functions on AWS)?

Is Ethereum therefore just a distributed serverless architecture?

If a platform was to be built like 'gaming as a service', I'm guessing that I would be drawing processing power from millions of computers in the network? (I'm also assuming that this is part of the current debate about scaling).

In 10 years, if Ethereum is where we hope it will be, would it theoretically be able to support much more processor intensive use cases such as gaming as a service, or is that never the best use case for it?

Thanks

0

The striking thing about Ethereum is persistent logic and storage by consensus. If you think of it as a replacement for any of the technologies you mentioned, it will never make sense.

It's about establishing shared sets of facts without reliance on traditional sources of trust. You use it to things that are impossible by any other known technique.

This might help. I came across it today. http://ethdevs.com/the-what-and-why-of-ethereum/

Hope it helps.

  • I like this: "The term ‘smart contracts’ is a little misleading – they’re not really contracts, and they’re definitely not smart. They are simply automated rules that execute when triggered by an input. In fact, they are more like vending machines". In fact, I tried to buy something from a vending machine today and it was broken (not a problem for smart contracts). So in a sense they are a bit like lambda functions in that they wait to receive an input before being executed.. Or maybe like a lambda function and database record combined? (Didn't realise a smart contract is like an account too) – timhc22 Jun 3 at 14:37
  • Or would it be better to just describe ethereum as like a database of value. I think Cryptokitties is a good example, is ethereum simply managing the who owns what part of this system, or is the code for interacting with this value layer (ie code providing the UI and visuals) all living on the ethereum network too? – timhc22 Jun 3 at 14:43
  • I think this answers the question I was trying to ask blockchainhub.net/decentralized-applications-dapps; I think I should really have been asking 'How do dApps work': "dApps are similar to a conventional web application. The front end uses the exact same technology to render the page. The one critical difference is that instead of an API connecting to a Database, you have a Smart Contract connecting to a blockchain. dApp enabled website: Front End → Smart Contract → Blockchain" – timhc22 Jun 3 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.