Recommendations for Python
Blackfire provides additional recommendations for Python applications!
Recommendations are a key feature of Blackfire Profiler. They are actionable insights Blackfire offers when detecting potential flaws in your application. They are fully documented, so you understand exactly what Blackfire detected and how to fix the issue.
Recommendations are based on Metrics, like for the tests you define in your
.blackfire.yaml and follow common best practices. Most of them are generic, but some are more specialized or vendor-centric (i.e. specific frameworks and/or libraries).
We recently added more metrics and recommendations for generic Python, Django and Flask applications.
Generic Recommendations for Python
Regarding Python itself, we focused on:
- AMQP connections;
- Connection to Cache servers (including
- Database connections;
- Spawned sub-processes;
- Security advice.
Recommendations for Django and Flask
As for Django and Flask, we added recommendations on the following topics:
- Cache settings;
- Debug settings;
- CSRF and Click-jacking;
- Django Security middleware.
Start your Premium Trial Now!
Happy Profiling 🐍!