How to manage the Multi-Version Concurrency Control (MVCC) in Fabric on time-critical applications


Mr.Phuwanai Thummavet
 

Hi everyone,

I know that the multi-version concurrency control (MVCC) is used to address double-spending problems in Fabric. However, the MVCC might become one of the most obstacles when designing time-critical applications such as auction and voting systems. On a voting system, for example, two voters commit to voting for the same candidate in the same block-time frame. This results in an invalid transaction for the 2nd voter according to the MVCC.

My solution to such an issue was to use an off-chain messaging queue system to gather and categorize certain transaction requests from clients. Then, the batches of the categorized transactions were sent to a chaincode to invoke.

Here are my questions:
  1. Was my solution suitable for the above example? 
  2. Does anyone have better solutions?
  3. Is Hyperledger Fabric suitable for real-time applications such as auction and voting systems?

Thanks.

--
Best Regards,
Phuwanai Thummavet

Join fabric@lists.hyperledger.org to automatically receive all group messages.