该模块不包含连接池化,但可与antipool . py完美协作。
That module does not include connection pooling, but should work perfectly well with antipool.py.
运用对象池化技术可以显著地提升性能,尤其是当对象的初始化过程代价较大或者频率较高时。
Object pooling can offer a significant performance boost; it is most effective in situations where the cost of initializing a class instance is high, the rate of instantiation of a class is high.
Rails没有将ActionController的实例池化;相反,它为每个请求创建新的实例。
Rails doesn't pool the instance of the ActionController; instead, it creates a new instance for each request.
但如果您打算使用内置到psycopg2或其他工具的池化功能,那么使用连接池化的这些常见原则仍适用。
However, if you were to use the pooling capabilities built into psycopg2 or other tools, the same general principles for use of connection pooling remain the same.
当房地产市场开始变化的时候,因为我们有一个多样化的代理池,所以我们能够在房地产市场坚持的时间比其他同行长得多。
When the real estate market began to change, it was because we had a diverse agent pool that we were able to stay in the real estate market much longer than others in the same profession.
因此他的结论是不应该将内存释放回一个全局的内存池,而是将内存保持为针对特定目而初始化的状态。
His conclusion was that instead of freeing the memory back to a global pool, he would have the memory remain initialized for its intended purpose.
我们已经知道表空间和缓冲池是什么,以及如何创建它们,图1显示一个关于如何在数据库中可视化地组织表空间和缓冲池的例子。
Now that you know what a table space and buffer pool are and how to create them, Figure 1 shows an example of how they are visually organized within a database.
类似地,在初始化期间可以创建一个解析器池(每个线程创建一个)。
Similarly, you can create a pool of parsers-one per thread-at initialization time.
资源管理器实现了对象池,它能够获得实现持久化、安全性状态管理和事务的托管资源模式。
The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.
由于开发人员只会间接地被连接池属性的标准化所影响,所以有利之处并不明显。
Because developers will be only indirectly affected by the standardization of connection pool properties, the benefit might not be immediately obvious.
在使用对象池时,分配、初始化、回收和终结只发生一次,从而减少了内存使用和所需的处理时间。
When using an object pool, the allocation, initialization, collection, and finalization only occur once, reducing both the memory usage and the processing time that is required.
根据实例的大小,捕获它最多可能需要30分钟时间,然后,将实例从一个池复制到另一个池并对其实例化可能需要同样的时间。
Depending on the size of the instance it can take up to 30 minutes to capture it, and then a similar amount of time to copy it from one pool to another and re-instantiate it.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
它的想法是服务器系统不再需要当作一个个箱子来管理,取而代之的是虚拟化的资源池。
It's the idea that server systems will no longer need to be managed as a set of boxes, but instead as a pool of virtualized resources.
开发人员最终可以完成工作,即使没有集中化的访问配置,大量其他产品也提供了连接池,等等。
Developers will eventually get their work done even without centralized access configuration, plenty of other products provide connection pooling, and so on.
更加私有化的服务会使用企业内部数据中心的一组公用或私有服务器池。
A more private cloud service USES groups of public or private server pools from an internal corporate data center.
这是一款轻量级工具,能够集中化对数据库连接池、财务和安全性的管理。
It's a lightweight tool that centralizes management of database connection pooling, accounting, and security.
人民币想要国际化,首先就要把货币市场做大,使人民币的资金流动池尽可能地深。
China's yuan-internationalization efforts would benefit from making the available pool of yuan liquidity as deep as possible.
假如我们的粪从粪化池溢了出来或者严酷的山谷里的太阳使窗台上的油漆晒出了皱纹,我的父亲也总会解决问题。
If our septic tank backed up or the brutal valley sun curled the windowsill paint, my father always solved the problem.
它让富人变得很富:全球化市场的奖池要比本地市场大得多。
It makes the wealthy very wealthy: in a global market, you will hit a bigger jackpot than in a local one.
在测试中实例化数据池对象。
Zpool createtank命令会判断要构建的文件系统,对一些驱动器进行格式化,并将此存储池标记为tank。
Zpool create tank command tells the file system to build and format some drives, and label this storage pool as tank.
您了解了如何使用Geronimo控制台来初始化数据库并配置数据库连接池。
You learned how the Geronimo console is used to initialize the database and configure a database connection pool.
在使用自定义组件范围的线程池(图3)时,将使用WorkManager创建的守护程序线程初始化池中的每个工作线程。
When using custom component-scoped thread pools (Figure 3), each worker thread in the pool is initialized with a daemon thread created by the WorkManager.
RationalPerformance Tester同时还提供了一种自动化的“数据池”特性,它可以改变每一个模拟用户使用的测试数据设置。
Rational Performance Tester also provides an automated "data pooling" capability that varies the test data set used by each simulated user.
资产池设计是我国商业银行不良资产证券化过程中重要环节之一。
The design of asset pool is the important part in the process of such a securitization.
屋顶的中部是通风口,通过连接雨水收集池的水喷淋装置自动化控制,实现冷凝和净化。
In the middle of the roof is an air layer which is cooled and cleaned automatically by water spraying system linked to the rainwater collection tank.
扩展了破产隔离的概念,提出实现资产池与SPV的破产隔离、SPV与其设立者的破产隔离、服务商与服务证券化的周转资金的破产隔离的方案。
The definition of bankrupt-remote is extended and the methods to realize the bankrupt-remote between capital pools and SPV, SPV and organizers, severs and capital for service are provided.
扩展了破产隔离的概念,提出实现资产池与SPV的破产隔离、SPV与其设立者的破产隔离、服务商与服务证券化的周转资金的破产隔离的方案。
The definition of bankrupt-remote is extended and the methods to realize the bankrupt-remote between capital pools and SPV, SPV and organizers, severs and capital for service are provided.
应用推荐