Search code examples
performanceazure-service-fabric

Performance Profiling Service Fabric dependent application


We are facing a challenging situation, we have one ASP.NET Core 2.2 service that is completely dependent on service fabric and we cannot run it outside the cluster (due to wrong intermingled design that made the application totally dependent on underlying service fabric features).

Now, we are facing performance issues in the application we are trying to troubleshoot, but unfortunately, neither Visual Studio Profiler nor Reshaper can attach to service fabric services. Is there any way I can performance profile the service?


Solution

  • I managed to measure performance using .NET

    StopWatch ()

    not the best solution but helped to fix the issue.