> Ok were talking milliseconds here, but yeah variables are passed to any
> page that you cfinclude, so it would be easier to do it that way.
>
That may be true with one or two users on the server, but you try that on a
live server with hundreds of concurrent users where the web server is
queuing request, CF is queuing requests and your database is queuing too!
You'll wind up with a deadlock and timeout on the CFHTTP!

Here's how it goes...  say you've got 3 users and 3 connections to CF.
Those three users are all accessing the same page with the same cfhttp in
it.  Each of those templates calls cfhttp to another template.  The web
server gets the requests and puts them in the queue waiting to access to CF.

1) CF is sitting there waiting for a response from the CFHTTP, so the user
is also waiting for a web page to come back.
2) The CFHTTP request is sitting in a queue waiting to get access to CF, but
can't because all the connections are used up
3) Goto point 1, until CF gives up waiting for a response from CFHTTP and
returns an error to the user.
4) The CFHTTP request gets onto the server, but the response has no where to
go!

One dead application!

Stephen
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to