Since logging is not a direct part of the service or cache functionality, it can't really be considered part of the core design of the pattern.
由于日志记录并不是服务或缓存功能的直接子功能,因此并不能真正将其作为模式核心设计的一部分进行考虑。
Using a cache when it is not necessary, or trying to make up for a bad application design with caching, may give you some initial quick wins, but would not be the best solution in the long run.
在不必要的情况下使用缓存,或者试图用高速缓存来弥补糟糕的应用程序设计,可能开始能让您尝到一些甜头,但对于长期运行的应用程序来说并不是一个最佳解决方案。
We looked at techniques not only at the PHP level, by leveraging an opcode cache and optimizing the PHP configuration, but also looked at optimizing your database design for proper indexing.
我们不仅通过利用一个操作码缓存和优化PHP配置探究了php级别的技术,而且探究了如何优化您的数据库设计来实现合理的索引编制。
But before you do that, let's discuss some general principles for cache design.
不过在此之前,我们要先讨论缓存设计的一些一般原则。
Saving yourself the time and effort in trying to recreate the cache should be a design goal when preloading is being considered.
在考虑预加载时,节省试图重新创建缓存的时间和精力将是一个设计目标。
It's pointed out that a major design element for performance is the query cache.
需要指出的是关于性能的主要设计要素是查询缓存。
You can design a cache to have a maximum size.
您可以设计一个高速缓存来拥有一个最大的存储量。
Since it is thread safe by design, you might cache it in a public static final variable, or wrap it in a singleton pattern after creation for later access.
因为根据设计它是线程安全的,创建它之后可以把它缓存在一个公共静态最终变量中,或者包装在单实例模式中以供以后访问。
For example, design a large distributed cache.
例如,设计一个大型分布式缓存服务。
The design of a cache is often based on the situation in which it will be used.
高速缓存的设计常常以其将得到使用的环境为基础。
Figure 1 shows the high-level design of the XI50, using the REST APIs to utilize XC10 simple data grids as an SOA results side cache.
图1显示了XI50的高级设计,通过使用RESTAPI来利用XC10简单数据网格作为SOA结果端缓存。
The pattern should make it easy for you to make design decisions and to document the decisions made around the cache and policies.
模式应该能够帮助简化决策过程,并指导记录有关缓存和策略的决策。
Additionally, rerun the Design Advisor against the dynamic SQL cache populated by a full scale application test.
此外,针对由完整应用程序测试填充的动态sql缓存重新运行Design Advisor。
Therefore, when using the SQL statement cache as input, you should run the Design Advisor at different points throughout the day to evaluate a broader range of statements.
因此,当使用sql语句缓存作为输入时,应该在当天的不同时间点运行Design Advisor,以计算更大范围的sql语句。
As an alternative to an input file containing SQL statements, you can also have Design Advisor evaluate the contents of the database's SQL statement cache.
包含sql语句的输入文件有一个代替办法,即让Design Advisor计算数据库的sql语句缓存的内容。
Now that you understand the general principles for cache design, you can begin to consider this equation
现在您既然已经理解了缓存设计的一般原则,就可以开始考虑该方程式
Most of the time when an Out Of Memory exception occurrs it is caused by a design problem, where either too much memory is stored in cache or session scope.
发生内存溢出在大多数情况下是因设计问题引起的,太多的内存存储在缓存或Session中。
As described earlier, Domino Web Access caches many of the external references, such as UI design elements, in the browser's file system cache.
正如前面所描述的,在浏览器的文件系统缓存中,DominoWebAccess缓存了许多外部引用,比如UI设计元素。
If you do not have an overall cache policy design, it can not only give you bad performance, but can also invoke some functional defects.
如果您没有一个整体缓存策略设计,那么您的缓存策略不仅会导致低劣的性能,还会引发一些功能缺陷。
If keeping some data in memory is advantageous due to the design of a portlet, then a cache might be the right answer.
如果由于Portlet的设计,将某些数据保存在内存中具有一定优势,则可以使用缓存。
You will design the object as a singleton (this design pattern will limit this object to a single instance) and have the appropriate retrieve and store methods to manipulate the cache.
您将把对象设计为一个单子实例 (singleton)(这个设计模式将把这个对象限制在一个单个实例中)并使用合适的检索和存储方法对高速缓存进行操作。
Design of cache system for streaming media based on MOC strategy, discuss the key technology deeply.
基于MOC策略的流媒体代理缓存系统的设计,并对其实现的关键技术进行了深入探讨。
How to design a simple page cache?
如何设计一个简单的页面缓存吗?
This thesis studied the design and realization of optimizing the EB (electronic business) platform based on dynamic cache.
本文主要就基于动态缓存的电子商务平台的优化设计和实现进行了研究。
The article expatiates the topological architecture of a VOD system based on cooperative cache, designs the static schedule and dynamic migration method in detail, and formalizes the design.
该文阐述了基于协作缓存的视频点播系统的拓扑结构,对静态调度和动态迁移进行了详细设计,并给出了相应的形式化表示。
We design the new cache method based on the IWAM that will save the amount of transmission as well as writing efficiency.
基于新的缓存执行模式设计了大幅降低写入总量的释放操作相关缓存方法。
The digital video signals bit plane separation strategy is applied in the circuit design, and the sub-field writing-in and sub-area readout to the cache memory method is used.
该电路的设计,应用了数字视频数据信号位面分离的策略,采用了分场写入、分区读出缓存存储器的方法。
After a sufficient condition of the deadlock-free design has been given, the directory-based invalidate cache coherence protocol is introduced and its cache coherence is verified using belief.
在避免系统死锁的前提下,设计了基于目录的无效使能协议,并证明其保证了缓存一致性。
This paper introduces Cache technology, how to advance SOAP application system with cache technology, provides design of cache technology and a part of program code.
本文介绍了高速缓存技术以及如何利用高速缓存技术来提高SOAP应用系统的性能,并给出了在SOAP应用系统中高速缓存技术的设计和实现的部分代码。
This paper introduces Cache technology, how to advance SOAP application system with cache technology, provides design of cache technology and a part of program code.
本文介绍了高速缓存技术以及如何利用高速缓存技术来提高SOAP应用系统的性能,并给出了在SOAP应用系统中高速缓存技术的设计和实现的部分代码。
应用推荐