This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Optimize contract engine for concurrency #950
Milestone
Comments
how does this batching proposal differ from what's done today? do multiple batches in the blob have to be identified as blocks that can be handled in parallel? |
@rob-solana what the code does right now is construct entries (allocation + copy), then stick them into blobs (a copy). instead of writing into blobs then sending them out to IO. since you are not binning at the IO boundary, you have no idea how to construct the entry in such a way that it fits in whatever space is left in the blob. |
This was referenced Aug 11, 2018
Merged
2 tasks
Merged
aeyakovenko
changed the title
effecient blob emitter
Optimize contract engine for concurrency
Oct 1, 2018
this issue and the mt-bank PR don't look in sync anymore. are they? |
No, one of @aeyakovenko's comments on that PR said that he considered it out of scope. |
@aeyakovenko, are we optimized? Anything more that needs to be done here? |
woot! optimized! |
vkomenda
pushed a commit
to vkomenda/solana
that referenced
this issue
Aug 29, 2021
* Add proptests for single token conversion * Update token-swap/program/src/curve/calculator.rs Co-authored-by: Tyera Eulberg <[email protected]> * Update token-swap/program/src/curve/calculator.rs Co-authored-by: Tyera Eulberg <[email protected]> * Revert change from fuzzing * Reduce the constant price b->a test range * Use constant for basis points guarantee * Address review feedback Co-authored-by: Tyera Eulberg <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Multi threaded banks need to atomically unlock accounts and linearize the blobs they produce. Otherwise there may be an error replaying the ledger as the blobs get out of order. Some of this work is addressed in #1368
This is what is implemented in #1368
This is the proposed solution
@garious @rob-solana (captured the todo's left from #1368)
The text was updated successfully, but these errors were encountered: