Quick Start with FastAPI - Building High-Performance REST APIs
This post requires a password
About the author
Comments (0)
Unlock the article to read the comments.
Related posts
Python Concurrency: asyncio vs ThreadPool vs ProcessPool
Deep Python concurrency comparison: ThreadPool for IO-bound, ProcessPool bypassing GIL for CPU-bound, asyncio coroutines for ultra IO. 4-dimension decision tree with perf and complexity.
Alembic Deep Dive: Migrations, Autogenerate, and Branch Merging
Comprehensive Alembic (official SQLAlchemy migration tool) guide: env.py setup, autogenerate detecting model changes (fields, indexes, constraints), batch scripts, downgrade rollback strategies, plus standard SOP for multi-developer migration branch conflicts and divergent head merging, with production deploy checklist.
Advanced Nuxt 3 - Deep Dive into SSR and SSG
Nuxt 3 is built on Vue 3 and Vite, introducing the new Nitro rendering engine. This article deeply analyzes the working principles, use cases, and performance differences of three core modes: Server-Side Rendering (SSR), Static Site Generation (SSG), and Incremental Static Regeneration (ISR). With code demos, learn to configure rendering strategies, optimize first-screen load time, and implement caching policies.
RAG in Practice: Embedding + Vector DB + ReRank
Build production-grade RAG from scratch: doc chunking (size + overlap windows), embedding model selection, vector DB retrieval filters, Reranker refining Top-K, plus citation grounding and prompt compression. Complete runnable code included.
Dynamic Programming: 5 Universal Templates
Master DP: 5-step universal framework then 5 high-frequency templates: Knapsack, Subsequence, Interval DP, Bitmask DP, Tree DP, each with canonical code and variant keys.
GraphQL vs REST: 7-Dimension Deep Comparison
End the API style debate: compared across 7 dimensions - network efficiency, DX, evolution cost, caching, type-safety, security risks, ecosystem - with clear decision tree and hybrid architecture patterns.