上面的流程整体上提供了一种可靠消息传递机制:一个客户端发送一条日志请求,服务器在完成消息存储之后发送一条确认信息。
The flow described above principally provides a mechanism for reliable messaging: a client sends a logging request and the server sends an acknowledgement once it has persisted the message.
这些规则使您可以很好地调整使用该机制记录的内容 ——在一台高容量而且工作繁重的服务器上使用 syslog 机制可以转换为可改变大小的日志文件。
These rules enable you to finely tune what can and cannot be logged with the mechanism — which, on a high-volume, hard-working server can translate to log files of a manageable size.
其实并不是这样的;实际上,通过在cron、回复邮件(mailback)服务器,或者类似的作业控制机制(请参见清单3)中进行调用,这项工作完全可以实现自动化。
It's not so, though; this can actually be entirely automated, to the point of being invoked, by cron, a mailback server, or a similar job-control mechanism (see Listing 3).
它还允许您选择使用servlet容器的授权处理机制或者您自己的回调来在服务器上验证用户名和密码组合。
It also lets you choose between the servlet container's authorization handling and your own callback for verifying username and password combinations on the server.
Web服务的运行机制很大程度建立在service requester和 serviceprovider之间的清晰划分上。在以前的技术中,它们分别称为客户机和服务器。
The dynamic nature of web services is partially based on a clear-cut division between service requesters and service providers -- which in older terminology were called clients and servers.
对于并非线程安全的COM服务器,COM提供一种序列化并发调用的机制,这样无论何时服务器上都只有一个逻辑线程在执行。
For COM servers that are not thread safe, COM provides a mechanism to serialize concurrent calls so that only one logical thread executes on the server at any time.
在P2P分布式文件系统中,一般不存在完全意义上的中心服务器,其信任机制的建立依靠的是非中心化的信任管理。
In P2P distributed file system, there are not any central severs with complete founctions. That means the construction of trust system depends on non-central or distributed methods.
如果你在谈论一个客户端-服务器应用程序,在服务器上生成一个临时令牌和实施一些有效机制。
If you're talking about a client-server application, generate a temporary token on the server and implement some expiry mechanism.
如果你在谈论一个客户端-服务器应用程序,在服务器上生成一个临时令牌和实施一些有效机制。
If you're talking about a client-server application, generate a temporary token on the server and implement some expiry mechanism.
应用推荐