Steve Trefethen
Contact me
About Me View my LinkedIn profile

Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
Need consulting?
Need Consulting?

Spread Thunderbird

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

TestComplete Keyword Testing Online Training

I will be presenting a three day webinar April 12-14th 2010 from 9am-1pm PST on AutomatedQA's TestComplete. The cost is $499/person and you can register on Falafel Software's website here. For detailed information on this training click here.

ISAPI Thread Pool for use in Delphi WebBroker applications

May 01 2006 3:59PM
Quoted:
"...but our perception and wall-clock timing tells us there is at least a 300% increase in speed, if not more."
-Dan Miser
DistribuCon
I don't recall mentioning the ISAPIThreadPool unit here and recently Allen pointed out a Borland public newsgroup post where a customer was talking about the dramatic performance difference between his PHP application and his Delphi Webbroker application. In the post he mentioned:
to have high speed I have pooled connections using a threadvar, every IIS thread has one datamodule with opened connection
If I understand this correctly the above is unnecessary and instead this developer should leverage the ISAPIThreadPool unit available with Delphi as well as from CodeCentral. The ISAPIThreadPool unit leverages the technologies discussed in the following documents (also mentioned in the source code): A few key points:
  • ISAPIThreadPool.pas should be included in your webbroker DPR at the end of the uses clause as it reimplements GetExtensionVersion, HttpExtensionProc and TerminateExtension.
  • This unit is only useful for applications running on Microsoft's web server (IIS).

Dan Miser has also mentioned this unit on his blog. Thanks Dan!

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags: ,

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Spam filtering provided by: Spam Counter
330 comments approved, 1448 spam caught since October 28, 2009
Powered by Commentor