Re: Assistance for planning design of a chaincode #fabric #hyperledger-fabric #couchdb
David Enyeart
For any queries/reporting beyond simple JSON queries, the recommendation is to use a downstream purpose-built data service. Chaincode is optimized for transactions, not large queries. See an example of a downstream data service based on block events here: Hi Community, We are trying to model the traceability of an asset in hyperledger fabric. We've come up with several ideas but are unsure which one would be most efficient in terms of retrieving traceability for a given product. The product can go through multiple stages in its lifecycle, and multiple products can be aggregated to produce a combined output, in which case the output should be able to trace back to the origins of each input used. We faced the following limitations:
Thanks & Regards, Samyak Jain
|
|