Slide 39
Slide 39 text
DO: Limit Concurrency Pool Size
▫ The client’s system resources are not unlimited
(e.g., CPU, Memory, File Descriptors)
▫ The service’s system resources are not unlimited
(e.g., Rate Limiting, TOS Violations, DDOS)
▫ Use tools like each_limit() or GuzzleHttp\Pool
to limit how many active requests are being executed.
▫ The “delay” request option is also useful, and is
implemented in an async-friendly (i.e., not with sleep).
39