microsoft / LSKV

A Ledger-backed Secure Key-Value store (LSKV), built on the Confidential Consortium Framework (CCF)
https://microsoft.github.io/CCF
MIT License
33 stars 6 forks source link

Generate openapi spec and add a test for it #184

Open jeffa5 opened 1 year ago

jeffa5 commented 1 year ago

This adds manually curated types for the openapi spec to use, based off of the .proto files. There are generators for turning .proto into an openapi spec but then it wouldn't be served over the normal endpoint in CCF which is quite a nice feature.

github-actions[bot] commented 1 year ago

Plots from benchmarking at 366bef13fdc90ec85b3b8dd10ed422771c5b2cfa

Available from here

etcd/achieved_throughput_bar-vars-None-nodes.jpg
etcd/ecdf-latency_ms-None-nodes-vars.jpg
etcd/scatter-start_ms-latency_ms-None-nodes-vars.jpg
etcd/target_throughput_latency_line-rate-None-nodes-vars.jpg
etcd/throughput_bar-rate-None-nodes-vars.jpg
k6/achieved_throughput_bar-vars-None-func.jpg
k6/commit_checks_ecdf-committed_count-None-None-vars.jpg
k6/commit_latency_ecdf-commit_latency-None-None-vars.jpg
k6/ecdf-latency_ms-None-func-vars.jpg
k6/scatter-start_ms-latency_ms-None-func-vars.jpg
k6/target_throughput_latency_line-rate-None-func-vars.jpg
k6/throughput_bar-rate-None-func-vars.jpg
perf/achieved_throughput_bar-vars-http_version-nodes.jpg
perf/ecdf-latency_ms-http_version-nodes-vars.jpg
perf/scatter-start_ms-latency_ms-http_version-nodes-vars.jpg
ycsb/achieved_throughput_bar-vars-None-None.jpg
ycsb/ecdf-latency_ms-nodes-operation-vars.jpg
ycsb/scatter-start_ms-latency_ms-nodes-operation-vars.jpg
ycsb/target_throughput_latency_line-rate-None-nodes-vars.jpg
ycsb/throughput_bar-rate-nodes-operation-vars.jpg