From: Vaibhav N. <vn...@ya...> - 2001-07-25 17:58:51
|
here goes... in any given state when you receive an interesting event you will trigger an action. the successful completion of this action is very important. if this action is not successful (e.g database record is locked), and you still move to the next state, not only will you be in an inappropriate state, but also you will lose the failure info. secondly, all the actions are synchronous. should an action get stuck, you entire state machine will stall. also some actions are timing sensitive. for example, if you do not Acknowledge a TCP sequence number within the window, you might as well skip it as the source will retry with a new sequence number anyway. the synchronous nature of actions also make them the performance bottlenecks. However, FSMs based on Asynchronous actions are hard to implement. Another performance factor is the granularity of the events. Asynchronous actions are most appropriate for complex actions with multiple failure points. If you are developing a general purpose FSM, you cannot apriori assume the performance criteria. you have to let the user specify how an event is to be processed by the FSM. One more point i missed earlier was QoS for events. while the FSM is processing event sequentially, events may queue up. the decision about which event to pick up next for processing has to be driven by a QoS policy. For Example, "Remote host closed connection" event is more important than "account information updated" event. if you have N "refresh X-window" messages, they all can be processed as 1 message. This feature can be developed as an event-manager that FSM will rely on. --- Madhan Dennis <gma...@ya...> wrote: > ummm...sounds good.... could you elaborate more on > this..... kinda being it into a sequence of > operations > ? > > > --- Vaibhav Natu <vn...@ya...> wrote: > > Hi > > i have been thinking on the following lines: > > present-state:=s1 > > rcvd-event:=e1 > > trigger-action:=f1 > > if(f1 successful) > > next-state:=s2 > > elseif(f1 timedout) > > next-state:=s3 > > else > > next-state:=s4 > > > > What do you think of this? > > ---vaibhav > > --- Madhan Dennis <gma...@ya...> wrote: > > > Great !! > > > > > > So lets start working on the specs !! > > > > > > Code Gen guys..... please let us know the XML > > format > > > we need to generate.... if not XML any other > > format > > > (CVS, etc) k ? > > > > > > Madhan > > > > > > --- sridhar natarajan <n_s...@ya...> > > > wrote: > > > > Madhan, > > > > > > > > I can join you in doing the Java GUI. I have > > some > > > > exposure to the > > > > Rational tools as well. > > > > > > > > -sridhar natarajan > > > > > > > > --- Madhan Dennis <gma...@ya...> > > wrote: > > > > > Hi Guys !!! > > > > > > > > > > Welcome to our group, Vaibhav and Vincent !! > > > They > > > > have > > > > > joined our project as developers. > > > > > > > > > > Thanks !! > > > > > > > > > > Regards, > > > > > Madhan > > > > > > > > > > PS: Any other comments about the FSM script > ?? > > > Hey > > > > > Richard we need to get this thing rolling > fast > > > > !!!! > > > > > and Code Gen guys, how is the code gen > design > > > > coming > > > > > along.... have u started the design or only > > spec > > > > is > > > > > over ? I also need someone to take up the > Java > > > GUI > > > > for > > > > > the FSM editor. I know Java... so if someone > > > else > > > > also > > > > > can join me we can do the FSM editor > > > together.... > > > > i've > > > > > got Rational Rose 2000 @ home... its got an > > > > excellent > > > > > State editor... we can use that as a > reference > > > :) > > > > :) > > > > > > > > > > Reply soon Guys !!!!!!!!!!!!!!!!!!!! > > > > > > > > > > > > > > __________________________________________________ > > > > > Do You Yahoo!? > > > > > Make international calls for as low as > > > $.04/minute > > > > with Yahoo! > > > > > Messenger > > > > > http://phonecard.yahoo.com/ > > > > > > > > > > > > _______________________________________________ > > > > > Statemachine-development mailing list > > > > > > Sta...@li... > > > > > > > > > > > > > > > http://lists.sourceforge.net/lists/listinfo/statemachine-development > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Make international calls for as low as > > $.04/minute > > > > with Yahoo! Messenger > > > > http://phonecard.yahoo.com/ > > > > > > > > > _______________________________________________ > > > > Statemachine-development mailing list > > > > Sta...@li... > > > > > > > > > > http://lists.sourceforge.net/lists/listinfo/statemachine-development > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Make international calls for as low as > $.04/minute > > > with Yahoo! Messenger > > > http://phonecard.yahoo.com/ > > > > > > _______________________________________________ > > > Statemachine-development mailing list > > > Sta...@li... > > > > > > http://lists.sourceforge.net/lists/listinfo/statemachine-development > > > > > > __________________________________________________ > > Do You Yahoo!? > > Make international calls for as low as $.04/minute > > with Yahoo! Messenger > > http://phonecard.yahoo.com/ > > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute > with Yahoo! Messenger > http://phonecard.yahoo.com/ > > _______________________________________________ > Statemachine-development mailing list > Sta...@li... > http://lists.sourceforge.net/lists/listinfo/statemachine-development __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |