We currently have the following setup for our webapp:
Pre-Production:
1 Medium instance (web role running windows 2012) 1 Web Tier SQL Server Storage account for blobs
Live:
2 Large Instances (web role running windows 2012) 1 Web Tier SQL Server Storage account for blobs (shares the same account as pre-prod)
All the servers, storage accounts are located in the same region (North Europe)
The problem we have is that the pre-production server is faster at serving pages than the live setup but we cannot figure out why. They are both setup exactly the same, they simply point to different databases.
Any example of the difference is that the main dashboard page takes 300ms in the pre-prod box and 600 ms on the live. This was tested when bot apps were not being used by anyone else apart from us so it can't be down to load on the box.
We also have in-role caching on both setups (30% of the memory) Looking at the server it's self neither CPU usage or RAM usage is excessive.
Does anyone know of anything obvious that we should be checking as to why the live deployment is so much slower than pre-prod?
The actually issue turned out to be some logging we had going on in the app. The log server was in the US and on a shared platform which explained why we had the delay on live. It looks like when we first checked this as something that might be causing it the performance of the logging setup was fine but think that was probably due to the time of day it was checked.