是分布式计算还是并行计算?

发布于 2024-11-02 03:01:06 字数 312 浏览 4 评论 0原文

我不太清楚分布式计算和并行计算之间的区别。这学期我有一门“分布式系统”课程,当然还有一个我应该做的项目。我对安全感兴趣,所以我选择了一个与安全相关的项目,我选择在密码破解系统上工作,请不要误会我的意思,这是出于教育目的!

该系统由多个处理器/计算机组成,其中每台计算机都会收到破解散列密码的请求,然后如果计算机正忙(可能正在处理其他密码),它将将该请求移交给其中一个对等方(某台计算机)通过同一网络连接),如果计算机空闲/空闲,它将处理该请求。

我想知道这种机制是否被视为分布式或并行计算。有些人可能认为这是一种协作计算。请引导我走上正确的道路。

提前致谢 :)

The differences between distributed and parallel computing are not that clear to me. I've a "distributed systems" course this semester, and of course there's a project which I should work on. I'm interested in security, so I picked a security-related project, I chose to work on a password-cracker system, please don't get me wrong, it's for educational purposes!

The system consists of several processors/computers in which that each computer will receive a request to crack a hashed password, then if the computer is busy (probably working on other password) it will hands over the request to one of its peers (some computer connected via the same network), and if the computer was free/idle it will handle the request.

I'm wondering if this mechanism is considered as a distributed or as a parallel computing,. And some might consider this as a collaborative computing. Please guide me to the right path.

Thanks in advance :)

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

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

发布评论

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

评论(1

累赘 2024-11-09 03:01:06

分布式计算——将计算分散到不同的网络节点。

并行计算——允许计算的多个部分同时发生。

我不认为您描述的架构是分布式的或并行的。

听起来好像您有一台机器将工作委派给其他机器。在这种情况下,没有两台机器同时执行同一任务。如果是这样,您实际上并没有将任务分布在多个节点上,因此您不应该将其称为分布式计算。

如果正在处理某个任务的机器有多个线程或进程同时工作,那么您可以将其视为并行计算。

Distributed computing -- spreading a computation across different network nodes.

Parallel computing -- allowing multiple parts of a computation to happen at the same time.

I don't think the architecture you describe is either distributed or parallel.

It sounds like you have one machine delegating work to others. In that case, no two machines are working on the same task at the same time. If so, you're not actually distributing the task across multiple nodes, so you shouldn't call it distributed computing.

If the machine that is working on a task has multiple threads or processes working at the same time, then you could consider it a parallel computation.

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