Parallel scheduling

If for example two jobs are scheduled at the same time or with overlap. Are scheduled jobs executed in separate threads or are they executed one at the time in serie? With STARTSESSION available all jobs in job queue could be executed in parallell, but I assume jobs still are processed in a serie like in NAV2009 ?

Regards Fredrik

Answers

  • kylehardinkylehardin Member Posts: 257
    This is really more of a NAS question than it is a Job Queue question.

    A NAS is only a single connection to the database, and thus can only execute a single task at a time. However, Job Queue was built to be able to have multiple NAS services running multiple job queues, even in the same NAV database and company, so it is possible to have two jobs happening at once, but it requires two NAS services.
    Kyle Hardin - ArcherPoint
  • FredrikGustafssonFredrikGustafsson Member Posts: 3
    Thankyou Kyle,
    As NAS is part of NAV server, each task in the Job Queue could be assigned a new session. By using STARTSESSION this would be possible. This way tasks can be run in parallell by NAV server acting in the NAS role. But I dont know if this is how NAV server works.
Sign In or Register to comment.