0xPolygonMiden / miden-base

Core components of the Polygon Miden rollup
MIT License
68 stars 41 forks source link

Extend transaction prover service to handle multiple requests #898

Open bobbinth opened 1 day ago

bobbinth commented 1 day ago

Basic transaction prover service has been implemented in #881. The current implementation handles only one request at a time (if another requests arrives, it rejects it with a "busy" error). We need to extend the current implementation to allow handling of multiple requests.

One approach to this is to introduce some kind of "coordinator" service which would accept incoming transaction requests and dispatch them to a pool of prover servers. A few things to consider: