Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

APEX (Asynchronous Program EXecution) design#24127

Closed
aeyakovenko wants to merge 8 commits into
solana-labs:masterfrom
aeyakovenko:ape
Closed

APEX (Asynchronous Program EXecution) design#24127
aeyakovenko wants to merge 8 commits into
solana-labs:masterfrom
aeyakovenko:ape

Conversation

@aeyakovenko
Copy link
Copy Markdown
Member

@aeyakovenko aeyakovenko commented Apr 5, 2022

Problem

Fork choice doesn't need to depend on executing of all of the state transitions, and this dependency currently slows down the network when demand spikes.

Summary of Changes

Design proposal that isolates vote program from all the other programs.

Fixes #

tag @carllin @buffalu @jstarry @t-nelson @jackcmay @pgarg66 @sakridge

Comment thread docs/src/proposals/ape.md Outdated
Comment thread docs/src/proposals/ape.md Outdated
Comment thread docs/src/proposals/ape.md Outdated
Comment thread docs/src/proposals/ape.md Outdated
Comment thread docs/src/proposals/ape.md Outdated
Copy link
Copy Markdown
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we wrap at ~80char to ease commenting?

@t-nelson
Copy link
Copy Markdown
Contributor

t-nelson commented Apr 7, 2022

seems like a really invasive way to get to "remove consensus messages from the transaction pipeline"?

EDIT: Which I should clearly state that I am generally in support of! Votes and program TXs have too different of constraints to try to balance in the same execution path

@aeyakovenko
Copy link
Copy Markdown
Member Author

seems like a really invasive way to get to "remove consensus messages from the transaction pipeline"?

I think this is pretty low overhead. The failing txs that mix domains can be done at the tx processor. And the isolation program accounts are the only ones that can move domains and the only ones that keep track of that state.

@buffalu
Copy link
Copy Markdown
Contributor

buffalu commented Apr 9, 2022

what reasons would someone need to move domains? it seems like just transferring SOL to vote accounts?

@aeyakovenko aeyakovenko requested a review from t-nelson April 10, 2022 19:05
@aeyakovenko
Copy link
Copy Markdown
Member Author

@t-nelson I think like NONCEs, this might need to be part of System.

@stale
Copy link
Copy Markdown

stale Bot commented Apr 25, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale Bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 25, 2022
@stale stale Bot removed the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 30, 2022
@aeyakovenko aeyakovenko changed the title APE (Asynchronous Program Execution) design APEX (Asynchronous Program EXecution) design Jun 5, 2022
@stale
Copy link
Copy Markdown

stale Bot commented Jun 12, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale Bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jun 12, 2022
@stale
Copy link
Copy Markdown

stale Bot commented Jul 10, 2022

This stale pull request has been automatically closed. Thank you for your contributions.

@stale stale Bot closed this Jul 10, 2022
@ryoqun
Copy link
Copy Markdown
Contributor

ryoqun commented May 26, 2023

(seems this is superseded by solana-foundation/solana-improvement-documents#45)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

stale [bot only] Added to stale content; results in auto-close after a week.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants