Re: [Fabric] Comparison private data collection vs channel


Santiago Figueroa Lorenzo
 

Hi, Senthil,

I appreciate your response.

I'm trying to use data collection to avoid channels, regardless of the use case. In this regard, your table provides a general context. Therefore, I will try to focus on the performance details you provide. In terms of performance, how do you compare channels to data privacy collections, i.e., what kind of metrics have you used to indicate that the performance of private data collection is low?

Thank you,

Santiago.

image.png

On Sat, Jun 13, 2020 at 6:59 PM Senthilnathan N <cendhu@...> wrote:
Hi Santiago, 

    What is your requirement? At a high level, it can be differentiated based on privacy, performance, data silos, and development/management complexity. 

 

Channels

Private Data Collections

Privacy

Transaction Privacy 

  • participants
  • data
  • smart-contract invoked

Data Privacy Only

 

Performance

High

Low 

  • compared to both public data and channels

Data Silos

Yes

No 

  • change of collection membership
  • able to move one or more state from one collection to another on demand)

Atomically Modify States in Different Data Silos

No 

Yes

  • a transaction can modify states present in both public and private collections

Development/Management Complexities

debatable (either need to keep track of number of channels or collections and decide how to issue the transaction and to whom, etc...)



Differences in transaction flow can be found here -- http://www.bchainledger.com/2019/12/privacy-features-in-hyperledger-fabric.html 

Regards,
Senthil

On Sat, Jun 13, 2020 at 10:00 PM Santiago Figueroa Lorenzo <santiagofigueroalorenzo@...> wrote:
Hi fabric experts,

I am trying to establish a comparison of the advantages of using private data collections over increasing the number of channels. I have been thinking about measuring how much additional resource is consumed in a node as the number of channels increases, compared to the resource consumption by increasing the number of collections that are stored in the private state DB.

I have tried to find some prometheus metrics that would allow me to make another comparison, but I have not found any that can be used for that purpose. I'd appreciate it if anyone has any ideas about that.

Thank you in advance,

Santiago.

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