Page 1 of 1

Muti commit ,synchronize and serialize

Posted: Sun Nov 15, 2015 3:04 am
by Moh
Good Morning Sir,
I am confused about multi commit which commits each process individually whereas synchronize and serialize functions seems to be doing the same.
What is the difference between them and what situation each should be use? Please explain.

Re: Muti commit ,synchronize and serialize

Posted: Tue Nov 17, 2015 3:48 pm
by Moh
anybody please.

Re: Muti commit ,synchronize and serialize

Posted: Tue Nov 17, 2015 4:53 pm
by BrianL
I don't fully understand the question, but I'll explain what I can anyway.

Multi commit mode is an option for CHORES. The default behavior (single commit mode) commits/saves/publishes all changes from all the chore TI processes once after the entire chore has finished running. When multiple commit mode is enabled there is a commit/save/publish done in between each TI that's part of the chore.

Synchronize is a function that can be used in a TI script. You can think of it as a mutex operator. You specify it with a string such as

Code: Select all

Synchronize('foo');
TM1 will only allow a single TI process to execute at a given time that contains the exact same string parameter.

There is no relationship between the chore multiple commit mode option and the synchronize TI function.

I have no idea what 'serialize' function you are referring to.

Re: Muti commit ,synchronize and serialize

Posted: Wed Nov 18, 2015 3:22 am
by Moh
Thanks for your help BrianL.