[apache/incubator-teaclave] Optimize memory footprint of serde in RPC (PR #577)

2021-11-30 Thread Mingshen Sun
## Description This PR optimize memory footprint of RPC (i.e., memory used by serde). Serde uses up more than 10x memory to deserialize a json message when using `#[serde(flatten)]` and `#[serde(tag = request]`. In our case, we cannot handle more than 2M message because serde will allocation

Re: [apache/incubator-teaclave] How about provide a live demo API to experience? (#466)

2021-11-30 Thread master-davidlee
Closed #466. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/466#event-5696153071