在 TIBCO Business Works HTTP 连接面板中,设计器中的连接资源有两个服务器类型选项:
- Tomcat
- HTTP组件
我想知道我们选择服务器类型的依据是什么?
最佳答案
您可以在 TIBCO ActiveMatrix BusinessWorks Palette Reference 的第 6 章中找到问题的答案。 :
Two types of servers are available for the HTTP Connection resource: Tomcat and HTTPComponent.
Tomcat has a synchronous request response paradigm and can be used in scenarios where high throughput is important. To achieve a good throughput with Tomcat, the maxprocessor value should be almost equal to the number of concurrent requests the server can handle. Note that increasing the maxprocessor count also increases the memory footprint.
HTTPComponent is a light-weight and scalable server based on NIO which can be useful in scenarios where handling thousands of requests in a resource efficient manner is more important than the throughput. HTTPComponent server gives a consistent throughput for any number of concurrent requests with little or no increase in its worker thread (maxprocessor thread).
关于tomcat - TIBCO Business Works HTTP 连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35405860/