Skip to main content
Log in

An Analytical Model for Estimating Cloud Resources of Elastic Services

  • Published:
Journal of Network and Systems Management Aims and scope Submit manuscript

Abstract

In the cloud, ensuring proper elasticity for hosted applications and services is a challenging problem and far from being solved. To achieve proper elasticity, the minimal number of cloud resources that are needed to satisfy a particular service level objective (SLO) requirement has to be determined. In this paper, we present an analytical model based on Markov chains to predict the number of cloud instances or virtual machines (VMs) needed to satisfy a given SLO performance requirement such as response time, throughput, or request loss probability. For the estimation of these SLO performance metrics, our analytical model takes the offered workload, the number of VM instances as an input, and the capacity of each VM instance. The correctness of the model has been verified using discrete-event simulation. Our model has also been validated using experimental measurements conducted on the Amazon Web Services cloud platform.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  1. Azeez, A.: Auto-scaling web services on Amazon EC2 (2014). http://people.apache.org/~azeez/autoscaling-web-services-azeez.pdf

  2. Amazon Inc.: Amazon web services auto scaling (2014). http://aws.amazon.com/autoscaling

  3. Aceto, G., Botta, A., de Donato, W., Pescape, A.: Cloud monitoring: a survey. J. Comput. Netw. 57(9), 2093–2115 (2013)

    Article  Google Scholar 

  4. Amazon Inc.: AWS web services (2014). http://aws.amazon.com/

  5. Google Inc.: Google compute engine (2014). https://cloud.google.com/products/compute-engine/

  6. Google Inc.: Google App Engine (2014). http://appengine.google.com/

  7. Lorido-Botran, T., Miguel-Alonso, J., Lozano, J.A.: A review of auto-scaling techniques for elastic applications in cloud environments. J. Grid Comput. 12(4), 559–592 (2014)

    Article  Google Scholar 

  8. Lagar-Cavilla, H, Whitney, J., Scannell, A., Patchin, P., Rumble, S., Lara, E., Brudno, M., Satyanarayanan, M., SnowFlock: rapid virtual machine cloning for cloud computing. In: Proceedings of the 4th ACM European Conference on Computer Systems, EuroSys’09, Nuremberg, Germany, March 2009, pp. 1–12

  9. Mao, M., Humphrey, M.: A performance study on the MV startup time in the cloud. In: Proceedings of the 5th IEEE International Conference on Cloud Computing (CLOUD2012), June 2012, pp. 423–430

  10. Iqbal, W., Dailey, M., Carrera, D., Janecek, P.: Adaptive resource provisioning for read intensive multi-tier applications in the cloud. J. Future Gener. Comput. Syst. 27(6), 871–879 (2011)

    Article  Google Scholar 

  11. Liu, H., Wee, S.: Web server farm in the cloud: performance evaluation and dynamic architecture. In: Proceedings of the 1st 2009 International Conference on Cloud Computing, Springer, Berlin, pp. 369–380 (2009)

  12. Wang, Z., Chen, Y., Gmach, D., Singhal, S., Watson, B., Rivera, W., Zhu, X., Hyser, C.: AppRAISE: application-level performance management in virtualized server environments. IEEE Trans. Netw. Serv. Manag. 6(4), 240–254 (2008)

    Article  Google Scholar 

  13. Urgaonkar, B., Shenoy, P., Chandra, A., Goyal, P., Wood, T.: Agile dynamic provisioning of mult-tier internet applications. ACM Trans. Auton. Adapt. Syst. 3, 1–39 (2008)

    Article  Google Scholar 

  14. Urgaonkar, B., Pacifici, G., Shenoy, P., Spreitzer, M., Tantawi, A.: An analytical model for multi-tier internet services and its applications. In: Proceedings of the 2005 ACM SIGMETRICS International Conference, vol. 33, Alberta, Canada, pp. 291–302

  15. Khazaei, H., Misic, J., Misic, V.: Performance analysis of cloud computing centers using M/G/m/m + r queueing systems. IEEE Trans. Parallel Distrib. Syst. 23(5), 936–943 (2012)

    Article  Google Scholar 

  16. Kikuchi, S., Matsumoto, Y.: Performance modeling of concurrent live migration operations in cloud computing systems using PRISM probabilistic model checker. In: Proceedings of the 4th IEEE International Conference on Cloud Computing, Melbourne, Australia, pp. 49–56 (2011)

  17. Firdhous, M., Ghazali, O., Hassan, S.: Modeling of cloud system using Erlang formulas. In: Proceedings of the 2011 7th Asia-Pacific Conference on Communications (APCC), Saba, Malaysia, October, pp. 411–416 (2011)

  18. Xiong, K., Perros, H.: Service performance and analysis in cloud computing. In: Proceedings of the 2009 IEEE Congress on Services, Los Angeles, Californian, July 2009, pp. 693–700

  19. Wuhib, F., Yanggratoke, R., Stadler, R.: Allocating compute and network resources under management objectives in large-scale clouds. J. Netw. Syst. Manag. 23, 111–136 (2015)

    Article  Google Scholar 

  20. Jennings, B., Stadler, R.: Resource management in clouds: survey and research challenges. J. Netw. Syst. Manag. 23, 567–619 (2015)

    Article  Google Scholar 

  21. Chunlin, L., Layuan, L.: Multi-layer resource management in cloud computing. J. Netw. Syst. Manag. 22(1), 100–120 (2014)

    Article  Google Scholar 

  22. Salah, K., Boutaba, R.: Estimating service response time for elastic cloud applications. In: Proceedings of the 1st IEEE International Conference on Cloud Networking (CloudNet 2012), Paris, France, 28–30 November 2012, pp. 12–16

  23. Cockcroft, A.: Utilization is virtually useless as a metric. In: Proceedings of CMG 2006 Conference, December 2006

  24. Salah, K.: Implementation and experimental evaluation of a simple packet rate estimator. AEU Int. J. Electron. Commun. 63(11), 977–985 (2009)

    Article  Google Scholar 

  25. Salah, K., Haidari, F.: Performance evaluation and comparison of four network packet rate estimators. AEU Int. J. Electron. Commun. 64(11), 1015–1023 (2010)

    Article  Google Scholar 

  26. Salah, K., Haidari, F.: On the performance of a simple packet rate estimator. In: IEEE/ACS International Conference on Computer Systems and Applications, 2008. AICCSA 2008 (2008)

  27. Andersson, M., Bengtsson, A., Host, M., Nyberg, C.: Web server traffic in crisis conditions. In: Proceedings of the rd Swedish national computer networking workshop. Nov 2005

  28. Leland, W., Taqqu, M., Willinger, W., Wilson, D.: On the self-similar nature of ethernet traffic. IEEE/ACM Trans. Netw. 2(1), 1–15 (1994)

    Article  Google Scholar 

  29. Paxson, V., Floyd, S.: Wide-area traffic: the failure of poisson modeling. IEEE/ACM Trans. Netw. 3(3), 226–244 (1995)

    Article  Google Scholar 

  30. Willinger, W., Taqqu, M., Sherman, R., Wilson, D.: Self-similarity through high-variability: statistical analysis of ethernet LAN traffic at the source level. In: Proceedings of ACM SIGCOMM, Cambridge, Massachusetts, pp. 100–113, Aug 1995

  31. Salah, K., Elbadawi, K., Boutaba, R.: Performance modeling and analysis of network firewalls. IEEE Trans. Netw. Serv. Manag. 9(1), 12–21 (2012)

    Article  Google Scholar 

  32. Van Der Mei, R.D., Hariharan, R., Reeser, P.K.: Web server performance modeling. J. Telecommun. Syst. 16(3–4), 361–378 (2001)

    MATH  Google Scholar 

  33. Chandy, K.M., Sauer, C.H.: Approximate methods for analyzing queueing network models of computing systems. J. ACM Comput. Surv. 10(3), 281–317 (1978)

    Article  MATH  Google Scholar 

  34. Vaquero, L., Rodero-Merino, L., Buyya, R.: Dynamically scaling applications in the cloud. ACM SIGCOMM Comput. Commun. Rev. 41(1), 45–52 (2011)

    Article  Google Scholar 

  35. Gross, D., Harris, C.: Fundamentals of Queueing Theory. Wiley, New York (1998)

    MATH  Google Scholar 

  36. Salah, K.: To coalesce or not to coalesce. Int. J. Electron. Commun. 61(4), 215–225 (2007)

    Article  Google Scholar 

  37. Jain, R.: The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling. Wiley, New York (1991)

    MATH  Google Scholar 

  38. Amazon Inc.: Amazon Elastic Load Balancing (2014). http://aws.amazon.com/elasticloadbalancing/

  39. Kleinrock, L.: Power and deterministic rules of thump for probabilistic problems in computer communications. In: Proceeding of the IEEE ICC’79, Boston, Massachusetts, June 1979

  40. Law, A., Kelton, W.: Simulation Modeling and Analysis, 2nd edn. McGraw-Hill, New York (1991)

    MATH  Google Scholar 

  41. White, J.: An effective truncation heuristic for bias reduction in simulation output. Simul. J. 69(6), 323–334 (1997)

    Article  Google Scholar 

  42. Amazon Inc.: Amazon EC2 instances (2014). https://aws.amazon.com//ec2/instance-types/

  43. Apache JMeter: Apache.org. http://jmeter.apache.org/

  44. Custom Plugins for Apache JMeter: JMeter-Plugins.org. http://jmeter-plugins.org/

  45. HAProxy: 2014. http://haproxy.1wt.eu/

  46. AWS Documents: HAProxy layer (2014). http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-load.html

  47. Amazon Web Services: Amazon Virtual Private Cloud Route Tables. http://aws.amazon.com/documentation/vpc/

  48. Botta, A., Dainotti, A., Pescapè, A.: A tool for the generation of realistic network workload for emerging networking scenarios. Comput. Netw. 56(15), 3531–3547 (2012)

    Article  Google Scholar 

  49. Distributed Internet Traffic Generator (2014). http://traffic.comics.unina.it/software/ITG/

  50. Dainotti, A., Pescape, A., Ventre, G.: A packet-level characterization of network traffic. Proceedings of the 11th IEEE Workshop on Computer-Aided Modeling, Analysis and Design of Communication Links and Networks, pp. 38–45 (2006)

  51. Salah, K., Hamawi, M.: Comparative packet-forwarding measurement of three popular operating systems. Int. J. Netw. Comput. Appl. 32(4), 1039–1048 (2009)

    Article  Google Scholar 

  52. Dejun, J., Pierre, G., Chi, C.-H.: EC2 performance analysis for resource provisioning of service-oriented applications. In: Proceedings of the 3rd Workshop on Non-functional Properties and SLA Management in Service-Oriented Computing, Nov 2009

  53. Islam, S., Lee, K., Fekete, A., Liu, A.: How a consumer can measure elasticity for cloud platforms. In: Proceedings of the 3rd International Conference on Performance Engineering, Boston, MA, 22–25 April 2012

  54. Mello, J.P.: Netflix rates broadband provided by bandwidth. In: PCWorld Magazine. 27 Jan 2011

  55. Ward, N.: How to improve Netflix streaming (2014). http://www.helium.com/items/2067366-how-to-improve-netflix-streaming

  56. Amazon Inc.: Amazon AWS Education Grants (2014). http://aws.amazon.com/education

Download references

Acknowledgments

We would like to acknowledge the reviewers for their invaluable comments and feedback that tremendously enhanced the quality of our work. Moreover, the experimental work in this paper was supported by a generous research Grant provided by Amazon AWS in Education [56].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Khaled Salah.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Salah, K., Elbadawi, K. & Boutaba, R. An Analytical Model for Estimating Cloud Resources of Elastic Services. J Netw Syst Manage 24, 285–308 (2016). https://doi.org/10.1007/s10922-015-9352-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10922-015-9352-x

Keywords

Navigation