`
forchenyun
  • 浏览: 310103 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Scale-up and Scale-out

阅读更多

转载自:http://www.cnblogs.com/spork/archive/2009/12/29/1634766.html

来自原小站,曾经迷糊过的东西,表上来,希望对正在迷糊或即将迷糊的人有帮助。

  谈到系统的可伸缩性,Scale-up(纵向扩展)和Scale-out(横向扩展)是两个常见的术语,对于初学者来说,很容易搞迷糊这两个概念,这里总结了一些把概念解释的比较清楚的内容。

  首先来段Wikipedia的,讲的很透彻了。

      Scale vertically (scale up)  

  To scale vertically (or scale up) means to add resources to a single node in a system, typically involving the addition of CPUs or memory to a single computer. Such vertical scaling of existing systems also enables them to leverage Virtualization technology more effectively, as it provides more resources for the hosted set of Operating system and Application modules to share.

  Taking advantage of such resources can also be called “scaling up”, such as expanding the number of Apache daemon processes currently running. 

  Scale horizontally (scale out)

  To scale horizontally (or scale out) means to add more nodes to a system, such as adding a new computer to a distributed software application. An example might be scaling out from one web server system to three.

  As computer prices drop and performance continues to increase, low cost “commodity” systems can be used for high performance computing applications such as seismic analysis and biotechnology workloads that could in the past only be handled by supercomputers. Hundreds of small computers may be configured in a cluster to obtain aggregate computing power which often exceeds that of single traditional RISC processor based scientific computers. This model has further been fueled by the availability of high performance interconnects such as Myrinet and InfiniBand technologies. It has also led to demand for features such as remote maintenance and batch processing management previously not available for “commodity” systems.

  The scale-out model has created an increased demand for shared data storage with very high I/O performance, especially where processing of large amounts of data is required, such as in seismic analysis. This has fueled the development of new storage technologies such as object storage devices.

------------------------------华丽的分割线---------------------------------------

  英语不好?没关系,给你准备了一份中文的,来自这里,他用养鱼来做了个形象的比喻。

  当你只有六七条鱼的时候, <script type="text/javascript"></script><script type="text/javascript"></script><script type="text/javascript"></script><script type="text/javascript"></script> 一个小型鱼缸就够了;可是过一段时间新生了三十多条小鱼,这个小缸显然不够大了。

  如果用Scale-up解决方案,那么你就需要去买一个大缸,把所有沙啊、水草啊、布景啊、加热棒、温度计都从小缸里拿出来,重新布置到大缸。这个工程可不简单哦,不是十分钟八分钟能搞得定的,尤其水草,纠在一起很难分开(不过这 <script type="text/javascript"></script><script type="text/javascript"></script><script type="text/javascript"></script><script type="text/javascript"></script> 跟迁移数据的工程复杂度比起来实在是毛毛雨啦,不值一提)。

  那么现在换个思路,用Scale-out方案,就相当于是你在这个小缸旁边接了一个同样的小缸,两个缸联通。鱼可以自动分散到两个缸,你也就省掉了上面提到的那一系列挪沙、水草、布景等的折腾了。

分享到:
评论

相关推荐

    BWFS Scale-out NAS介绍

    统一的SAN存储系统既支持横向扩展(Scale-out)提高存储IO性能,又支持纵向扩展(Scale-up)提高存储容量;二者通过BWFS提供存储虚拟化和统一的命名空间。因此,SONG可以提供高性能、可扩展的文件共享服务,并支持多...

    large scale machine learning with spark

    value applications at scale with ease and a personalized design, Book Description, Scaling out and deploying algorithms, interactions, and clustering are crucial steps in the process of optimizing any...

    PerformanceCharacterizationofInMemoryDataAnalyticsonaScaleupServer.pdf

    在SPARK SUMMIT 2019上,Ahsan Javed Awan KTH Royal Institute of Technology分享了题为《Performance Characterization of In-Memory Data Analytics on a Scale-up Server》,就Scale-out框架,Spark 应用的稳定...

    Microservice-Architecture-Aligning-Principles-Practices-and-Culture.pdf

    for classic brick-and-mortar operations. While these companies’ products vary, we learned that the principles of speed and safety “at scale” were a common thread. They ix each worked to provide the...

    akka in action

    Perfect for high-volume applications that need to scale rapidly, Akka is an efficient foundation for event-driven systems that want to scale elastically up and out on demand, both on multi-core ...

    Large Scale Machine Learning with Spark

    Spark is capable of handling large-scale batch and streaming data to figure out when to cache data in memory and processing them up to 100 times faster than Hadoop-based MapReduce.This means ...

    美团点评TiDB深度实践之旅

    在美团,基于MySQL构建的传统关系型数据库服务已经难于支撑公司业务的爆发式增长,促使我们去探索更合理的数据存储方案和实践新的...立项之初,我们进行了大量解决方案的对比,深入了解了业界多种scale-out、scale-up

    Large-Scale Software Architecture.pdf

    The out-of-touch architect 59 Analysis paralysis 60 Design for reuse 60 Use cases 60 Schedule 60 3.6 Computer-Aided Software Engineering (CASE) Tools 61 3.7 Recommended Reading 62 vi Contents 4 ...

    user model linux.doc。该文件是The UML Book的电子版,是word版本。

     Setting up User Mode Linux servers, step-by-step: small-scale and large-scale examples  The future of virtualization and User Mode Linux Whether you're a netadmin, sysadmin, teacher, student, ...

    大型网站应用中MySQL的架构演变史

    没有什么东西是一成不变的,包含我们的理想和生活!MySQL作为一个免费的开源的关系型...out:横向扩展,通过加节点(机器)来实现伸缩,提升服务能力对于互联网的高并发应用来说,无疑Scaleout才是出路,通过纵向的买

    Small Loans, Big Dreams How Nobel Prize Winner Muhammad Yunus and Microfinance are Changing the World .pdf

    reducing poverty - by refining and extending the tools (whether financial, educational or health care related) that it makes available to the poor, wherever they are on their journey out of poverty....

    Learning Elasticsearch 【含代码】

    Finally, you will see how you can set up and scale your Elasticsearch clusters in production environments. Packed with easy-to-follow examples, this book will ensure you will have a firm ...

    新一代数据库TiDB在美团的实践

    在立项之初,我们进行了大量解决方案的对比,深入了解了业界的scale-out(横向扩展)、scale-up(纵向扩展)等解决方案。但考虑到技术架构的前瞻性、发展潜力、社区活跃度以及服务本身与MySQL的兼容性,我们最终敲定...

    关于NoSQL数据库你要了解的10个关键特征

     多年来,数据库负载需要增加时,数据管理员只能依赖于纵向扩展(scale-up)–买更多更强的服务器,而不是依赖横向扩展(scale-out)–将数据库分布在多台主机上。无论如何,随着交易频率、可用性要求的提高,和数据库...

    Deep Learning with Python: A Hands-on Introduction

    Deep Learning with Python allows you to ramp up to such practical know-how in a short period of time and focus more on the domain, models, and algorithms. This book briefly covers the mathematical ...

    Mastering OpenStack - Second Edition

    This book will help you understand the flexibility of OpenStack by showcasing integration of several out-of-the-box solutions in order to build a large-scale cloud environment.. It will also cover ...

    Nvidia 2020 安培架构GPU特性介绍

    From scaling-up AI training and scientific computing, to scaling-out inference applications, to enabling real-time conversational AI, NVIDIA GPUs provide the necessary horsepower to accelerate ...

    MS.Azure.Planning.Deploying.and.Managing.Your.Data.Center.in.the.Clou

    Part II then takes you through setting up your Azure account, and gets you up-and-running on some of the core Azure services, including creating web sites and virtual machines, and choosing between ...

Global site tag (gtag.js) - Google Analytics