Ben, I see what you are saying. That would be an interesting way to limit
the # of scheduled tasks that I need to create. No matter how I host the
site (shared/vps), I might just do that to save some time and to simplify
things a bit. 

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 14, 2008 3:19 PM
To: CF-Talk
Subject: Re: OT: What type of CF hosting do I need?

I'm not sure why that's not an option.

It seems to me that you could create a db table which holds a list of
accounts to be processed.  Dequeue the first one, process it, and
re-enqueue.  Set up a single scheduled task for this, and fire it off every
so-many (1, 2, 5?) minutes.

Just a suggestion.

--Ben Doom

Che Vilnonis wrote:
> Thanks Jerry. That's not an option, really. My # of scheduled tasks 
> would increase quite a bit if I took that approach and because of the 
> inconsistencies of the feeds, extra steps are needed to be performed 
> to make certain that all of the data is homogeneuous between the 
> feeds. That said, the tasks are running very well considering what is
being done.
> 
> Basically it comes down to this. Are there any shared CF web hosts 
> that allow to have an high number of scheduled tasks be run daily 
> knowing that some of them may take a few minutes to complete?
> 
> -----Original Message-----
> From: Jerry Johnson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 14, 2008 1:53 PM
> To: CF-Talk
> Subject: Re: OT: What type of CF hosting do I need?
> 
> Dont take so long on each task. break them down smaller, into more 
> granular pieces.
> 
> dont process them all at one whack, but build a queue of items to 
> process, and then run through them individually or in much smaller groups.
> 
> On Thu, Feb 14, 2008 at 1:37 PM, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>> Looking for opinions here. I'm looking to launch a CF based 
>> car/truck/cycle  RSS feed aggregator. I don't expect to have a ton of 
>> traffic initially, so I  thought shared hosting would work. But, when 
>> I built the app, I found that  the scripts I needed to run (even 
>> using the cfthread tag) would take on  average 1-3 minutes to run. A 
>> few would take 4-5 minutes. (I'm aggregating a  lot of data from 
>> several sources at once through 4-5 dozen daily scheduled  tasks on 
>> my dev
>> server.)
>>
>>  The problem with shared hosting is that there usually are 
>> restrictions to  how long a page can run. Typically it is 30-60 
>> seconds. There might even be  issues with the number of scheduled 
>> tasks that my app requires. Is my only  recourse to get VPS based 
>> hosting? Are there any other alternatives that I  am missing that 
>> might
> save me a few $$$?
>>  Thanks for your thoughts, Che
>>
>>
>>  
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299032
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to