By building simple services composed of a single host, rather then multiple dependent hosts, one can create replicated service instances that can survive host failures.
构建由单台主机构成的简单服务,而非多依赖的主机构成的服务,可以创建复制服务实例来抵御主机故障。
A server mode connection is created by passing a string that identifies an end point (protocol dependent identifier, for example, a port number) on the local host to the Connector.open method.
通过将标识本地主机上端点(取决于协议的标识符,例如,端口号)的字符串传递给Connector . open方法来创建服务器方式连接。
Remember that these tips are not in any particular order of importance and what applies to your site might be dependent on your customers, the content of your site and a host of other factors.
请记住,以上诀窍没有主次之分。至于那一条最适合你的网站,还要看你的客户、网站内容以及其它各种因素。
应用推荐