彩神大发排列五_神彩大发排列五官方 - 彩神大发排列五,神彩大发排列五官方是新浪网最重要的频道之一,24小时滚动报道国内、国际及社会新闻。每日编发新闻数以万计。

翻译 | 3种方式提升云可扩展性

  • 时间:
  • 浏览:3

在亚马逊云服务中部署被盛赞为是六个多很好的方法来实现高扩展性, 许多你只前要支付你所使用的云计算机性能即可。非要 ,何如从这项技术中获得最佳的扩展性呢?

If the load on the single master database continues to be a problem, you can vertically scale that node in place. Do this by spinning up a new larger EC2 instance on and EBS root volume. Then detach that root volume, stop your old instance, detach it's root volume and move it over to the new server. Once you attach that live root volume, your new larger EC2 instance will be your original server, scaled UP in place!

亚马逊的EC2产品提供弹性伸缩这名 云计算的独特功能。像往常一样为你的应用多线程 设置六个多负载均衡器和几个Web服务器。在模板AMI的基础上设计你将不断复用的Web服务器。许多设置弹性伸缩并根据你预测的流量设置阈值。当超过阈值时,AWS将启动你的Web服务器的新实例,并自动将其置于负载均衡器池中。一旦流量低于最低阈值,亚马逊将从负载均衡器池中为你移除一台服务器。

One additional way to get better EBS performance is by using Linux's software raid technology. Since EBS already has redundancy built in, you can simply use striping or RAID 0 across a number of EBS volumes - we recommend four.

MySQL offers a number of solutions here. You can configure MySQL in a master-master active passive cluster, also known as circular replication. In this configuration, MySQL will send all completed transactions to the other server in the cluster. Your passive server can also handle read traffic for your application. At the same time as you achieve high availability, you also get scalability by sending much of the SELECT traffic off to another server.

要小心地进行有有哪些配置,肯能现在每个EBS卷也有能自动操作,但要求六个也有完成。这也会影响EBS快照备份。

EBS is a great technology, as it brings the flexibility of a storage area network to each of your EC2 instances. It's not without it's challenges though, and at times you will experience great variability in disk I/O throughput. This can pose a challenge for the database tier especially. Keep in mind too, that Amazon's infrastructure virtualization layer will dial up or dial down the amount of disk I/O your instance receives based on how large the instance is.

请务必要监视此活动的结束了了英文了了,并为之运行许多负载和压力测试。你前要确保它能如你所期望地正常运转,许多非要 异常的清况 就我不要 我不要 说要地运转服务器。

云计算作为有并算不算资源, 它的可扩展性是指关于何如避免可变规模业务的能力. 包括 水平扩展垂直扩展.

Deploying in the Amazon cloud is touted as a great way to achieve high scalability while paying only for the computing power you use. How do you get the best scalability from the technology?

As the load grows further, roll in an additional read-only slave into your setup. You can then further scale out reads. As you do this, you'll continue to send all writes to the single active master database.

Be careful with such configurations as each of your EBS volumes won't operate by themselves now, but require all four to be complete. This will impact EBS snapshot backups, as well.

Be sure to monitor this activity to start with, and also run some load and stress tests on it. You want to ensure that it behaves as you expect, and no anomalous cases will cause you to spinup servers unnecessarily.

EBS是一项非常棒的技术,肯能它为每个EC2实例带来了存储区域网络的灵活性。这也有非要 挑战,许多有时在磁盘I / O (input/output) 的吞吐量上完会有很大的变化。这名 变化对数据库层而言是六个多挑战。请记住,亚马逊的基础架构虚拟化层将根据实例的大小增加或减少实例接收的磁盘I / O数量。

Auto-scaling is a unique feature of cloud computing and Amazon's EC2 offering. Setup a load balancer and a couple of webservers for your application as you normally would. Design your webserver based on a template AMI that you'll reuse over and over. Then setup auto-scaling and set thresholds based on the traffic you forecast. When a threshold is passed, AWS will spinup a new instance of your webserver, and roll it into the load balancer pool automatically. Once traffic falls below the scale back threshold, Amazon will take a server out of the pool for you.

肯能,你希望采用基于MySQL社区版( community)服务器的亚马逊RDS避免方案,但前要许多设置保持锁定。在这名 配置中,你将非要使用诸如Percona的高速服务器例如的另有并算不算MySQL发行版。这名 配置提供的是multi-az(多可用区)配置。请记住,任何你启动的MySQL服务器都将六个多区域和可用性空间作为其配置的一帕累托图,要是 我就在亚马逊网络服务中自由使用有有哪些功能来提高可用性。

As an alternative, you may wish to employ Amazon's RDS solution, which is based on the MySQL community server, but with certain locked in settings. In this configuration you will not be able to use an alternate MySQL distribution such as Percona's high speed server. What this configuration does offer is multi-az configuration. Keep in mind though that any MySQL server you spinup will have a region and availability zone as part of it's configuration, so you are always free to use those features of Amazon's network to increase availability.

从前获得更好EBS性能的方法是使用Linux软件的RAID技术。肯能EBS内置冗余,许多我就简单地在多个EBS卷上使用Striping或RAID 0 -- 亲们推荐使用六个多。

肯能单个主数据库上的负载仍所处大疑问,非要 还可以垂直扩展该节点。通过在EBS的根卷(root volume)上实例化六个多新的更大的EC2实例来完成此操作。许多分离该root volume,停止你的旧实例,分离旧实例的root volume,并将其移动到新的服务器。当你将那个活动的root volume附加在去,新的更大的EC2实例将遇见你从前的服务器,也就遇见你的服务器就地扩大了!

有哪些意思呢?

水平扩展(horizontal scaling)

也称为横向扩展, 指要能连接多个软硬件的价值形式,从前还可以将多个服务器从逻辑上看成六个多实体.

垂直扩展(vertical scaling)

当六个多现有IT资源被具有更大或更小容量的资源所代替,则为垂直扩展. 也要是对当前服务器的CPU性能等进行原地的扩大和缩小. 肯能在进行垂直扩展的但是服务器前要停机(就如同亲们平时使用虚拟机时, 要重新分配它的内存或CPU的但是前要先关机, 许多在云环境中例如扩展我不要 说常见.

随着负载的进一步增长,将额外的只读的从盘(read-only slave) 转入你的设置, 你就还可以进一步扩大读取操作的规模。在执行此操作时,我就继续将所有写入的内容发送到单个所处活动清况 的主数据库。

MySQL在这里提供了一系列的避免方案。我就在Master-Master(主对主)主动被动集群(也称为循环克隆qq好友好友)中配置MySQL。在这名 配置中,MySQL将把所有已完成的事务发送到集群中的许多服务器。你的被动服务器也还可以避免你的应用多线程 的读取流量。在实现高可用性的同時 ,你也还可以通过将大帕累托图的SELECT操作流量发送到从前服务器来获得可扩展性。