Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Servlet Performance Much Worse Than CGI

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Servlet Performance Much Worse Than CGI
 Login/Join
 
Platinum Member
posted
When switching from CGI to servlet, I found that performance went from reasonable to extremely poor, with some reports that ran in 5-7 seconds with CGI taking minutes to run with servlet (or timing out).

Has anyone else experienced this problem, or know what might be causing it? Is it a known problem that has been fixed with a more recent software version?

Here is my WebFocus environment:
WebFocus 5.2.3
Unix - IBM AIX 5.2
Apache 1.3.27
Tomcat 4.1.24
Oracle 9.2.0.6

Any help/suggestions would be appreciated!

Thanks,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Expert
posted Hide Post
generally speaking, ISAPI beats CGI (by miles), and Servlet is sometimes better than ISAPI (or at least equals); but that opinion is a win2k one; Perhaps you should open a case with tech support and have them take a look at your install and config, since your findings seem to be counter to the norm. They'll be best able to help you.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
Thanks Susannah,

I actually have a case open, but they're starting by looking at some code and not the config. I agree that there may be something wrong with the config, especially when you say that you expect Servlet to be faster than CGI.

Thanks for your input!


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Guru
posted Hide Post
I'm using release 5.2.4 and though Information Builders claims that Servlet is faster, I always find CGI to be faster. I'd be interested to know what the outcome is.

Thanks much,
Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Platinum Member
posted Hide Post
Carol,

I'll post a note if we find a solution.

We've reverted our Prod env back to CGI in the interim.

Regards,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Platinum Member
posted Hide Post
The solution was to set &ECHO off. For fexes that perform a lot of processing, Servlet couldn't handle it. But this has been fixed in WF 5.2.7.

But it's a good idea to turn off &ECHO for Production anyways.

Also, I am told to refrain from the use of -TYPE.

I've also been told that Servlet performance (in general) is much better in 5.2.7 than 5.2.3.

Regards,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Guru
posted Hide Post
Sean,
Many thanks for posting the outcome. I use &ECHO in EVERYTHING! It's good to know it's not the installation, and for this release we'll stick with CGI.

Thanks again!
Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Member
posted Hide Post
Just curious what method are you specifying when calling WFServlet? Get or Post?

We are starting to explore implementing 7.1 under websphere. Any performance tuning tips would be appreciated.
 
Posts: 21 | Registered: November 15, 2004Report This Post
Platinum Member
posted Hide Post
We use POST.

Regards,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Guru
posted Hide Post
We use POST also, but with CGI



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Servlet Performance Much Worse Than CGI

Copyright © 1996-2020 Information Builders