词条 | Autoscaling | |||||||||||||||||||||||||||||
释义 |
AdvantagesAutoscaling offers the following advantages:
Autoscaling differs from having a fixed daily, weekly, or yearly cycle of server use in that it is responsive to actual usage patterns, and thus reduces the potential downside of having too few or too many servers for the traffic load. For instance, if traffic is usually lower at midnight, then a static scaling solution might schedule some servers to sleep at night, but this might result in downtime on a night where people happen to use the Internet more (for instance, due to a viral news event). Autoscaling, on the other hand, can handle unexpected traffic spikes better.[3][8] TerminologyIn the list below, we use the terminology used by Amazon Web Services (AWS).[4] However, alternative names are noted and terminology that is specific to the names of Amazon services is not used for the names.
PracticeAmazon Web Services (AWS)Amazon Web Services launched the Amazon Elastic Compute Cloud (EC2) service in August 2006, that allowed developers to programmatically create and terminate instances (machines).[5][6] At the time of initial launch, AWS did not offer autoscaling, but the ability to programmatically create and terminate instances gave developers the flexibility to write their own code for autoscaling. Third-party autoscaling software for AWS began appearing around April 2008. These included tools by Scalr[7] and RightScale. RightScale was used by Animoto, which was able to handle Facebook traffic by adopting autoscaling.[8][9] On May 18, 2009, Amazon launched its own autoscaling feature along with Elastic Load Balancing, as part of Amazon Elastic Compute Cloud.[10] Autoscaling is now an integral component of Amazon's EC2 offering.[2][11][12] Autoscaling on Amazon Web Services is done through a web browser or the command line tool.[13]. On May 2016 Autoscaling was also offered in AWS ECS Service.[14] On-demand video provider Netflix documented their use of autoscaling with Amazon Web Services to meet their highly variable consumer needs. They found that aggressive scaling up and delayed and cautious scaling down served their goals of uptime and responsiveness best.[15] In an article for TechCrunch, Zev Laderman, the co-founder and CEO of Newvem, a service that helps optimize AWS cloud infrastructure, recommended that startups use autoscaling in order to keep their Amazon Web Services costs low.[16] Various best practice guides for AWS use suggest using its autoscaling feature even in cases where the load is not variable. That is because autoscaling offers two other advantages: automatic replacement of any instances that become unhealthy for any reason (such as hardware failure, network failure, or application error), and automatic replacement of spot instances that get interrupted for price or capacity reasons, making it more feasible to use spot instances for production purposes.[17][18][19] Netflix's internal best practices require every instance to be in an autoscaling group, and its conformity monkey terminates any instance not in an autoscaling group in order to enforce this best practice.[20] Microsoft's Windows AzureOn June 27, 2013, Microsoft announced that it was adding autoscaling support to its Windows Azure cloud computing platform.[21][22][23] Documentation for the feature is available on the Microsoft Developer Network.[24][25] Oracle CloudOracle Cloud Platform allows server instances to automatically scale a cluster in or out by defining an auto-scaling rule.[26] These rules are based on CPU and/or memory utilization and determine when to add or remove nodes. Google Cloud PlatformOn November 17, 2014, the Google Compute Engine announced a public beta of its autoscaling feature for use in Google Cloud Platform applications.[27][28][29][30] As of March 2015, the autoscaling tool is still in Beta.[31] In a blog post in August 2014, a Facebook engineer disclosed that the company had started using autoscaling to bring down its energy costs. The blog post reported a 27% decline in energy use for low traffic hours (around midnight) and a 10-15% decline in energy use over the typical 24-hour cycle.[32][42] Kubernetes Horizontal Pod AutoscalerKubernetes Horizontal Pod Autoscaler automatically scales the number of pods in a [https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/ replication controller], [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ deployment] or [https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicaset] based on observed CPU utilization (or, with beta support, on some other, [https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics application-provided metrics])[33]Alternative autoscaling decision approachesAutoscaling by default uses reactive decision approach for dealing with traffic scaling: scaling only happens in response to real-time changes in metrics. In some cases, particularly when the changes occur very quickly, this reactive approach to scaling is insufficient. Two other kinds of autoscaling decision approaches are described below. Scheduled autoscaling approachThis is an approach to autoscaling where changes are made to the minimum size, maximum size, or desired capacity of the autoscaling group at specific times of day. Scheduled scaling is useful, for instance, if there is a known traffic load increase or decrease at specific times of the day, but the change is too sudden for reactive approach based autoscaling to respond fast enough. AWS autoscaling groups support scheduled scaling.[34] Predictive autoscalingThis approach to autoscaling uses predictive analytics. The idea is to combine recent usage trends with historical usage data as well as other kinds of data to predict usage in the future, and autoscale based on these predictions. For parts of their infrastructure and specific workloads, Netflix found that Scryer, their predictive analytics engine, gave better results than Amazon's reactive autoscaling approach. In particular, it was better for:[35][36]
On November 20, 2018, AWS announced that predictive scaling would be available as part of its autoscaling offering.[37] See also
References1. ^{{cite web|url = http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-28.pdf|title = Above the Clouds: A Berkeley View of Cloud Computing|date = February 10, 2009|publisher = Berkeley EECS|accessdate = March 21, 2015}} 2. ^1 {{cite web|url=http://aws.amazon.com/autoscaling/|title = Auto Scaling|publisher = Amazon Web Services|accessdate = March 21, 2015}} 3. ^{{cite web|url = http://techblog.netflix.com/2015/09/creating-your-own-ec2-spot-market.html|title = Creating Your Own EC2 Spot Market|last = Park|first = Andrew|last2 = Denlinger|first2 = Darrell|last3 = Watson|first3 = Coburn|date = September 18, 2015|accessdate = December 16, 2016|publisher = Netflix}} 4. ^1 {{cite web|url = http://docs.aws.amazon.com/autoscaling/latest/userguide/WhatIsAutoScaling.html|title = What Is Auto Scaling?|publisher = Amazon Web Services|accessdate = December 16, 2016}} 5. ^{{cite web|url = https://techcrunch.com/2006/08/24/exclusive-amazon-readies-utility-computing-service/|title = Almost Exclusive: Amazon Readies Utility Computing Service|last = Cubrilovic|first = Nik|date = August 24, 2006|accessdate = December 4, 2016|publisher = TechCrunch}} 6. ^{{cite web |url=http://aws.typepad.com/aws/2006/08/amazon_ec2_beta.html |title=Amazon EC2 Beta |first=Jeff |last=Barr |date=August 25, 2006 |work=Amazon Web Services Blog |accessdate= May 31, 2013}} 7. ^{{cite web|url=https://techcrunch.com/2008/04/03/scalr-the-auto-scaling-open-source-amazon-ec2-effort/|title = Scalr: The Auto-Scaling Open-Source Amazon EC2 Effort|date = April 3, 2008|accessdate = March 21, 2015|publisher = TechCrunch|last = Work|first = Henry}} 8. ^{{cite web|url = http://www.zdnet.com/article/rightscale-cloud-management-extends-to-mysql/#!|title = RightScale cloud management extends to MySQL. RightScale, which specializes in cloud computing management for the Amazon Web Services platform today announced support for MySQL Enterprise. The service, which goes live July 1, provides automated deployment, management and scaling, coupled with MySQL Enterprise premium-level support for large database applications.|last = Howlett|first = Dennis|date = June 25, 2008|accessdate = December 16, 2016|publisher = ZDNet}} 9. ^{{cite web|url = http://www.rightscale.com/blog/enterprise-cloud-strategies/animotos-facebook-scale|title = Animoto's Facebook Scale-Up|last = von Eicken|first = Thorsten|date = April 23, 2008|accessdate = December 16, 2016}} 10. ^{{cite web |url=https://aws.amazon.com/blogs/aws/new-aws-load-balancing-automatic-scaling-and-cloud-monitoring-services/ |title=New Features for Amazon EC2: Elastic Load Balancing, Auto Scaling, and Amazon CloudWatch |publisher = Amazon Web Services |date=May 18, 2009|last = Barr|first = Jeff|accessdate= June 15, 2016}} 11. ^{{cite web|url=http://searchcloudapplications.techtarget.com/definition/autoscaling|title = What is autoscaling?|publisher = TechTarget|accessdate = March 21, 2015}} 12. ^{{cite web|url=https://aws.amazon.com/blogs/aws/auto-scaling-update-lifecycle-standby-detach/|title = Auto Scaling Update – Lifecycle Management, Standby State, and DetachInstances|last = Barr|first = Jeff|date = July 30, 2014|accessdate = March 21, 2015|publisher = Amazon Web Services (official blog)}} 13. ^{{cite web|url=https://aws.amazon.com/developertools/2535|title = Auto Scaling Command Line Tool|accessdate = March 21, 2015|publisher = Amazon Web Services (community-edited page)}} 14. ^ https://aws.amazon.com/blogs/compute/automatic-scaling-with-amazon-ecs/ 15. ^1 {{cite web|url=http://techblog.netflix.com/2012/01/auto-scaling-in-amazon-cloud.html|title = Auto Scaling in the Amazon Cloud|date = January 18, 2012|accessdate = March 21, 2012|publisher = Netflix Tech Blog|last = Orzell|first = Greg|last2 = Becker|first2 = Justin}} 16. ^1 {{cite web|url=https://techcrunch.com/2012/04/22/amazon-web-services-mistakes/|title = The 10 Biggest Mistakes Made With Amazon Web Services|last = Laderman|first = Zev|date = April 22, 2012|accessdate = March 21, 2015|publisher = TechCrunch}} 17. ^1 {{cite web|url=https://cloudonaut.io/5-aws-mistakes-you-should-avoid/|title = 5 AWS mistakes you should avoid|last = Wittig|first = Michael|publisher = cloudonaut|date = December 26, 2015|accessdate = December 16, 2016}} 18. ^{{cite web|url = https://wblinks.com/notes/aws-tips-i-wish-id-known-before-i-started/|title = AWS Tips I Wish I'd Known Before I Started. A collection of random tips for Amazon Web Services (AWS) that I wish I'd been told a few years ago, based on what I've learned by building and deploying various applications on AWS.|date = February 3, 2014|accessdate = December 16, 2016|last = Adams|first = Rich}} 19. ^{{cite web|url = https://www.wikihow.com/Use-Amazon-EC2-Spot-Instances|title = How to Use Amazon EC2 Spot Instances|publisher = wikiHow|accessdate = December 16, 2016}} 20. ^{{cite web|url = http://techblog.netflix.com/2011/07/netflix-simian-army.html|title = The Netflix Simian Army|date = July 19, 2011|accessdate = December 5, 2016|publisher = Netflix}} 21. ^{{cite web|url=https://techcrunch.com/2013/06/27/microsoft-adds-auto-scaling-to-windows-azure/|title = Microsoft Adds Auto Scaling To Windows Azure|last = Lardinois|first = Frederic|date = June 27, 2013|accessdate = March 21, 2015|publisher = TechCrunch}} 22. ^{{cite web|url=http://www.zdnet.com/article/microsoft-to-add-autoscaling-alerts-to-windows-azure/|title = Microsoft to add autoscaling, alerts to Windows Azure|date = June 27, 2013|accessdate = March 21, 2015|publisher = ZDNet}} 23. ^{{cite web|url=http://www.networkworld.com/article/2168844/cloud-computing/google--microsoft-play-catch-up-to-amazon--add-load-balancing--auto-scaling-to-their.html|title = Google, Microsoft play catch up to Amazon, add load balancing, auto-scaling to their clouds|last = Butler|first = Brandon|date = August 7, 2013|accessdate = March 21, 2015|publisher = Network World}} 24. ^1 {{cite web|url=https://msdn.microsoft.com/en-us/library/dn589774.aspx|title = Autoscaling Guidance|publisher = Microsoft Developer Network}} 25. ^{{cite web|url=https://msdn.microsoft.com/en-us/library/hh680892%28v=pandp.50%29.aspx|title = The Autoscaling Application Block|accessdate = March 21, 2015|publisher = Microsoft Developer Network}} 26. ^{{Cite web|url=https://docs.oracle.com/en/cloud/paas/psmon/automatic-scaling.html|title=Administering PaaS Services|website=Oracle Help Center|language=en-us|access-date=2018-05-16}} 27. ^{{cite web|url=http://googlecloudplatform.blogspot.com/2014/11/autoscaling-welcome-to-google-compute.html|title = Autoscaling, welcome to Google Compute Engine|date = November 17, 2014|accessdate = March 21, 2015|publisher = Google Cloud Platform blog|last = Balejko|first = Filip}} 28. ^{{cite web|url=https://venturebeat.com/2014/11/17/google-compute-engine-gets-autoscaler-to-adjust-app-resources-based-on-varying-traffic-and-workloads/ | title = Google Compute Engine gets Autoscaler to adjust app resources based on varying traffic and workloads|last = Protalinski|first = Emil|date = November 17, 2014|accessdate = March 21, 2015|publisher = VentureBeat}} 29. ^{{cite web|url=https://techcrunch.com/2014/11/17/google-brings-autoscaling-to-compute-engine/|title = Google Brings Autoscaling To Compute Engine|date = November 17, 2014|accessdate = March 21, 2015|publisher = TechCrunch|last = Lardinois|first = Frederic}} 30. ^{{cite web|url=http://www.datacenterknowledge.com/archives/2014/11/17/google-launches-autoscaling-beta-on-compute-engine/|title = Google Launches Autoscaling Beta on Compute Engine|last = Verge|first = Jason|date = November 17, 2014|accessdate = March 21, 2015|publisher = Data Center Knowledge}} 31. ^1 {{cite web|url=https://cloud.google.com/compute/docs/autoscaler/|title = Autoscaler|accessdate = March 21, 2015|publisher = Google Cloud Platform}} 32. ^1 2 {{cite web|url=https://code.facebook.com/posts/816473015039157/making-facebook-s-software-infrastructure-more-energy-efficient-with-autoscale/|title = Making Facebook’s software infrastructure more energy efficient with Autoscale|last = Wu|first = Qiang|publisher = Facebook Code Blog|date = August 8, 2014|accessdate = March 21, 2015}} 33. ^{{cite web|url=https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/|title = Horizontal Pod Autoscaler Walkthrough|language=en-us|accessdate = June 21, 2018}} 34. ^{{cite web|url = http://docs.aws.amazon.com/autoscaling/latest/userguide/schedule_time.html|title = Scheduled Scaling|publisher = Amazon Web Services|accessdate = December 16, 2016}} 35. ^{{cite web|last1=Jacobson|first1=Daniel|last2=Yuan|first2=Danny|last3=Joshi|first3=Neeraj|title=Scryer: Netflix’s Predictive Auto Scaling Engine|url=http://techblog.netflix.com/2013/11/scryer-netflixs-predictive-auto-scaling.html|website=The Netflix Tech Blog|publisher=Netflix|accessdate=28 May 2015}} 36. ^1 {{cite web|url = https://www.morpheusdata.com/blog/2016-11-02-autoscaling-how-the-cloud-provides-a-tremendous-boost/|title = Autoscaling: How the Cloud Provides a Tremendous Boost|date = November 2, 2016|accessdate = December 16, 2016|publisher = Morpheus}} 37. ^{{cite web|url = https://aws.amazon.com/blogs/aws/new-predictive-scaling-for-ec2-powered-by-machine-learning/|title = New – Predictive Scaling for EC2, Powered by Machine Learning|last = Barr|first = Jeff|date = November 20, 2018|accessdate = November 23, 2018|publisher = Amazon Web Services}} 3 : Network management|Servers (computing)|Cloud computing |
|||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。