• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

long process on shared server?

New Here ,
Apr 15, 2007 Apr 15, 2007

Copy link to clipboard

Copied

I built an application that has 2 scheduled tasks. One of them sends
e-mails to a list on a daily basis and the other completes an HTTP
request.

The number of records is getting larger and these tasks are failing
because they exceed the timeout set on the ColdFusion or web server.

I'm using a shared hosting environment at Network Solutions and it's
unlikely I'd be able to increase the timeout.

This application is built using ColdFusion Components.

I had heard of a asynchronous gateway I might be able to use, but
again, I don't know if I'd be able to set that up on a shared hosting
environment.

Does anyone have any ideas, aside from getting a dedicated server?

I thought about maybe instead of performing all these requests in a
single page call, but instead, scheduling each request a few seconds
from each other, but I don't know if CFSCHEDULE will allow hundreds of
entries at a time.

Thanks,
Andy
TOPICS
Advanced techniques

Views

289

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 15, 2007 Apr 15, 2007

Copy link to clipboard

Copied

AndyMilk wrote:
> I had heard of a asynchronous gateway I might be able to use, but
> again, I don't know if I'd be able to set that up on a shared hosting
> environment.

the asynch gateway should be cheaper than a dedicated server. i'd start w/that
first. it works very well.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 15, 2007 Apr 15, 2007

Copy link to clipboard

Copied

I do not know how this plays in shared hosting environment so use with
extreme caution. But you can use the <cfsetting requesttimeout=""> tag
at the beginning of a page to specify how long that page has to run,
somewhat overriding the setting given in the administrator. But I could
see hosting companies controlling this tag for what it could do to the
performance of their servers if misused.

Async gateways are a good option if they are available to you. They do
require the 'enterprise' level of CF. Gateways are not included in the
'standard' edition. They also require some CF-Administrator
configuration, but nothing more then a scheduled task or DSN
configuration does.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 15, 2007 Apr 15, 2007

Copy link to clipboard

Copied

Thanks

How can I use the asynch gateway on a shared hosting environment?

Can I set it up without having access to the ColdFusion Administrator?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 15, 2007 Apr 15, 2007

Copy link to clipboard

Copied

LATEST
AndyMilk wrote:
> How can I use the asynch gateway on a shared hosting environment?

ask your host to set one up (provided, as ian says, they have enterprise).

> Can I set it up without having access to the ColdFusion Administrator?

nope.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation