I am running a small web application on Raspberry Pi 2 (OS latest Raspbian, and no overclocking, samba installed) which runs on Apache, PHP, and MySQL.
The web app lets users punch a simple tickets for entry. The tickets once punched need to be printed automatically as well.
For this, I run a .NET install able application that runs on a computer on network, and calls http://raspberrypi/print_ticket_xml.php file every second to get XML formatted data, which the application parses and prints.
While running the application however, I have observed frequent time out issues on the C# application. I also track the execution time of PHP script - which is less than a second (0.014 or so)
- How can I reduce network timeouts?
- Is there a way to optimize network performance of Raspberry PI?
- How can I measure/monitor what is consuming resources on Pi?