UsefulLinks
Computer Science
Web Development
FastAPI Framework
1. Introduction to FastAPI
2. Environment Setup and Installation
3. First FastAPI Application
4. Path Operations Fundamentals
5. Path Parameters
6. Query Parameters
7. Request Headers and Cookies
8. Request Body Handling
9. Response Handling
10. Dependency Injection System
11. Security and Authentication
12. Middleware
13. Error Handling
14. Application Structure
15. Asynchronous Programming
16. Background Tasks
17. WebSocket Support
18. Database Integration
19. Static Files and Templates
20. Testing FastAPI Applications
21. Deployment and Production
15.
Asynchronous Programming
15.1.
Async vs Sync Operations
15.1.1.
Async Function Definition
15.1.2.
Sync Function Definition
15.1.3.
Performance Implications
15.1.4.
When to Use Each
15.2.
Async Path Operations
15.2.1.
Async Route Handlers
15.2.2.
Await Operations
15.2.3.
Async Dependencies
15.2.4.
Async Middleware
15.3.
Concurrency Patterns
15.3.1.
Concurrent Requests
15.3.2.
Background Processing
15.3.3.
Thread Pool Execution
15.3.4.
Process Pool Execution
15.4.
Async Best Practices
15.4.1.
Avoiding Blocking Operations
15.4.2.
Async Library Usage
15.4.3.
Error Handling in Async Code
15.4.4.
Performance Optimization
Previous
14. Application Structure
Go to top
Next
16. Background Tasks