“服务”和“服务”有什么区别?和“服务器”?
我可以想象“服务器”可以是一台机器/主机,但也可以是一个程序,如 ftp 服务器、smtp 服务器等。 另一方面,“服务”主要指应用程序/程序。
那么为什么例如Sql Server不能被称为Sql Service呢?它具有相同的语义。或者反过来:MS Azure 服务:为什么它不称为 Azure Server? :)
I can imagine that the 'server' can be a machine/host but can be also a program like ftp server, smtp server, etc..
The 'service' on the other hand refers mainly to applications/programms..
Why can then for example the Sql Server cannot be called as Sql Service? It has the same semanthics. Or the other way round: MS Azure service: why it isn't called Azure Server? :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
服务是服务器提供的功能。
The services are features offered by the servers.
我会说:
server
预计会给出响应service
则不会另外,
service
可能包含多个server
- 它很可能是环境、硬件、SLA 等等。I would say:
server
is expected to give a responseservice
is notAdditionally, a
service
may include more than aserver
- it may well be an environment, hardware, SLA and more.服务器是一种(可能是虚拟化的)设备,可用于提供服务。
服务是您可以使用(通常是远程)的东西,它由一台或多台服务器提供。
另一个区别是,这些实际上是不同抽象级别的概念。服务器是具体的东西。服务是抽象的。然而人们大多使用服务,并不真正关心使用什么服务器来实现它们。您是否关心使用哪些服务器来提供 Google 的网络搜索服务?不,你不知道。您关心亚马逊的云服务是用什么服务器来提供的吗?不,你不知道。
A server is a (possibly virtualized) piece of equipment that can be used to provide a service.
A service is something that you can use (usually remotely) that is provided by one or more servers.
The other difference is that these are really concepts at different levels of abstraction. Servers are concrete things. Services are abstract. Yet people mostly use services, and don't really care about what servers are used to implement them. Do you care about what servers are used to provide Google's web search service? No, you don't. Do you care about what servers are used to provide Amazon's cloud service? No, you don't.
服务器是一个软件程序或运行该程序的计算机,它为同一台计算机或网络上其他计算机上运行的客户端软件提供特定类型的服务。
根据 Microsoft - Windows Azure:操作系统作为在线服务。
SQL Server 是一个服务器,您编写的任何存储过程或函数都是服务。 (查询是一个动态服务,它的生命周期只是调用,它被发送到数据库,编译,服务器执行编译的代码并返回结果)
A server is a a software program, or the computer on which that program runs, that provides a specific kind of service to client software running on the same computer or other computers on a network.
Per Microsoft - Windows Azure: operating system as an online service.
SQL Server is a Server, Any Stored Procedures or functions you write are Services. (A Query is a dynamic Service that has a life of just the call, it is sent to the Database, compiled, The Server executes the compiled code and returns the results)
我想说没有什么区别。它们或多或少可以互换使用。
或者,如果您愿意的话:您可以提出一个定义,然后有人会提出一个反例。
I would say that there's no difference. They're used more-or-less interchangeably.
Or, if you prefer: you can come up with a definition, and someone will come up with a counter-example.