"when they are running. I'd like to be able to assign these threads a lesser
priority so they don't consume the entire server when they run. Performance
is not critical for these utilities"

I would write Java Programs to run independent of a Web Application Server
and schedule them using the Operating System Schdeduler (e.g. Win NT
Scheduler)

I believe the above is good approach since these scheduled jobs dont take
any resources of the Web Application Server.
Joe Eugene

  -----Original Message-----
  From: Joe Bernard [mailto:[EMAIL PROTECTED]
  Sent: Sunday, July 18, 2004 10:46 PM
  To: CF-Talk
  Subject: ColdFusion thread priority

  Is there any way to set the priority of individual threads in CF?

  We have several utility apps written that are scheduled throughout the
day. Some of these jobs max out the processor when they are running. I'd
like to be able to assign these threads a lesser priority so they don't
consume the entire server when they run. Performance is not critical for
these utilities.

  I believe this is possible in Java so there should be some way to assign
thread priority by calling the underlying Java architecture via
createObject().

  It would be perfect to have something like:

  <cfprocessingdirective threadpriority=1>

  but that's something for the Blackstone wishlist I guess.

  Has anyone done this?

  -Joe
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to