云计算和网格计算有什么区别?

发布于 2024-07-25 17:01:48 字数 1460 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

我的痛♀有谁懂 2024-08-01 17:01:48

网格计算是多台计算机协调起来共同解决问题的地方。 通常用于涉及大量数字运算的问题,这些问题可以轻松并行化。

在云计算中,应用程序不直接访问其所需的资源,而是通过服务之类的方式访问它们。 因此,它不是与特定的硬盘驱动器进行存储,以及特定的 CPU 进行计算等,而是与提供这些资源的某些服务进行对话。 然后,该服务将对资源的任何请求映射到其物理资源,以便为应用程序提供服务。 通常,服务可以访问大量物理资源,并且可以根据需要动态分配它们。

通过这种方式,如果应用程序仅需要少量资源(例如计算),则服务仅分配少量资源,例如在单个物理 CPU 上(可以与使用该服务的其他应用程序共享)。 如果应用程序需要大量的某些资源,则服务会分配大量资源,例如 CPU 网格。 应用程序相对对此毫不在意,所有复杂的处理和协调都是由服务而不是应用程序执行的。 通过这种方式,应用程序可以很好地扩展。

例如,“在云上”编写的网站可能会在流量较低时与许多其他网站共享服务器,但如果流量很大,则可能会移动到自己的专用服务器或服务器网格。的流量。 这一切都由云服务处理,因此应用程序不必进行大幅修改来应对。

通常会使用网格。 网格不一定是云或云的一部分。

维基百科文章:网格计算云计算

Grid computing is where more than one computer coordinates to solve a problem together. Often used for problems involving a lot of number crunching, which can be easily parallelisable.

Cloud computing is where an application doesn't access resources it requires directly, rather it accesses them through something like a service. So instead of talking to a specific hard drive for storage, and a specific CPU for computation, etc. it talks to some service that provides these resources. The service then maps any requests for resources to its physical resources, in order to provide for the application. Usually the service has access to a large amount of physical resources, and can dynamically allocate them as they are needed.

In this way, if an application requires only a small amount of some resource, say computation, then the service only allocates a small amount, say on a single physical CPU (that may be shared with some other application using the service). If the application requires a large amount of some resource, then the service allocates that large amount, say a grid of CPUs. The application is relatively oblivious to this, and all the complex handling and coordination is performed by the service, not the application. In this way the application can scale well.

For example a web site written "on the cloud" may share a server with many other web sites while it has a low amount of traffic, but may be moved to its own dedicated server, or grid of servers, if it ever has massive amounts of traffic. This is all handled by the cloud service, so the application shouldn't have to be modified drastically to cope.

A cloud would usually use a grid. A grid is not necessarily a cloud or part of a cloud.

Wikipedia articles: Grid computing, Cloud computing.

最美不过初阳 2024-08-01 17:01:48

您确实应该阅读维基百科以深入了解。
简而言之,
云计算意味着您可以在远程平台上远程开发/运行软件。 这可以使用远程虚拟基础设施(amazon EC2)、远程平台(google app engine)或远程应用程序(force.com 或 gmail.com)。

网格计算意味着使用许多物理硬件来进行计算(广义上),就好像它是单个硬件一样。 这意味着您可以同时在多台不同的计算机上运行应用程序。

不是非常准确,但足以让您入门。

You should really read Wikipedia for in-depth understanding.
In short,
Cloud computing means you develop/run your software remotely on remote platform. This can be either using remote virtual infrastructure (amazon EC2), remote platform (google app engine), or remote application (force.com or gmail.com).

Grid computing means using many physical hardwares to do computations (in the broad sense) as if it was a single hardware. This means that you can run your application on several distinct machines at the same time.

not very accurate but enough to get you started.

仙气飘飘 2024-08-01 17:01:48

我想说,基本的区别是:

网格用作计算/存储平台。

当云计算提供服务时,我们就开始谈论它。 我几乎可以说云计算是更高级别的网格。 现在我知道这些不是定义,但也许它会让它更清楚。

就应用程序领域而言,网格要求用户(主要是开发人员)根据网格提供的低级功能实际创建服务。 云将提供您可以在应用程序中使用的完整功能块。

示例(您想要创建球从特定高度落下的物理模拟):
网格:研究如何在计算机上计算物理,创建适当的代码,针对某些硬件对其进行优化,考虑并行化,设置输入将应用程序发送到网格并等待答案

:设置球的直径、预设类型的材料、球掉落的高度等并询问结果

我想说,如果您为网格创建操作系统,那么您实际上会创建云操作系统。

I would say that the basic difference is this:

Grids are used as computing/storage platform.

