Re: [Fabric] Comparison private data collection vs channel

Senthil Nathan

Hi Santiago, 

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



Private Data Collections


Transaction Privacy 

  • participants
  • data
  • smart-contract invoked

Data Privacy Only





  • compared to both public data and channels

Data Silos



  • 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



  • 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 the transaction flow can be found here -- 


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,


Join to automatically receive all group messages.