Reputation: 2282
I am trying to migrate my applications from GoDaddy virtual machine to Azure Virtual machine.
I want to have 1 VM as a database server and another VM as webserver, but it works extremely slow in that case, I installed DB on the same server as web application and it's fast.
So the question: How can I increase performance between two virtual machines? Both are located in "East US", is it some way to may be locate both in the same box...? What can you suggest?
Upvotes: 1
Views: 2285
Reputation: 657
Affinity Group is the way to go. Configure both VM in the same affinity group will co-locate those two VMs.
Upvotes: 0
Reputation: 2282
Found the issue. It's not Azure, it's problem with MySQL database. I have to set parameter
skip-name-resolve
in my.ini file, and not it's as fast as when both located on the same server.
Upvotes: 3
Reputation: 2135
Make sure you have the VM's in the same affinity group so the machines are geolocated together by the Fabric Controller i.e. in East US
Machines in the sames Cloud Service and affinity group should have lightening direct network traffic, can you run some ping tests between them on the same affinity group and share with us plz.
e.g. RDP in and run ping from the command line.
As stated above the beefer the machines the better the bandwidth/network traffic, scaling up the SQL machine is advisable.
*More on Affinity Groups here: http://convective.wordpress.com/2012/06/10/affinity-groups-in-windows-azure/
Cheers
Upvotes: 0