On one of my site, I have a large-file download method using:
site.com/downloader.php?file=MyLargeFile.mp3
then PHP file executes readfile to start file downloading.
Typically, not to go in details of load-balancing, I just wanted to know how PHP engine works - does such approach in PHP (throwing files usingreadfile, file_get_contents or etc...) take more CPU/Overload, compared to downloading with direct links, like site.com/MyLargeFile.mp3? Or PHP engine does same using those commands?
topor at the very least, your web server log? – Julie Pelletier Aug 29 '16 at 22:37top. Also, I have found this topic too: http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/ – T.Todua Aug 30 '16 at 08:04