I will provide you best solution in embedded systems because I have cleared lots of problems in program like one of our clients bus gps (gprmc data)has not received in main server, so its peak hour it's must to monitor the daily data to server every day the data will store in clients server for security purposes,on that day signal issues is there in that city,so there is no signal to send the data, so I take care the issue and I have changed the program to store the current data in external device so when the device got the signal,then it will send the data from the hard disk to server,so data will not missed in the server and the issue in an hour.