旧概念新名称(即 REST 和云计算)

发布于 2024-08-07 11:17:17 字数 640 浏览 1 评论 0原文

似乎SaaS和云计算是旧概念,但有新名称,我很好奇我是否错了。

对于云计算你可以看看:云计算和分布式计算之间的区别?

基本上,当我们一直托管云计算时,只是现在一些公司投入了很多资源来确保比我当地的 ISP 更好的正常运行时间。但是,这里似乎并没有什么真正新鲜的东西。

对于REST来说,似乎这就是我们15年来一直用cgis做的事情。

这是一个关于 REST 的问题:我对 REST 有什么不理解的地方?

看起来 REST 是一个古老的概念,我很好奇它与 Web 早期以来所做的有什么不同,并且在很大程度上,与使用 telnet 的早期(http 是在)。

我对这些的简化是否错误?我尝试看看新内容与我所知道的有何相似之处,以便我可以了解该主题中还需要学习哪些内容,但对于云计算和 REST 来说,似乎需要学习的东西很少。

It seems that SaaS and Cloud computing are old concepts with new names, and I am curious if I am wrong.

For cloud computing you can look at: Difference between cloud computing and distributed computing?

Basically, it seems that when we have been hosting that that is cloud computing, it is just that now some companies have put in much great resources to ensure better uptime than my local ISP. But, it seems that there is nothing really new here.

For REST, it seems that it is what we have been doing with cgis for 15 years.

Here is a question on REST: What am I not understanding about REST?

It appears that REST is an old concept, and I am curious how it is different than has been done since the early days of the web, and, to a large extent, the early days of using telnet (which http is on top of).

Am I mistaken in my simplification of these? I try to see how what is new is like what I know so I can see what more has to be learned in that topic, but for cloud computing and REST it seems that very little needs to be learned.

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

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

发布评论

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

评论(5

美煞众生 2024-08-14 11:17:17

你既对又错。你是对的,新的想法通常与旧的想法相似,而且云计算确实很大程度上基于分布式计算。

云计算的新功能是

  1. 虚拟化
  2. 自助服务。

通过虚拟化,您可以在单个硬件上运行多个操作系统。虽然这本身也不是什么新鲜事,但在分布式系统中从未将其视为架构的相关部分。使用虚拟化可以实现自助服务:用户可以创建自己的节点集群,而无需硬件管理员采取任何操作。这可以显着加速部署并显着降低成本。

对于 ReST,您缺少的是客户端 API。确实,在服务器端,可以通过CGI来实现ReST服务。这里的新之处在于,检索 URL 的不是最终用户,而是程序。

说 HTTP 位于 telnet 之上的说法忽略了现实;这就像说自从引入铜线用于通信以来我们没有取得任何进展。严格来说,HTTP 并不是位于 telnet 之上,而是位于 TCP 之上(现在 telnet 也位于 TCP 之上)。

You are both right and wrong. You are right in the sense that new ideas are normally similar to old ideas, and indeed cloud computing is based significantly on distributed computing.

What is new in cloud computing is

  1. virtualization
  2. self-service

With virtualization, you can run multiple operating systems on a single hardware. While that, in itself, isn't new, either, it was never considered in distributed systems as a relevant piece of the architecture. Using virtualization allows self-service: users can create their own clusters of nodes without the administrator of the hardware taking any action. This allows a significant acceleration of deployment, and a significant reduction of cost.

For ReST, what you are missing is the client API. It is true that on the server side, a ReST service can be implemented with CGI. What is new here is that it is not an end user which retrieves the URL, but a program.

Saying that HTTP is on top of telnet ignores realities; this is like saying that we made no progress since the introduction of copper wires for communication. Strictly speaking, HTTP is not in top of telnet, but on top of TCP (which telnet is also on top of, these days).

浴红衣 2024-08-14 11:17:17

考虑到 Roy 在 2000 年的论文中创造了 REST 一词,您绝对可以说 REST 并没有什么新鲜之处。此外,REST 架构风格是从成功的现有实践中综合而来的,因此 REST 实现早于定义。话虽如此,设计 REST 接口并不简单。自从 Netscape 首次滥用 cookie 来让服务器维持会话状态以来,人们就一直在网络上逆流而上。

REST 最近的复兴主要是因为人们对基于 SOAP 的 Web 服务不再抱有幻想。 SOAP 试图隐藏 HTTP,而不是拥抱它,我认为人们开始意识到 HTTP 作为分布式应用程序协议的有效性,它不仅仅可以将 HTML 传递到 Web 浏览器。

RESTful Web 应用程序不使用会话状态,因此有人可能会说,仅凭这一点,它就与目前存在的大多数 Web 应用程序不同。

至于云计算,我一生中第一次同意 Larry Ellison 的观点。

Considering Roy's dissertation coined the term REST back in 2000, you can definitely argue that there is nothing new about REST. Additionally, the REST architectural style was synthesized from successful existing practices, so REST implementations pre-date the definition. Having said that, there is nothing simple about designing REST interfaces. Ever since Netscape first abused cookies to allow servers to maintain session state people have been swimming upstream against the web.

REST's recent resurrection has come mainly from people becoming disillusioned with SOAP based Web Services. SOAP tried to hide HTTP instead of embracing it and I think people are starting to realize how effective HTTP can be as an distributed application protocol that can do more than just deliver HTML to web browsers.

RESTful web applications don't use session state, so one could argue that by that virtue alone it is different than most web applications in existence at the moment.

As for Cloud Computing, I find myself agreeing with Larry Ellison for once in my life.

烟凡古楼 2024-08-14 11:17:17

我同意你所发布的内容。您可以考虑创建这个社区 wiki,因为它可能会根据意见获得许多答案。云计算似乎已经成为一个流行词,这很大程度上是由于大量硬件成本的下降。然后还有 REST,它实际上只是一个已经存在很长时间的事物的正式名称和定义。有些人喜欢用流行语和首字母缩写词来概括想法。有时给一个想法起个名字还是很有用的。

I'm in agreement on what you've posted. You might consider making this community wiki since it's likely to garner many answers based on opinion. Cloud computing seems to have taken off as a buzzword, and this is largely due to a decrease in cost for mass quantities of hardware. And then there is REST which is really just a formal name and definition for something that has been in place for a long time. Some people like to encapsulate ideas with buzzwords and acronyms. Sometimes it's useful to put a name to an idea though.

鹿港巷口少年归 2024-08-14 11:17:17

不仅如此,旧概念新名称的概念也是旧的。现在很难保持原创了:P

Not only this, the concept of things being old concepts with new names is old. It's hard to be original these days :P

大姐,你呐 2024-08-14 11:17:17

你对 REST 的看法是对的——它大多是旧概念,有很多额外的学究气,但没有太多附加的实质内容。

云计算与分布式计算有微小但根本的区别。在分布式计算中,您拥有专用于特定功能的服务器,通常还有某种目录服务来定位正确的服务器。在云计算中,任何服务器都能够执行任何任务,并且通常服务器排队等待从中心点分发的工作。

You are right about REST -- its mostly old concepts with a lot of added pedantry and not much added substance.

Cloud computing has a small but fundamental difference from distributed computing. In distributed computing you had servers dedicated to particular functions, and usually some sort of directory service to locate the correct server. In cloud computing any server is capable of any task and usually the servers queue up for work which is distributed from a central point.

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