Skip to main content

Exercise 4: Performance Tuning

Objective

Benchmark and optimize an API

Tools

  • BenchmarkDotNet
  • Application Insights
  • SQL Profiler

Tasks

  1. Baseline performance metrics
  2. Identify bottlenecks
  3. Optimize database queries
  4. Add caching
  5. Implement pagination
  6. Compress responses
  7. Re-benchmark

Expected Outcome

  • 5x+ performance improvement
  • Performance metrics dashboard