Re: CFX Single Thread question

2001-12-07 Thread Kevin Pechin

Hello Billy,

We are currently using CFX_http as well as CFX_PCRegex on our load balanced servers.  
I was thinking that if you renamed cfx_http as cfx_http1 2 3.. you could then randomly 
call them from a template.  When you register them in the cfadmin you would just give 
them different names as you physically named them on your server.  If I know that I'm 
only going to have three instances, I could use an if statement to call the proper one 
depending on the random number generated (i.e. 1-5).

cfadmin - physicalname
cfx_http - cfx_http
cfx_http1 - cfx_http1
..
cfx_http5 - cfx_http5

Then in your templates you would just randomly call each one.  I realize that the 
potential for hitting the same one exists in a random situation, but at least it has 
the possibility of hitting a non used one at the time and therefore no need to wait 
for the other tag to release the lock, which brings me back to the original question 
about processes...

-Kevin Pechin
Hofstra University
Web Development

>>> [EMAIL PROTECTED] 12/07/01 12:04PM >>>
How will you manage calling these tags?  This could only be most effective
if you evenly distribute calls across your "cluster", but there's no way in
CF to do that (no way to do that  )

---
Billy Cravens

- Original Message -
From: "Kevin Pechin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 9:47 AM
Subject: CFX Single Thread question


> Hello All,
>
> I have two cfx questions.  If you have two single threaded cfx tags
registered and running on the server (both exclusively locked) is it
possible that both can execute at the same time as different processes, or
do they both fall under the cfserver process and therefor only one executes
at a time?
>
> And for the second question (which kinda depends on the answer to the
first one), if you have a single threaded cfx tag and then copy the tag
physically on the server (i.e.  cfx_tag1.dll, cfx_tag1_2.dll, cfx_tag1_3.dll
.) and register each instance in the cfadmin, is each one a separate
single threaded operation which can be locked and randomly called?  If so
this could be a potential boost in performance since we can launch multiple
processes (of course if you add too many it will eat memory).
>
> Food for thought!
>
> -Kevin Pechin
> Hofstra University
> Web Development
>
> 

~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX Single Thread question

2001-12-07 Thread BILLY CRAVENS

How will you manage calling these tags?  This could only be most effective
if you evenly distribute calls across your "cluster", but there's no way in
CF to do that (no way to do that  )

---
Billy Cravens

- Original Message -
From: "Kevin Pechin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 9:47 AM
Subject: CFX Single Thread question


> Hello All,
>
> I have two cfx questions.  If you have two single threaded cfx tags
registered and running on the server (both exclusively locked) is it
possible that both can execute at the same time as different processes, or
do they both fall under the cfserver process and therefor only one executes
at a time?
>
> And for the second question (which kinda depends on the answer to the
first one), if you have a single threaded cfx tag and then copy the tag
physically on the server (i.e.  cfx_tag1.dll, cfx_tag1_2.dll, cfx_tag1_3.dll
..) and register each instance in the cfadmin, is each one a separate
single threaded operation which can be locked and randomly called?  If so
this could be a potential boost in performance since we can launch multiple
processes (of course if you add too many it will eat memory).
>
> Food for thought!
>
> -Kevin Pechin
> Hofstra University
> Web Development
>
> 
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFX Single Thread question

2001-12-07 Thread Kevin Pechin

Hello All,

I have two cfx questions.  If you have two single threaded cfx tags registered and 
running on the server (both exclusively locked) is it possible that both can execute 
at the same time as different processes, or do they both fall under the cfserver 
process and therefor only one executes at a time?

And for the second question (which kinda depends on the answer to the first one), if 
you have a single threaded cfx tag and then copy the tag physically on the server 
(i.e.  cfx_tag1.dll, cfx_tag1_2.dll, cfx_tag1_3.dll ...) and register each instance in 
the cfadmin, is each one a separate single threaded operation which can be locked and 
randomly called?  If so this could be a potential boost in performance since we can 
launch multiple processes (of course if you add too many it will eat memory).

Food for thought!

-Kevin Pechin
Hofstra University
Web Development

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists