~/talk

Lessons learned building Python microservices

Talkat PyCon AU 2019 · 2019-08-02..08-06· [microservices, python]
slides:none on file

Dozens of microservices on Kubernetes in Java and Python talk to an InfiniMix legacy DB and serve 800 branch terminals; contracts are enforced with pact contracts and a homegrown pactman Python verifier. Python services run Django + mod_wsgi and DRF, use git submodules for simultaneous library edits, pytest/black/flake8 for consistency, retries plus a DB select 1 validation to cut intermittent errors, profiling cuts a slow 400ms path down to ~50ms, and caching drops 40,000→4,000 calls.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56Agenda
  3. 2:08Architecture
  4. 6:00Git sub modules
  5. 7:09Consistency of environment and practices
  6. 9:56Testing
  7. 11:02Consistency of editor
  8. 13:01Interoperability
  9. 16:48Resilience
  10. 17:49Database Retry
  11. 21:46Intermix
  12. 22:42Django
  13. 23:47Django Rest
  14. 24:50Identity Columns
  15. 26:41Performance
  16. 29:26Reducing SQL queries
~/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.