-
Managed CCF Apps Evaluation managed CCF preview version and it seems there is only support to deploy customer JS APP. Is it feasible to deploy custom CPP application on managed CCF apps on azure? From sample cpp repository it implies one would need to redeploy CCF node since node enclave configuration parameter indicates required open enclave shared object. Assuming its not feasible to dynamically load a CPP application for above reason. Can someone please clarify? Also please suggest a better forum where managed CCF question should be posted. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hello @bsenthilr, there is currently no support, or plan that I am aware of to support native/C++ apps in Managed CCF. You would need to deploy these applications yourself, on top of AKS for example. |
Beta Was this translation helpful? Give feedback.
-
hi @achamayou referring to this document
Seem to indicate CPP app can be loaded. Im not clear how creating CCF under ACL would provision member nodes etc., Please let me know if it makes sense to move this discussion on Azure support channel for ACL? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @bsenthilr, I'm from the Managed CCF team. I confirm that C++ apps are currently not supported by the service. That If you would like this feature to be prioritized, I suggest contacting Azure support to find the right channels for this to be escalated. Otherwise, I can pass this message to our Product Managers and keep you posted if/when there are any updates on this specific topic. |
Beta Was this translation helpful? Give feedback.
-
@bsenthilr we have stopped maintaining continuous performance testing infrastructure on SGX for practical reasons, but you can find numbers until April here: #6126 (comment). The ratios between JS and C++ are similar there.
We use what we believe to be the fastest available interpreter, but it's still an interpreter. The isolation and sandboxing guarantees are also vastly different from C++. Keep in mind that the measured throughputs are for long-lived, pipelined connections. In a more typical usage, with lots of clients running short lived connections, the cost of the TLS handshake will outweigh the cost of the transaction.
Yes. We don't have an extensive reference of costs, you will need to benchmark your specific use case.
Yes, there is no built-in data sharding support at the moment. We have done some work in the KV to prepare for it, but it's a future item, which will be prioritised according to customer demand.
There are no design articles, but happy to answer questions. By default a fresh runtime is created for every transaction, and completely isolated from others. There is a way to specify through configuration that one or more endpoints should re-use interpreters if desired, to trade off isolation against transaction startup latency. |
Beta Was this translation helpful? Give feedback.
Hello @bsenthilr, there is currently no support, or plan that I am aware of to support native/C++ apps in Managed CCF. You would need to deploy these applications yourself, on top of AKS for example.