可以在CONNECT标记返回的外部内容或数据上进行外部数据高速缓存。
External data caching can be performed on external content or data returned by CONNECT tags.
查找程序方法内的逻辑和ejbLoad() 方法执行实际的大型机调用,但是从更进一步的意义来说,企业bean仅仅充当了数据高速缓存。
The logic within the finder methods and the ejbLoad() methods performed the actual mainframe calls, but from that point onward, the enterprise bean acted simply as a data cache.
这一部分显示了在涉及到高速缓存时,您不应该扩展接口来检索仅仅为填充高速缓存所需的数据。
This section showed that in relation to caching, you should not extend the interfaces to retrieve data that is not needed just to fill the cache.
在应用程序的设计过程中,您通常会发现在不同的层内有很多高速缓存数据片段的机会。
During the design of an application, you can often identify many opportunities for caching fragments of data within the different layers.
磁盘子系统将管理从高速缓存到磁盘的数据复制。
Copying the data from the cache to the disk will be managed by the disk subsystem.
更多的数据被传递到高速缓存和处理器中;这就像相对于拨号连接,宽带连接的进步一样。
More data is passed to the cache and processor; this is somewhat analogous to the improvement that broadband connections offer over dial-up connections.
高速缓存必须是非易失的以确保在发生灾难性故障(例如停电)时保护日志数据。
The cache must be nonvolatile to ensure that log data is protected in the event of a catastrophic failure, such as loss of power.
在不同的数据库和操作系统中,动态语句高速缓存的激活是不同的。
The activation of dynamic statement caching will vary with database and operating system.
动态高速缓存还可以缓存其它的一些数据类型,例如Web服务和模式,那些主题将在以后的文章中讨论。
Dynamic caching can also cache additional data types, such as Web services and patterns; those topics will be left for a later article.
所高速缓存的数据的灵敏度:如果数据是个密码,您可能可以在获得已加速的性能的同时使用单向散列来安全地存储密码。
Sensitivity of data cached: if it is a password, you might be able to use a one-way hash to store the password securely while gaining accelerated performance.
例如,您可以从数据库提取信息,并使用实体bean在事务处理期间高速缓存数据。
For example, you can pull information from a database and use an entity bean to cache the data for the duration of a transaction.
高级高速缓存(提供按照会话、用户等选择缓存内容的选项),提供了与基本高速缓存相同的数据选项。
Advanced caching (which provides options to selectively cache content by session, users, and so on), provides the same output as the basic caching option.
特定的或通用的高速缓存(存储对象或特定的数据类型)。
Specific or generic cache (storing Objects or specific data types).
如果数据或指令没有出现在高速缓存中,或者如果高速缓存线路无效的时候,CPU通过从主存储器中读数据来更新它的高速缓存。
If the data or instruction is not present in the cache, or if the cache line is invalidated, the CPU updates its cache by reading the data from the main memory.
通过把该数据结构的两个元素分离到两条不同的高速缓存线路,一条高速缓存线路的修改就不会导致再次从存储器读入另外一条高速缓存线路。
By separating the two elements of the structure into two different cache lines, modification of one cache line does not cause another cache line to be read in again from the memory.
有时您需要检查一个用户连接到公司LDAP目录或数据库的认证凭证,对此进行高速缓存的操作就是这样的事务。
Sometimes you need to check a user's authentication credentials with a connection to a corporate LDAP directory or database, and the operation to cache is this transaction.
如何选择处理高速缓存通常是以您正在高速缓存的数据类型,以及那些数据如何使用为基础的。
How you choose to handle caching is often based on the type of data that you are caching and how that data is used.
高速缓存连接通过避免与数据库连接的时间(除了第一次)减少了设置时间。
Caching the connection reduces the setup time by avoiding the time to connect to the database (except for the first time).
这是一个键值,如同数据库里的键结构,唯一地标识每一个高速缓存条目。
This is a key, similar to a database key structure that identifies a particular cache entry as unique.
获得当前时间的网络调用是高速缓存的一个完美项,因为您的10秒约束意味着数据在至多10秒钟之内不会更改。
The network call to get the current time is a perfect item to cache because your 10-second constraint means the data will not be changing for, at most, 10 seconds.
如果您熟悉高速缓存,从本质上来说会话与它是相同的概念—存储数据以减少响应时间和服务器工作负载。
If you're familiar with caching, it is essentially the same concept — storing data to reduce both response time and server workload.
这个计算考虑了缓冲池高速缓存的所有页(索引和数据)。
This calculation takes into account all of the pages (index and data) that are cached by the buffer pool.
这包括多异步消息传递、高速缓存、路由和对大数据流的处理。
This includes multiple asynchronous messaging, caching, routing, and the streaming of huge data.
对于移动开发人员来说,则更为振奋人心,因为它真正开启了数据的本地高速缓存。
For mobile developers, it's even more exciting as it really opens up the local caching of data.
将来父线程对num_proc1的存取会导致从该高速缓存线路的数据读入。
Future access to num_proc1 by the parent thread results in the reading in of the data from the cache line.
高速缓存和拼写请求返回String 数据类型,搜索请求返回复杂类型。
While the cache and spelling requests return a String datatype, the search request returns a complex type.
在IntelIA32 P 4中,数据被存储在每条线路32字节的高速缓存线路中。
In the Intel IA32 P4, data is stored in cache lines of 32 bytes each.
在读取方面使用中间内核缓冲区,可以允许内核缓冲区在应用程序不需要内核缓冲区内的全部数据时,充当 “预读高速缓存(readahead cache)” 的角色。
Using the intermediate buffer on the read side allows the kernel buffer to act as a "readahead cache" when the application hasn't asked for as much data as the kernel buffer holds.
开发人员为特定类型的情况和数据调整当前的商业Web高速缓存解决方案。
Developers tune current commercial Web caching solutions for specific types of situations and data.
启用数据库中的动态语句高速缓存(假定它被支持)。
Enable dynamic statement caching within your database (assuming it is supported).
应用推荐