For performance testing services that depend upon a SQL database, the service may be tested with known inputs and the SQL queries that are executed will be captured (along with their results). Then the service may be re-tested but the SQL proxy layer will return known results to the same SQL queries. So long as all of the same queries are repeated when the same inputs are passed to the service, the database will be removed from the test. This could be used to measure data access code performance but it is initially intended more to allow a service to run for a long time reliably (independent of any external database) in order enable investigations into hot paths and ways to reduce garbage collection load.
See the version list below for details.
Install-Package ProductiveRage.SqlProxyAndReplay.Service -Version 1.1.0
dotnet add package ProductiveRage.SqlProxyAndReplay.Service --version 1.1.0
<PackageReference Include="ProductiveRage.SqlProxyAndReplay.Service" Version="1.1.0" />
paket add ProductiveRage.SqlProxyAndReplay.Service --version 1.1.0
Pass exceptions from the service to the client but don't allow the service to enter a faulted state
- ProductiveRage.SqlProxyAndReplay.Interface (>= 1.1.0)
This package is not used by any popular GitHub repositories.