Long Running PHP Processes Do’s and Don’t

    Cees-Jan Kiewiet

  • @WyriHaximus
  • ReactPHP Team member
  • Sculpin Team member
  • Lead Software Engineer at 

 

 

Monitor everything

Server monitoring

Services monitoring

Process monitoring

Clean up everything

Clean up open files

Clean up open connections

Clean up resources

Clean up class instances

Clean up variables

Clean up files

Use PHP 7

Don't

Don't store state internally

Don't ignore errors

Don't use cron to keep it running

Questions?

@WyriHaximus

https://joind.in/talk/7d77b

Long Running PHP Processes Do’s and Don’t (NomadPHP 2016)

By wyrihaximus

Long Running PHP Processes Do’s and Don’t (NomadPHP 2016)

  • 1,547