GeminiCarrie opened a new issue, #668:
URL: https://github.com/apache/incubator-teaclave/issues/668

   <!--
     Thank you for suggesting an idea to make Teaclave better.
     Please fill in as much of the template below as you're able.
   -->
   
   ### Motivation & problem statement
   The rpc used by Teaclave is not universal and does not support async.
   
   <!--
     Provide a clear and concise description of what the problem is.
   -->
   
   
   ### Proposed solution
   
   <!--
     Provide a clear and concise description of what you want to happen.
   -->
   Replace current rpc with grpc (e.g. Tonic).
   
   I noticed that there is an example based on tonic and tokio in rust-sgx-sdk.
   
   
https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/samplecode/rpc
   
   Tonic supports  async/await and has a high performance.
   
   To do mutual attestation, we can establish trusted gRPC channel through 
attested TLS.
   
   Grpc based on tonic, rustls and tokio is easier to maintain, and has better 
compatibility and performance.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to