云计算(Cloud computing)和网格计算(Grid computing)这两个词最终使许多人感到困惑,因为它们在理论上是相似的。云计算(Cloud computing )和网格计算(Grid)涉及海量的计算机网络基础设施。
在前端,与其他大型计算解决方案相比,云计算和网格计算是较新的概念。这两个概念都是为了分布式计算而开发的,即在大面积上计算一个元素,字面上是在被其他一些方式分开的计算机上。
嗯,人们喜欢分布式计算(Distributed computing)而不是单处理器计算的原因有很多,这里有:
- 选择分布式计算的原因是为用户提供并行或并发计算资源。队列的概念已经被超越。请求实际上不必在队列中等待一个接一个地得到服务。
- 分布式计算机利用处理器空闲的每一刻。
- 分布式计算系统由许多系统组成,因此如果一个系统崩溃,另一个不受影响。
- 分布式模型的扩展性非常好。需要更多计算资源?只需(Just)通过在其他桌面或服务器上安装客户端来插入它们。
云计算与网格计算
要了解云计算和网格计算之间的基本和复杂差异,我们确实需要解释这两种技术。以下是它们的定义方式。
云计算
云(Cloud)基本上是抽象的面向对象编程概念的扩展。这里的云意味着互联网(Internet)。对于最终用户来说,它只是获得某些输入的输出,导致输出的完整过程是完全不可见的。计算(Computing)基于放置在集群中多个服务器上的虚拟化资源。
在“云计算”系列中,还有所谓的SPI模型 SaaS、PaaS和IaaS。这些是云上可用的服务,并使用其他人的基础设施完成所有繁重的工作。云(Cloud)计算消除了购买、配置和管理构建和部署应用程序所需的硬件和软件的成本和复杂性;这些应用程序通过Internet(Internet)(云)作为服务交付。
网格计算
网格(Grid)系统是为资源的协作共享而设计的。它也可以被认为是分布式和大规模的集群计算。网格(Grid)基本上是使用不同计算单元的处理能力来处理单个任务的网格。任务被分解成多个子任务,网格上的每台机器都被分配了一个任务。当子任务完成时,它们会被发送回处理所有任务的主机。它们被组合或组合在一起作为输出。
结论
- 仍然需要服务器(Server)计算机来分发数据片段并从网格上的参与客户端收集结果。
- 云提供了比网格计算更多的服务。事实上,互联网(Internet)上几乎所有的服务都可以从云端获得,例如虚拟主机、多操作系统、数据库支持等等。
- 与传统的集群计算系统相比,网格往往更松散耦合、异构和地理分散。
现在阅读(Now read):公共云与私有云的区别。(Public Cloud vs Private Cloud difference.)
如果您有任何问题,请告诉我。(Let me know if you have any questions.)
更新:为了清楚起见,根据收到的评论,帖子的某些行/部分已经过适当编辑。
Difference between Cloud computing and Grid computing
Cloud computing and Grid computing are the two words that end up confusing many people as they are similar in theory. Cloud computing and Grid computing involves a massive computer network infrastructure.
On the front end, cloud computing and grid computing are newer concepts compared to other large computing solutions. Both concepts have been developed for the purpose of distributed computing, that is, computing an element over a large area, literally on computers that are separated by some of the other means.
Well there are many reasons people prefer Distributed computing over single processor computing, and here they are:
- The reason to opt for distributed computing is to offer parallel or concurrent computational resources to the users. The concept of the queue has been overtaken. Requests don’t actually have to wait in a queue to get serviced one after the other.
- Distributed computers make use of every spare moment your processor is idle.
- Distributed computing systems are made up of many systems, so if one crashes other is unaffected.
- Distributed model scales very well. Need more compute resources? Just plug them in by installing a client on additional desktops or servers.
Cloud computing vs Grid computing
To understand the basic and complex differences between cloud and grid computing, we really need to explain both the technologies. Here’s how they are defined.
Cloud computing
Cloud is basically an extension to the object-oriented programming concept of abstraction. Here cloud means the Internet. For the end-users it is just getting outputs for certain inputs, the complete process that lead to the outputs is purely invisible. Computing is based on virtualized resources that are placed over multiple servers in clusters.
Also within the “cloud computing” family, are what’s known as an SPI model SaaS, PaaS, and IaaS. These are the services available on the cloud and do all the heavy lifting using someone else’s infrastructure. Cloud computing eliminates the costs and complexity of buying, configuring, and managing the hardware and software needed to build and deploy applications; these applications are delivered as a service over the Internet (the cloud).
Grid computing
Grid systems are designed for collaborative sharing of resources. It can also be thought of as distributed and large-scale cluster computing. A Grid is basically the one that uses the processing capabilities of different computing units for processing a single task. The task is broken into multiple sub-tasks, each machine on a grid is assigned a task. As when the sub-tasks are completed they are sent back to the primary machine which takes care of all the tasks. They are combined or clubbed together as an output.
Conclusion
- Server computers are still needed to distribute the pieces of data and collect the results from participating clients on the grid.
- Cloud offers more services than grid computing. In fact, almost all the services on the Internet can be obtained from the cloud, eg web hosting, multiple Operating systems, DB support, and much more.
- Grids tend to be more loosely coupled, heterogeneous, and geographically dispersed compared to conventional cluster computing systems.
Now read: Public Cloud vs Private Cloud difference.
Let me know if you have any questions.
UPDATE: In the interest of clarity, based on the comments received, certain lines/sections of the post have been suitably edited.