Faster XML download after power cycle

Posted March 5, 2015 2.2k views
Linux BasicsUbuntuApachePHPServer OptimizationDigitalOcean

Hi, I’m new in server configuration topic but I set up Apache on Ubuntu 14.04 by myself, and I’ve tested my application and I have some question about performance.

My app is downloading xml files (1350 files, 220 mb) from wholesale website by API and it works perfectly but downloading all files took over 30 min for the first time, but after power cycle this same operation took 7 min. In server graphs there is difference between bandwith speed for both tests (#1: 2Mbs, #2: 5Mbs)

My question is: what may be a cause of such difference of downloading after power cycle? What test i need to do?

My server is 2GB Ram 30GB SSD Disk Amsterdam 3 Ubuntu LAMP on 14.04

1 comment
  • It continues to show that same speed while downloading, or this was one time test? Network traffic at the time of the tests can influence the results.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey there,

The only thing that may be different between reboots is CPU load and memory in use. If the system was running out of resources or at a high load, the system would be sluggish. The reboot itself would clear the load and memory usage up, but it would not have increased download speeds.

The other possible explanation may be a routing change or bandwidth saturation at the other server location that happened to clear up around the time of the reboot.

Happy coding,

Jon Schwenn
Platform Support Specialist