可扩展性对您意味着什么? [英] What does scalability mean to you?

查看:23
本文介绍了可扩展性对您意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布了一个关于 linq 的可扩展性如何的类似问题.在最近的一些对话中,关于可扩展性的实际含义有很多不同的观点,所以这也激发了我提出这个问题.可扩展性对您意味着什么?

I posted a similar question on how scalable linq is. There were so many different views on what scalability actually meant in some recent conversations, so it has sparked me to ask this question as well. What does scalability mean to you?

推荐答案

我从两个角度看待可扩展性:

I look at scalability from two perspectives:

扩大规模

如果我为正在运行的设备添加更多 RAM,我可以获得多少额外的性能和容量?如果我的一个应用程序可以处理 300 个以上的连接,并且当我向服务器添加 2 GB 的 RAM 时,它的运行速度提高了 15%,而另一个应用程序只能处理 100 个以上的连接,并且运行速度提高了 5%,那么应用程序 A 显然更具可扩展性.

If I add more RAM to the box that something is running on, how much additional performance and capacity do I gain? If one application I have can handle 300 more connections and runs 15% faster when I add 2 GB of RAM to my server and another application can only handle 100 more connections and runs 5% faster, application A is clearly more scalable.

横向扩展

现在,如果我在我的设置中添加更多的盒子,我可以获得多少额外的性能和容量?我可以设置 Web 前端来处理更多客户端流量吗?如果是,是否有线性增长?如果我添加 3 个框,是否可以让访问我网站的用户增加 3 倍?我可以添加更多数据库来分配数据负载吗?我可以扩展多线程吗?如果我可以轻松地在我的网络中添加一台机器来为我的应用程序增加容量,那么它就是可扩展的.

Now, if I add more boxes to my set up, how much additional performance and capacity do I gain? Can I set up web front ends to handle more client traffic? If so, is there a linear increase? If I add 3 boxes, can I get 3x more users accessing my site? Can I add more databases to distribute the data load? Can I scale up multithreading? If I can easily add a machine to my network to add capacity to my application, then it is scalable.

顺便说一下,这是 n 层的主要驱动器之一.

This, by the way, is one of the primary drives of n-tier.

这篇关于可扩展性对您意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