This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.3k
stars
1.96k
forks
source link
[FEATURE REQ]Perf investigation/improvements for workloads other than just point read and write (with retries, with failure injection, and especially with monitoring enabled) #34299
Run perf tests for above scenarios, capture profiles and decide where to make improvements.
In general worth looking at places where we use flatMap (or other reactor operators forcing thread switches)
Investigate whether we should always switch off of I/O thread in the SDK
Investigate data structures used in CosmosDiagnostics and see where efficiency improvements can be made
Investigate whether moving diagnostics handling off of hot path is a good idea
See whether it is worth misusing FailureInjection to suppress any actual I/O calls for perf test
DiagnosticsProvider uses PropagatingMono/Flux to push tracing off o hot path or i/o threads - my preference would be to make COSMOS.SWITCH_OFF_IO_THREAD_FOR_RESPONSE the default instead - but needs testing
Run perf tests for above scenarios, capture profiles and decide where to make improvements.