-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Мempool #221
Comments
moving the note here: Add ticket to improve mempool (batch API for delete) Consult with Luca. I commented and accepted the first PR #240) |
where do we want to catch duplicated transaction. Current solution will not catch two same txs with different fees |
cc: @lucafavatella ^^ |
@zp-sd I added in backlog of “Core” project a note “Optimize mempool”. Currently in master the mempool process is only responsible for (1) initializing the txs in-memory storage and (2) proxying peek/put/delete operations. Wrt potential future changes to mempool for limiting transfer of data between heaps of mempool process and its client (that we briefly mentioned yesterday), responsibility (2) may be removed from mempool process by choosing an in-memory sorted ETS table (and catch a few error cases when attempting to peek multiple txs) - hence removing the mempool process from peek/put/delete operations. Though I suggest deferring optimizations like this to after the usage of the mempool is more firmly established e.g. nature of key, potential secondary indexes, and guarantee of additional constraints needing the serializing process. |
Tracking ticket for all the things mempool.
The text was updated successfully, but these errors were encountered: