Figure 26 shows the relative performance of the queue and HTTP connector compared with the same Business Events scenario not using a connector.
图26展示了使用队列和HTTP连接器与未使用连接器的Business Events场景的相对性能。
I actually need to allow a total of three threads in the ThreadPool: the Jetty server itself USES one, and another runs an HTTP connector, listening for incoming requests.
我实际上需要在ThreadPool使用三个线程:Jetty服务器本身使用一个线程,另一线程运行HTTP连接器,侦听到来的请求。
The problem is that the connection timeout is the same for the whole HTTP connector defined earlier in this article — at least, the configured value of the timeout is the same.
但问题是,对本文前面定义的整个HTTP连接器而言,连接超时是一样的——至少为超时配置的值是一样的。
应用推荐