Sharansh Gupta 2 Posted August 19, 2016 Posted August 19, 2016 HTTP requests were not coming from REST layer to Tibco when using server type as Tomcat. Bu it worked when I used server type as HttpComponent.
Milan sahoo 3 Posted August 19, 2016 Posted August 19, 2016 Hi , Which version of TIBCO you are using BW6# or BW5# As of my knowladge they are just two diffrent web server container where tomcat belongs to Apache project which is open source and HTTP container belongs to TIBCO . In BW5.13 we have faced connection refused issue with "Tomcat" but works well for "HTTP component" i am not pretty much sure about whether TOMCAT works well for different version ofbw5# and in terms of blocking thread but in BW6# it works well for us where you can managed your thread by configuring "thread pool" which is another addon on bw6#.
Sharansh Gupta 2 Posted August 29, 2016 Author Posted August 29, 2016 I'm using BW5.8. But i want to understand why it doesn't work for server type 'Tomcat' How does the 2 server type behave
Antonio Davila Gonzalez Posted December 16, 2019 Posted December 16, 2019 Hi, You can find the entire explanaition and more details from the BW5 doc, but I copied here the official description of both types, hope it helps: 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). Antonio
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now