Each connection thread also performs authentication and query execution.
每个连接线程还执行身份验证和查询执行。
A global thread (per server process) is responsible for creating and managing each user connection thread.
一个全局线程(每个服务器进程一个)负责创建和管理用户连接线程。
If interaction was possible after the initial data was served, and the connection was kept open, then the thread could not be released and the server would not be able to serve many users.
如果提供初始数据之后仍可能存在交互,那么将连接保持为打开状态,因此线程就不能释放出来,服务器也就不能为很多用户服务。
By default, the pool maintained thread runs every 180 seconds (3 minutes), although this value can be changed by setting the connection pool Reap time property.
缺省情况下,池维护的线程每180秒(3分钟)运行一次,但是通过设置连接池获得时间属性可以更改此值。
The article also discusses how to initially configure the memory, thread pool, and JDBC connection pool on the application server.
本文还讨论了如何在应用服务器上配置内存、线程池和JDBC连接池的初始值。
For more information, see Use of a global connection factory and thread level connection caching below.
有关更多信息,请参见下面的使用全局连接工厂和线程级别连接缓存。
Thus it is relatively straightforward to implement the classic one thread per connection model.
因此实现典型的每个连接一个线程的模型便非常简单。
This article explained the behavior of the maximum sessions property and its relationship to the message listener service thread pool, connection pool, and session pool.
本文解释了最大会话属性的行为及其与消息侦听器服务线程池、连接池和会话池的关系。
A single visitor doesn't just mean a few incidental page requests; it also means an open connection (with a waiting thread) for as long as the visitor stays.
单个的访问不只是意味着一些偶然的页面请求;它还意味着在访问期间有一个持续打开的连接(带有等待线程)。
In general, a large number of applications will realize some improvement from tuning in three core areas: the JVM, thread pools, and connection pools.
通常而言,许多应用程序都可以通过调优以下三个核心区域实现一定程度的性能改进:J VM、线程池和连接池。
If further connections are made, and that thread is busy, then the Broker's connection manager will wait until the thread finishes its work and becomes available.
如果进一步建立连接,并且线程处于繁忙状态,那么代理的连接管理器将一直等待下去,直到线程完成工作并变为可用。
You can disable the pool maintenance thread for an individual free connection pool by setting its Reap time property to 0.
通过将获得时间属性设置为0,可以禁用个别空闲连接池的池维护线程。
Finally, in the case of connection pools associated with JCA resource adapters, it is in fact possible to use a different thread pool for different resource adapters.
最后,对于与JCA资源适配器相关联的连接池,事实上可以对不同的资源适配器使用不同的线程池。
And if each thread (ergo network connection) is busy, then the context switching to each thread can be significant.
另外,如果每个线程都忙于处理网络连接,线程之间的上下文切换会很频繁。
It then waits until a new connection is made, another thread wakes it up, or another thread interrupts the original blocked thread.
接着,它开始等待,直到建立了一个新的连接,或者另一个线程将它唤醒,或者另一个线程将原来的阻塞线程中断。
The maintenance thread looks at each connection in the pool, checks how long it has been in the pool, and how much time has elapsed since it was created and last used.
维护线程在池中查看每个连接,检查连接在池中存放的时间以及连接自创建和最后一次使用以来已经过多长时间。
Figure 1 shows the relationship between the connection pool, session pool, thread pool and the maximum sessions property.
图1显示了连接池、会话池、线程池和最大会话属性之间的关系。
The connection has existed for three minutes, which is less than Aged timeout, so the pool maintenance thread leaves it alone and goes back to sleep.
该连接已存在三分钟,这小于过时超时时间,这样池维护线程将保留该连接,并回到睡眠状态。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
Within the child thread, open a new connection to DB2 and fetch a row from the lock table for the requested resource ID.
在子线程中,打开新的DB 2连接,在锁表中获取具有所请求的资源ID的一行。
If a connection is unavailable, the component waits for the connection blocking the current thread.
如果连接不可用,组件将等待阻塞当前线程的连接。
If the pool maintenance thread decides that a connection in the free pool needs to be discarded, it physically closes the connection to the JMS provider.
如果池维护线程确定需要丢弃空闲池中的连接,则它物理关闭到JMS提供程序的连接。
The goal of tuning the connection pool is to ensure that each thread that needs a connection to the database has one, and that requests are not queued up waiting to access the database.
调优连接池的目标是确保各线程都有一个数据库连接,并且请求不需要排队以等待访问数据库。
Since each thread performs a task, each concurrent thread needs a database connection.
由于每个线程都需要执行一个任务,因此各并发线程都需要一个数据库连接。
Throughput issues are generally caused by increased wait time during request processing due to contention of resources (CPU, memory, disk, thread pool, connection pool, etc.).
吞吐量问题通常是由处理请求期间因为争用资源(CPU、内存、硬盘、线程池、连接池等)而导致的等待时间增加所引起的。
In each case, the server provides the data that the user requests and can then close the connection, allowing that thread to be freed up to serve other requests.
在以上任何一种Web应用程序中,服务器提供用户请求的数据,然后关闭连接,并释放那个线程,使之可以为其他请求服务。
In the classic servlet model, an open connection means a dedicated thread is doing nothing but waiting until it needs to update the client in response to an event.
在典型的servlet模型中,一个打开的连接意味着一个不执行任何操作的专用线程,它将一直等待,直到在响应事件时更新客户端。
As part of this support WebSphere Message Broker manages the connections, thread affinity, connection pooling, and life cycle of connections with resource managers.
作为此支持的一部分,WebSphereMessageBroker使用资源管理器管理连接、线程关联性、连接池和连接的生命周期。
This is a scalable way of servicing Web requests asynchronously without tying up all of the connection and thread resources on a server.
这是一种异步服务Web请求的可扩展方式,无需在服务器上输入所有连接和线程资源。
This method returns nothing, but if a transaction is associated with the calling thread, the XAResource from the managed connection is enlisted at that point.
这个方法不返回任何结果,但是如果调用线程关联了一个事务,那么这时就征募托管连接的XAResource。
应用推荐