你好! Shipping to Taiwan with premium packaging for just NT$300 

Ship to
Taiwan
0
  • argentina
  • chile
  • colombia
  • españa
  • méxico
  • perú
  • estados unidos
  • internacional

Select your country

Americas

Europe

Rest of the world

portada FastAPI Performance and Scalable Architecture
Type
Physical Book
Language
English
Pages
320
ISBN13
9798174114524

FastAPI Performance and Scalable Architecture

Liora Byteforge (Author) · Independently published · Physical Book

FastAPI Performance and Scalable Architecture - Liora Byteforge

New Book Imported to Taiwan
Delivery: 12 Nov - 20 Nov Shipping: 5 to 6 business days.
NT$ 900
NT$ 900

Synopsis "FastAPI Performance and Scalable Architecture"

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.

Customers reviews

Frequently Asked Questions about the Book

All books in our catalog are Original.
The book is written in English.

Questions and Answers about the Book

Do you have a question about the book? Login to be able to add your own question.

Opinions about Bookdelivery

More customer reviews