There are 2 types of web application that I have.
Type A
Type B
Both types use Ubuntu, php, MySQL.
As you can see, the type A is higher spec.
First I created the Type B, and created the Type A based on the snapshot of the Type B.
I uploaded the same SQL database, and same php source code.
I run a heavy process with the exactly same condition at both types.
I believed that Type A complete the task much faster, but the result was as follows.
Type A : 21 minutes 40 seconds Type B : 12 minutes 25 seconds
is there anyone who can explain me the reason for the result well ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
Indeed at a first glance, this does not really make sense. This could be explained if the server configuration is different, for example, if setup B is better tweaked in terms of PHP and MySQL settings and etc.
What I could suggest in this case is to do the following:
Add some logging in your application to verify that the two environments are actually processing the same data. As if there is a lot less data to be processed on one of the systems it would explain why it is faster.
Monitor the resource utilization on the two environments to verify that the resources are actually fully utilized and not sitting idle.
Check the error logs to make sure that there are no errors that could be causing the delay.
Let me know how it goes. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.