We are developing a fat client application that connects to a SQL Server DB using Entity Framework.
We obviously develop using a local DB, but one of the requirements is that the performance needs to be acceptable when ran over VPN connections with high lag (say, 200ms) *
I think a good way to test this would be injecting something that would add a 200ms delay to every command execution, so it would "feel" just like the real deal, and that can be enabled/disabled easily.
Any ideas on how to accomplish this?
sidenote: I would have done it differently, using a service-oriented architecture with DB access on an app server and coarser-grained interfaces, but it wasn't my call