= sum of all individual service costs • For each service: • Assuming a defined fixed SLA … • … costs are a function of load (plus other factors) • “Load” can be internal or external CostHat
= sum of all individual service costs • For each service: • Assuming a defined fixed SLA … • … costs are a function of load (plus other factors) • “Load” can be internal or external • Load changes propagate through the system CostHat
Backing Instance Backing Instance ... /ep1 /ep2 ... Data Store /ep1 /ep2 ... /ep1 Lambda Function Instance-Backed Microservice Lambda-Backed Microservice (a) (b) API API /ep2 Lambda Function ...
Backing Instance Backing Instance ... /ep1 /ep2 ... Data Store /ep1 /ep2 ... /ep1 Lambda Function Instance-Backed Microservice Lambda-Backed Microservice (a) (b) API API /ep2 Lambda Function ...
Combination of instance- and lambda-backed services • Current AWS prices in summer 2016 • Other model parameters: • Assumptions (based on previous benchmarking studies) Customer-Facing Web Interface /get order history /save /generate recommend /get customers /login orders /get /submit banking_ interface /process_ payment /landing frontend /order products /get (focus on what-if analysis)
requests to login Scenario 2 - More external load • The recommendation service gets used in other apps as well Scenario 3 - Instance Type Migr. • Changing the used backend instance for one service
requests to login Scenario 2 - More external load • The recommendation service gets used in other apps as well Scenario 3 - Instance Type Migr. • Changing the used backend instance for one service
requests to login Scenario 2 - More external load • The recommendation service gets used in other apps as well Scenario 3 - Instance Type Migr. • Changing the used backend instance for one service Scenario 4 - Code Change • Impact of new dependency to customer/get in the recommendation service
requests to login Scenario 2 - More external load • The recommendation service gets used in other apps as well Scenario 3 - Instance Type Migr. • Changing the used backend instance for one service Scenario 4 - Code Change • Impact of new dependency to customer/get in the recommendation service
Dadashi, Anne Keller, and Andreas Roth. 2015. Runtime metric meets developer: building better cloud applications using feedback. In 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! 2015). ACM, New York, NY, USA, 14-27. DOI=http://dx.doi.org/10.1145/2814228.2814232 R. Singh, P. Shenoy, M. Natu, V. Sadaphal, and H. Vin. Predico: a System for What-If Analysis in Complex Data Center Ppplications. In Proceedings of the 12th International Middleware Conference, pages 120–139, 2011. D. Franceschelli, D. Ardagna, M. Ciavotta, E. Di Nitto. 2013. SPACE4CLOUD: a Tool for System Performance and Cost Evaluation of Cloud Systems. In Proceedings of the 2013 International Workshop on Multi-cloud Applications and Federated Clouds (New York, NY, USA, 2013), MultiCloud ’13, ACM, pp. 27–34.
Dadashi, Anne Keller, and Andreas Roth. 2015. Runtime metric meets developer: building better cloud applications using feedback. In 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! 2015). ACM, New York, NY, USA, 14-27. DOI=http://dx.doi.org/10.1145/2814228.2814232 Focus on performance rather than costs R. Singh, P. Shenoy, M. Natu, V. Sadaphal, and H. Vin. Predico: a System for What-If Analysis in Complex Data Center Ppplications. In Proceedings of the 12th International Middleware Conference, pages 120–139, 2011. D. Franceschelli, D. Ardagna, M. Ciavotta, E. Di Nitto. 2013. SPACE4CLOUD: a Tool for System Performance and Cost Evaluation of Cloud Systems. In Proceedings of the 2013 International Workshop on Multi-cloud Applications and Federated Clouds (New York, NY, USA, 2013), MultiCloud ’13, ACM, pp. 27–34.
Dadashi, Anne Keller, and Andreas Roth. 2015. Runtime metric meets developer: building better cloud applications using feedback. In 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! 2015). ACM, New York, NY, USA, 14-27. DOI=http://dx.doi.org/10.1145/2814228.2814232 Focus on performance rather than costs R. Singh, P. Shenoy, M. Natu, V. Sadaphal, and H. Vin. Predico: a System for What-If Analysis in Complex Data Center Ppplications. In Proceedings of the 12th International Middleware Conference, pages 120–139, 2011. D. Franceschelli, D. Ardagna, M. Ciavotta, E. Di Nitto. 2013. SPACE4CLOUD: a Tool for System Performance and Cost Evaluation of Cloud Systems. In Proceedings of the 2013 International Workshop on Multi-cloud Applications and Federated Clouds (New York, NY, USA, 2013), MultiCloud ’13, ACM, pp. 27–34. Palladio
Dadashi, Anne Keller, and Andreas Roth. 2015. Runtime metric meets developer: building better cloud applications using feedback. In 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! 2015). ACM, New York, NY, USA, 14-27. DOI=http://dx.doi.org/10.1145/2814228.2814232 Focus on performance rather than costs R. Singh, P. Shenoy, M. Natu, V. Sadaphal, and H. Vin. Predico: a System for What-If Analysis in Complex Data Center Ppplications. In Proceedings of the 12th International Middleware Conference, pages 120–139, 2011. What-If Analysis D. Franceschelli, D. Ardagna, M. Ciavotta, E. Di Nitto. 2013. SPACE4CLOUD: a Tool for System Performance and Cost Evaluation of Cloud Systems. In Proceedings of the 2013 International Workshop on Multi-cloud Applications and Federated Clouds (New York, NY, USA, 2013), MultiCloud ’13, ACM, pp. 27–34. Palladio