Skip to Content
1

BODS AL_Engine - does it spawn for each BODS job?

Nov 09, 2016 at 05:02 PM

63

avatar image

I like to understand how does AL_Engine gets spawned for below scenario:

Scenario: One BODS real time job with a single work flow and single data flow. No of. AL_Engine max set is 4.

Question:

When a real time requests comes in, first instance of real time job process the request and use 2 AL_Engine process (for job, data flow) is used and while this job is being processedng if a second request comes in.... does another 'instance' of the same BODS job will run and use the remaining available 2 AL_Engine process?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Subin George Nov 09, 2016 at 06:16 PM
0

Thank you Denise!

To be clear, a new instance of the same real time BODS job will be initiated when new request come in. It will be use up the available AL_engine process.

One risk i see of the spawning a new instance is that, there could be cases where different instances of real time job could interlock for certain process. e.g. lets say a case where a real time is triggered to process a 4 input files and it started off on the first file.

Meanwhile 5 the file coming, and a new instance of the same job starts. There is a possibility that this new instance could pick up one of the 4 files from above. This could lead to some issues.

Is that not a valid scenario? How do we overcome this?

Share
10 |10000 characters needed characters left characters exceeded
Denise Meyer
Nov 09, 2016 at 05:50 PM
0

Yes, an al_engine process will be started for each instance of the realtime job you have started. The access server will round robin the requests between the different instances of the realtime job you have started. If you have min 4 and max 4, then 4 al_engines will be started waiting for requests. If you have min1 max 4, then 1 al_engine will be started waiting for requests and if enough concurrent/close together requests come in, then the access server will decide to start up more instances of the realtime job when needed.

Thanks,

Denise

Share
10 |10000 characters needed characters left characters exceeded