Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-14086

Golang chaincode gRPC server

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • v2.0.0
    • None
    • None
    • Unset
    • Unset
    • Unset

    Description

      The chaincode will run as a server when "chaincode.servermode" property is set to true.

      Phase 1 - use existing single-stream protocol
      On receiving a connection it will launch into the old "chaincode as client" protocol flow on the established stream.

      Phase 2 - Invoke as a separate RPC call
      Each invoke will be a separate RPC call. This has advantages of simplicity and improved performance. However this is more disruptive from code change and refactoring point of view.

      The two phases should be seamless for devops or enduser. Phase 2 can be done later once phase 1 proves out the "chaincode as server" concept.

      Attachments

        Issue Links

          Activity

            People

              muralisr Srinivasan Muralidharan
              binhn Binh Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: