Taming System with Python: A Sysadmin perspective
summary
Daily printing problem becomes a tiny client/server: Linux laptop POSTs files, Redis stores metadata and acts as Redis as queue server, a Flask web front end spawns a daemon worker that pulls jobs, calls the Windows API to run shell print commands and fetches files from a Windows share. Implementation uses Python queues, Redis, Flask and Win32 API, runs on OpenBSD test client and successfully prints PDFs without writing a driver.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 3:12Printing problem and motivation
- 6:29Concurrency challenges in Python
- 10:46Taming GIL with CSP concepts
- 15:51Queue-based solution design
- 18:18Integrating threads with Flask
- 21:12Demo setup and OpenBSD testing
- 22:19Live printing demonstration
- 24:31Security and user management
- 27:33Q&A and final thoughts
related talks
42mBuilding a hosting platform with Python
30mAn Admin's Cornucopia - Python Is More Than Just A Better Bash
42mBuilding a hosting platform with Python
01h 34mPython for Distributed Systems
31mControlling a 3D printer with Python
25mA microservices architecture with Python and Docker containers
50mDeveloping a RESTful Python service
32mOpen Source Industrial Control: Turning 2,800 Tons of Metal with Python...
