About/Contact

Steve Trefethen

Steve Trefethen is a Director of Engineering at Reply. Contact me

View my LinkedIn profile


Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!


Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

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.



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!

FacebookDel.icio.usDigg It!

Tags: ,

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading