Developing a RESTful Python service
summary
Builds a Windows-hosted REST service with Bottle behind an IIS reverse proxy using Application Request Routing, avoids in-process ISAPI, and runs the service as a separate process for controlled recycling. Uses psycopg2, requests, watchdog and win32traceutil for debugging and file-watching. Makes writes idempotent by using client-generated IDs and PUT so retries are safe. Microtests show about 230 req/s and projected load is 50,000–100,000 requests per day.
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 3:29Project goals and context
- 5:58Windows development environment
- 9:38Tooling and utilities
- 14:45Server architecture choices
- 24:57The case for REST
- 29:17Implementing REST services
- 37:32Data handling and summary
- 48:53Q&A and concluding remarks
related talks
42mBuilding a hosting platform with Python
42mBuilding a hosting platform with Python
44mPython in the MicroServices world
25mA microservices architecture with Python and Docker containers
17mHigh Performance Python Microservice Communication
23mBuilding Web APIs with Flask-RESTful
33mLessons learned building Python microservices
29mPrototyping Python Microservices in Production
