Comments (6)
Ok I merged the branch into master. I believe replay speed can still be upgraded by 'clusterizing' the secp256k1 and maybe the sha256s in order to make full usage of multiple cpu cores.
from avalon.
https://github.com/dtube/avalon/tree/memory-fix
from avalon.
I've done some changes on this new branch and will run some tests now. Trying to replay with old code and new code and calculate performance increase
from avalon.
Wasn't that. Still similar speeds.
from avalon.
I think the slowdown issue is the cache.js
file now. Skipping the cache backup/rollback system during transaction verification improves the replay speed by a lot and it doesn't seem to slow down. Alas this would break the state of the node on any wrong transaction or block received (let's say a forked node sent a bad block) ...
from avalon.
Ok I did some good progress, replay is much faster now, feel free to try the new memory-fix
branch with git checkout memory-fix
(just don't do it on your active node :D)
from avalon.
Related Issues (20)
- sync Avalon locally on my system
- Avalon contents NFT HOT 9
- Invalid block HOT 1
- Idea HOT 3
- Disable DTC generation on a video
- /feed and /new with an additional filter on tag HOT 2
- Tags should allow for spaces HOT 1
- Burning DTC for promo HOT 3
- GPLV3 Pl0x - License change HOT 5
- Avalon Chain Halt Reason/Solution documentation/discussion HOT 1
- Crashed - Using REST Endpoints
- Smart contract on Adax (Cardano chain) through ERC20 Conversion
- REST API Version & Avalon version seperation HOT 1
- Program halt HOT 1
- Avalon IPFS Pinning Script HOT 1
- Invalid timestamp when transacting with a bad system clock HOT 1
- Display leader age/lifespan on leaders page
- Leader Extractable Value (LEV)
- DTC enters Polygon (alongside BSC)
- Trying to get in touch regarding a security issue
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 avalon.