Giter Club home page Giter Club logo

Comments (4)

nagisa avatar nagisa commented on August 16, 2024 1

Just to add an alternative which is not written down: ZK validation does not care as much about execution time as there's only a single (or a couple) machines actually doing the actual execution and giving a significant time for the validators to compile and execute the contracts only serves to increase latency of individual transactions, rather than throughput of the network.

from nearcore.

robin-near avatar robin-near commented on August 16, 2024

Validators can locally cache compiled contracts. Hopefully this will resolve most cases?

from nearcore.

jakmeier avatar jakmeier commented on August 16, 2024

Yeah that's right, for the foreseeable future even a stateless validator should have enough disk space to cache the executables. There will be an ugly drop in performance anytime we have a protocol upgrade that invalidates old compilation results.
But I would expect it to be fine anyway. Or at least I think we have bigger problems to worry about first. :P

from nearcore.

jakmeier avatar jakmeier commented on August 16, 2024

near/NEPs#481 (comment) contains some info about interpreter speed if we ever want to go down that route anyway

from nearcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.