Migrating a PHP database on a local MySQL host slow performance compared to Virtualhost Homestead

[VIRTUAL HOST] Migrating the Laravel Homestead database is much faster than mine [LOCALHOST] Laravel Valet / Vessel / XAMPP /?

Can someone explain why? Or is there a way to increase the speed of my localhosts?

+8
php mysql server laravel localhost
source share
2 answers

The VM image is loaded into memory, which will take into account the difference in speed. When using memory on an activity monitor, VBoxHeadless takes 1.4G with Laravel Homestead. This is probably the reason Laravel Homestead is faster than local.

+1
source share

For example, if you use xampp for Windows, this tool is not optimized for better performance.

The best open source tools always work on the Linux platform.

For example, you can see that Ubuntu runs only the services that you define for your work, such as: apache, mysql deamon, etc., and obviusly you can access the Apache root configuration, meanwhile, on a tool such like Xampp, you only install and don’t know what whatexaclty happens to be for escenes.

Hope my answer will be helpful to you.

0
source share

All Articles