dotnet-cqrs/docs/best-practices/performance.md

471 B

Performance

Optimize CQRS application performance.

Best Practices

DO

  • Use async/await
  • Enable connection pooling
  • Batch operations
  • Cache read models
  • Use indexes

DON'T

  • Don't use blocking operations
  • Don't skip database tuning
  • Don't load unnecessary data
  • Don't forget connection limits

See Also