FastAPI Performance and Scalable Architecture (Paperback)
Language: English
Published by Independently Published, 2026
- Softcover
- New

Seller: Grand Eagle Retail, Bensenville, IL, U.S.A.Grand Eagle Retail
AbeBooks seller since October 12, 2005
Condition: New
US$ 30.25
Quantity: 1 available
Add to basketItem description from seller
Paperback. FastAPI can be fast. But building an API that stays fast when traffic grows, databases become busy, dependencies slow down, and hundreds of requests arrive at the same time requires more than choosing a high-performance framework.FastAPI Performance and Scalable Architecture is a practical guide to designing, measuring, optimizing, and scaling production FastAPI applications.Instead of relying on performance myths or isolated benchmarks, this book teaches you how to understand where time is actually being spent, identify the resource limiting your application, make targeted improvements, and verify the results with realistic measurements.Throughout the book, you will build and evolve ScaleStore API, a production-minded catalog and order-processing service that exposes the same performance challenges found in real backend systems. You will move from a simple FastAPI application to an architecture using PostgreSQL, SQLAlchemy, Redis, Celery, multiple application replicas, load balancing, performance testing, and production observability.You will learn how to: - Measure latency, throughput, concurrency, saturation, p95, and p99 performance- Use async I/O correctly without accidentally blocking the event loop- Control concurrency with timeouts, cancellation, connection pools, and backpressure- Profile Python code and build realistic load, stress, spike, and soak tests with k6- Optimize PostgreSQL queries, indexes, SQLAlchemy sessions, and connection pools- Prevent N+1 queries and design efficient pagination and data-access patterns- Build Redis caching with TTLs, invalidation, stampede protection, and stale-while-revalidate strategies- Move durable and CPU-heavy work to Celery workers- Design idempotent tasks, retries, queue limits, and worker-capacity strategies- Scale FastAPI with Uvicorn workers, containers, stateless replicas, and load balancers- Use autoscaling, load shedding, bulkheads, and graceful degradation- Monitor production systems with metrics, logs, traces, SLOs, alerts, and capacity dashboards- Diagnose real performance failures through hands-on labs, case studies, troubleshooting guides, and production runbooksThis is not a book about chasing the highest requests-per-second benchmark. It is about building APIs that remain predictable, measurable, resilient, and efficient under real production pressure.If you already understand the fundamentals of Python and FastAPI and are ready to move beyond simply building APIs into performance engineering and scalable backend architecture, this book provides the practical next step.Build FastAPI services that do more than run fast in development. Build systems whose limits you can measure, explain, and scale with confidence. This item is printed on demand. Shipping may be from multiple locations in the US or from the UK, depending on stock availability.…
Seller Inventory # 9798174114524
- Title
- FastAPI Performance and Scalable Architecture (Paperback)
- Author
- Liora Byteforge
- Publisher
- Independently Published
- Publication year
- 2026
- Condition
- new
- Binding
- Paperback
- Language
- English
- ISBN 13
- 9798174114524
- Series
- Book 6 of 7: FASTAPI DEVELOPMENT SERIES
FastAPI can be fast. But building an API that stays fast when traffic grows, databases become busy, dependencies slow down, and hundreds of requests arrive at the same time requires more than choosing a high-performance framework.
FastAPI Performance and Scalable Architecture is a practical guide to designing, measuring, optimizing, and scaling production FastAPI applications.
Instead of relying on performance myths or isolated benchmarks, this book teaches you how to understand where time is actually being spent, identify the resource limiting your application, make targeted improvements, and verify the results with realistic measurements.
Throughout the book, you will build and evolve ScaleStore API, a production-minded catalog and order-processing service that exposes the same performance challenges found in real backend systems. You will move from a simple FastAPI application to an architecture using PostgreSQL, SQLAlchemy, Redis, Celery, multiple application replicas, load balancing, performance testing, and production observability.
You will learn how to:
• Measure latency, throughput, concurrency, saturation, p95, and p99 performance
• Use async I/O correctly without accidentally blocking the event loop
• Control concurrency with timeouts, cancellation, connection pools, and backpressure
• Profile Python code and build realistic load, stress, spike, and soak tests with k6
• Optimize PostgreSQL queries, indexes, SQLAlchemy sessions, and connection pools
• Prevent N+1 queries and design efficient pagination and data-access patterns
• Build Redis caching with TTLs, invalidation, stampede protection, and stale-while-revalidate strategies
• Move durable and CPU-heavy work to Celery workers
• Design idempotent tasks, retries, queue limits, and worker-capacity strategies
• Scale FastAPI with Uvicorn workers, containers, stateless replicas, and load balancers
• Use autoscaling, load shedding, bulkheads, and graceful degradation
• Monitor production systems with metrics, logs, traces, SLOs, alerts, and capacity dashboards
• Diagnose real performance failures through hands-on labs, case studies, troubleshooting guides, and production runbooks
This is not a book about chasing the highest requests-per-second benchmark. It is about building APIs that remain predictable, measurable, resilient, and efficient under real production pressure.
If you already understand the fundamentals of Python and FastAPI and are ready to move beyond simply building APIs into performance engineering and scalable backend architecture, this book provides the practical next step.
Build FastAPI services that do more than run fast in development. Build systems whose limits you can measure, explain, and scale with confidence.
"Synopsis" may belong to another edition of this title.
Grand Eagle Retail
Bensenville, IL, U.S.A.
AbeBooks seller since October 12, 2005
Shipping rates within U.S.A.
| Item | 6 to 14 business days | 6 to 16 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 0.00 |
Payment methods
Seller's business information
APOLLO ONLINE CORP.
605 Geddes Street
Wilmington, DE U.S.A. 19805
Terms of sale
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Shipping terms
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.