~/talk

Moving to Microservices: Optimizing Network Calls

TalkinRussianat PHPFest 2020 · 2020-10-23..10-24· [microservices, networking]
links:none on file
slides:none on file

Discusses the network costs and new failure modes that appear when a PHP monolith coexists with many microservices, and practical optimizations to reduce network overhead. Covers how PHP’s curl and curl_multi_exec work, use of the Guzzle wrapper and Avito’s usage, choosing correct timeouts and their failure effects (worker-pool exhaustion, cascading failures), and using a reverse proxy with PHP for keep-alive, DNS-resolve savings, and retries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:43Why network optimization matters
  3. 4:57Sequential requests problem
  4. 7:04Parallel requests with Go and batch
  5. 10:18Curly and optimizations
  6. 12:45Reverse proxy setup
  7. 15:15Graceful degradation approach
  8. 18:27Retry strategies and risks
  9. 22:44Retry implementation mistakes
  10. 25:34Microservices load impact
  11. 27:43File strategy for microservices
  12. 28:47Summary
~/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.