Page 1 of 1

Always running DS job

Posted: Thu Apr 17, 2008 8:02 am
by mydsworld
If a DS job (sequence) is created with 'Wait for File' activity stage timeout set to 'Do not timeout', then isn't that a 'always running' job until it finds a file.In such case is it going to affect the system performance.

Posted: Thu Apr 17, 2008 8:11 am
by kcbland
No, and you can easily measure job system impact using prstat, topas, glance, top, or any other monitoring tool. The wait-for-file API can be read about in the DS BASIC manual.

Posted: Thu Apr 17, 2008 8:12 am
by chulett
Yes, it will run until it finds a file or dies. There shouldn't be any hit to much other than your filesystem, which will be polled every... four seconds(?), I believe, for the file.

Posted: Fri May 16, 2008 10:21 am
by mydsworld
Which one is better option in terms of performance :

1. Polling through Cron and calling a DS job
2. Using 'Wait for File' activity to poll.

Thanks.

Posted: Fri May 16, 2008 10:29 am
by ArndW
Option 2 will use less resources for the same polling period.