In this episode, Benjamin and Matthew talk with Bastian Hofmann about handling retries and timeouts in PHP. Bastian shares a load of great advice, including:
Show Notes
In this episode, Benjamin and Matthew talk with Bastian Hofmann about handling retries and timeouts in PHP. Bastian shares a load of great advice, including:
- Having dedicated hosts for certain traffic
- Distinguishing between normal users and admin users
- Offloading work to asynchronous jobs
- Default socket timeouts and max execution times
- Automatic retries
- Tuning settings and rules of thumbs as to how to do so
- Tooling for monitoring
- Circuit breakers
- Integrating monitoring into legacy codebases
- Plus loads load more!
Links
Thanks for tuning in to the Undercover ElePHPant. If you'd like to be a guest on the podcast or know someone very knowledgeable in writing highly performant and scalable PHP applications, email
podcast@tideways.com.
This podcast is produced by Tideways. Don't look further for an all in one Monitoring, Profiling and Exception Tracking software for PHP applications available on tideways.com. Follow us on Twitter (
@tidewaysio). Find out more about us at
https://tideways.com.
What is The Undercover ElePHPant?
The Undercover ElePHPant is a podcast about scaling and optimizing your PHP applications. Each week, Benjamin Eberlei and Matthew Setter sit down with an expert from the PHP community to discuss a specific aspect of highly performant PHP applications.