Comments (8)
@marcellanz I think it would be simple for the discovery callback signature to generate a hash that could be used as a cache, so if the hash stays the same it's safe to reuse the existing code, whereas if the hash has changed then it's because it deals with a new deploy, modified and therefore the compilation process on the fly must occur.
Obviously, this optimization can be turned on and off via configuration so that in case of problems the user can choose to pay the compilation cost
from massa.
@wesleimp please comment your thoughts about it
from massa.
I think that we could persist the generated bytecode in Mnesia, so that any other instance of the proxy of the same user function can have an improvement in its initialization because it doesn't need to compile the reflected modules.
from massa.
the coce generation is done right after a discovery call, yes?
from massa.
the coce generation is done right after a discovery call, yes?
Yes!
from massa.
@wesleimp please comment your thoughts about it
Sorry @sleipnir, I didn't see this mention.
from massa.
Closing due to this commit
from massa.
@wesleimp please comment your thoughts about it
Sorry @sleipnir, I didn't see this mention.
No problem. Together we solve the problem for what it's worth
from massa.
Related Issues (20)
- PROXY_HEARTBEAT_INTERVAL not parsed as integer
- Action Entity send_stream_msg don't send all the chunks HOT 9
- Potential to integrate Vaxine as CRDT backend. HOT 3
- Use our own protobuf contract HOT 3
- Implement Forward and Side Effects
- Gun errors with Stream
- Activate entities by Rules HOT 2
- Running mix test is running into an error during startup HOT 2
- SideEffects as Broadcast
- Refactor the Protocol HOT 1
- A better readme
- massa functions k8s operator HOT 15
- Update Bakeware to 0.2.0 HOT 1
- massa does not distinct between multiple gRPC services discovered. HOT 6
- Register custom protobuf extension ordinal HOT 3
- TCK for ActionProtocol
- make build fails with error HOT 3
- I'd like to contribute! HOT 5
- New node joining does not receive entities from other nodes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massa.