A non-transitory computer-readable medium storing instructions, which when executed cause a computer system to:
- execute a performance test on an application service while the application service is consuming a first testing service capacity provided through a set of first instances of a first platform service and while the application service is consuming a second testing service capacity provided through a second set of instances of the first platform service, wherein the first testing service capacity is different from the second testing service capacity;
- measure, during the execution of the performance test, a first performance of the application service while consuming the first testing service capacity of the first platform service and a second performance of the application service while consuming the second testing service capacity of the first platform service;
- generate a set of formulas for the application service to interpolate the first performance and the second performance of the application service during the execution of the performance test according to a set of interpolation methods;
- determine a first formula from the set of formulas, the first formula defining a growth type for the first performance and second performance of the application service when consuming the first platform service, wherein the first formula is with a highest quality to approximate the first performance and the second performance of the application service;
- determine a scaling formula for the first platform service as an inverse formula of the first formula, the scaling formula defining a correspondence between a performance of the application service and a first service capacity of the first platform service provided for consumption by the application service, wherein the scaling formula is for calculating a first service capacity demand of the first platform service;
- based on the generated set of formulas for the application service, determine maximum performance ranges for the application service while consuming the first testing service capacity of the first platform service and the second testing service capacity of the first platform service through interpolating the first performance and the second performance, wherein the determination of the maximum performance ranges for the application service further comprises, based on the first formula:
- determine a first maximum performance range for the application service while consuming a low platform service capacity defined at a lowest point on a capacity limit range for the first platform service;
- and
- determine a second maximum performance range for the application service while consuming a high platform service capacity defined at a highest point on the capacity limit range for the first platform service;
- based on the scaling formula, determine a required capacity of the first platform service for a predefined performance of the application service by calculating the required capacity with the predefined performance of the application service as an input to the scaling formula;
- and
- provision the first platform service with the required capacity of the first platform service.