BMAD-METHOD/.claude/rules/python-fastapi-scalable-api.../backend-performance-optimiz...

7 lines
337 B
Plaintext

---
description: Focuses on performance optimization techniques for the Python backend.
globs: backend/src/**/*.py
---
- Minimize blocking I/O operations using async functions.
- Implement caching strategies for frequently accessed data using Redis or in-memory stores.
- Use lazy loading techniques for large datasets and API responses.