We start talking about cloud computing when it offers services. I would almost say that cloud computing is higher-level grid. Now I know these are not definitions, but maybe it will make it more clear.

As far as application domains go, grids require users (developers mostly) to actually create services from low-level functions that grid offers. Cloud will offer complete blocks of functionality that you can use in your application.

Example (you want to create physical simulation of ball dropping from certain height):
Grid: Study how to compute physics on a computer, create appropriate code, optimize it for certain hardware, think about paralellization, set inputs send application to grid and wait for answer

Cloud: Set diameter of a ball, material from pre-set types, height from which the ball is dropping, etc and ask for results

I would say that if you created OS for grid, you would actually create cloud OS.

硪扪都還晓 2024-08-01 17:01:48

一种硬件和软件基础设施,它将来自多个来源的高端计算机、网络、数据库和科学仪器进行集群和集成,形成虚拟超级计算机,用户可以在虚拟超级计算机上在虚拟组织内协作工作。

网格是 大部分免费供学术研究等使用。

是一个易于使用和访问的大型池
虚拟化资源(如硬件、开发
平台和/或服务)。 这些资源可以是
动态重新配置以适应可变负载
(规模),还可以实现最佳的资源利用。
该资源池通常通过付费浏览来利用
提供担保的模式
按定制服务级别的基础设施提供商
协议。

云不是免费的。 这是一项服务,由不同的服务提供商提供,他们根据您完成的工作收费。

A Grid is a hardware and software infrastructure that clusters and integrates high-end computers, networks, databases, and scientific instruments from multiple sources to form a virtual supercomputer on which users can work collaboratively within virtual organisations

Grid is Mostly free used by academic research etc.

Clouds are a large pool of easily usable and accessible
virtualized resources (such as hardware, development
platforms and/or services). These resources can be
dynamically reconfigured to adjust to a variable load
(scale), allowing also for an optimum resource utilization.
This pool of resources is typically exploited by a pay peruse
model in which guarantees are offered by the
Infrastructure Provider by customized service level
agreements.

Cloud is not free. It is a service, provided by different service providers and they charge according to your work done.

霓裳挽歌倾城醉 2024-08-01 17:01:48

这个问题已经有很多好的答案,但另一种看待它的方法是云(如亚马逊的 AWS)适合交互式用例,而网格(如高性能计算)适合批量用例。

云是交互式的,您可以通过自助服务按需获取资源。 您在云中的虚拟机(例如 Apache Web 服务器)上运行的代码可以交互地为客户端提供服务。

网格是批处理的,因为您在从某些 HPC 权威机构获取凭据后将作业提交到作业队列。 您在网格上运行的代码将在该队列中等待,直到有足够的资源来执行它。

这两种计算方式都有很好的用例。

There are a lot of good answers to this question already but another way to take a look at it is the cloud (ala Amazon's AWS) is good for interactive use cases and the grid (ala High Performance Computing) is good for batch use cases.

Cloud is interactive in that you can get resources on demand via self service. The code you run on VMs in the cloud, such as the Apache web server, can server clients interactively.

Grid is batch in that you submit jobs to a job queue after obtaining the credentials from some HPC authority to do so. The code you run on the grid waits in that queue until there are sufficient resources to execute it.

There are good use cases for both styles of computing.

∞梦里开花 2024-08-01 17:01:48

云计算是面向服务的,而网格计算是面向应用程序的。 网格计算用于使用中间件构建虚拟超级计算机来实现可以在多个资源之间共享的公共任务。 这个任务很可能是计算或数据存储。

云计算是通过多台服务器使用虚拟化通过互联网提供服务。在云计算中,您可以以三种类型提供服务:Iaas、Paas、Saas。
当您短时间内没有任何资源通过互联网进行商业服务时,这将为您提供解决方案。

Cloud Computing is For Service Oriented where as Grid Computing is for Application Oriented. Grid computing is used to build Virtual supercomputer using a middler ware to achieve a common task that can be shared among several resources. most probably this task will be kind of computing or data storage.

Cloud computing is providing services over the internet through several servers uses Virtualization.In cloud computing either you can provide service in three types Iaas , Paas, Saas .
This will give you solution when you don't have any resources for a short time Business service over the Internet.

回忆追雨的时光 2024-08-01 17:01:48

云计算是一大群互连的计算机。数据对用户是隐藏的。
网格计算是多台计算机互连来解决问题。网格计算是在云计算中工作的。

Cloud Computing is a large group of interconnected computers.The data are hidden form the user.
Grid computing is more than one computers interconnected to resolve the problem.grid computing is worked in cloud computing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文