Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Multiple proposer keys on admin account to parallelize transactions #12

Closed
nvdtf opened this issue Jul 29, 2021 · 0 comments
Closed

Multiple proposer keys on admin account to parallelize transactions #12

nvdtf opened this issue Jul 29, 2021 · 0 comments

Comments

@nvdtf
Copy link
Member

nvdtf commented Jul 29, 2021

In order to be able to scale on Flow, wallet-api needs to support having multiple in-flight transactions. The suggestion here is to use extra proposer keys on the admin account and send each transaction with a different proposer key.

The first iteration of this plan is:

  • Global pool of proposer keys on the admin account would be used across all admin transactions.
  • wallet-api will check the admin account on startup on the blockchain and init the database based on how many keys are found.
  • Admin can use flow-cli to add/remove weightless proposer keys to the admin account.
  • LRU strategy to pick a key for a transaction.
  • No capping/rejection. When transaction load becomes high in comparison to the key count, transaction failures due to wrong sequence numbers will show up.
@nvdtf nvdtf mentioned this issue Aug 5, 2021
@nvdtf nvdtf closed this as completed Aug 13, 2021
pull bot pushed a commit to SaintPatricks-Github-Coinpot-Club/flow-wallet-api-node-demo that referenced this issue Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant