~/talk

Taming System with Python: A Sysadmin perspective

Talkat PyCon APAC 2018 · 2018-05-31..06-02· [python]
links:none on file
slides:none on file

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

  1. 0:00Introduction and background
  2. 3:12Printing problem and motivation
  3. 6:29Concurrency challenges in Python
  4. 10:46Taming GIL with CSP concepts
  5. 15:51Queue-based solution design
  6. 18:18Integrating threads with Flask
  7. 21:12Demo setup and OpenBSD testing
  8. 22:19Live printing demonstration
  9. 24:31Security and user management
  10. 27:33Q&A and final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.