backend-performance

Optimize .NET backends to reduce API latency and memory usage.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/johwer/marketplace --skill backend-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-performance
Source: https://github.com/johwer/marketplace/tree/main/skills/backend-performance
Command: npx skills add https://github.com/johwer/marketplace --skill backend-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams reduce API latency and memory pressure in .NET backends by guiding performance optimization across queries, caching, and profiling.

Core Features & Use Cases

  • EF Core query tuning and eager loading strategies to avoid N+1.
  • Caching strategies and memory profiling to minimize allocations and improve TTFB.
  • Use Case: A high-traffic ASP.NET Core API experiences latency spikes; apply these practices to reduce p95 latency and stabilize throughput.

Quick Start

Run a baseline profiling pass on your ASP.NET Core services to identify top bottlenecks.

Frequently Asked Questions about backend-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce API latency in high-traffic ASP.NET Core services?

To reduce API latency in high-traffic ASP.NET Core services, apply EF Core query tuning, implement targeted caching strategies, and run baseline memory profiling to identify and eliminate top allocation bottlenecks.

What is the best way to fix N+1 query problems in EF Core?

Fixing N+1 query problems in EF Core involves applying eager loading strategies and query optimization techniques to ensure related data is fetched efficiently, minimizing database round trips and reducing endpoint latency.

How does memory profiling improve TTFB in .NET backends?

Memory profiling improves TTFB in .NET backends by tracking down excessive memory allocations, allowing developers to apply optimization strategies that reduce garbage collection pressure and speed up initial response generation.

Can I use this checklist for performance monitoring across distributed systems?

Yes, you can use this structured checklist for performance monitoring across distributed systems, as it specifically addresses data-intensive endpoints and deployment-ready profiling for distributed .NET architectures.

What's the first step to optimize a .NET backend experiencing latency spikes?

The first step to optimize a .NET backend experiencing latency spikes is to run a baseline profiling pass on your ASP.NET Core services to identify the top performance bottlenecks before applying query or caching fixes.