The only way to have atomic (code) deploys: Don't copy files into current document root Let existing requests finish on old code New requests start on new code Avoid clearing your opcode cache Minimal impact on production traffic Breakdown: