Files
main/rules-v0-deprecated/python-fastapi-scalable-api-cursorrules-prompt-fil/backend-performance-optimization.mdc
T
2025-03-03 23:40:27 +05:30

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.