What order are Nodes Syncronized in within the same NodeCollection?

Basically is there a guarantee of synchronization order within a NodeCollection? I assume that there is and that it is based off the order in which the nodes were created. For instance in the SimpleChatModel the Node creation order is:
HISTORY_NODE_EVERYONE
HISTORY_NODE_PARTICIPANTS
HISTORY_NODE_HOSTS
TYPING_NODE_NAME
When synchronizing will I receive all of the messages in HISTORY_NODE_EVERYONE before I receive *ANY* messages for HISTORY_NODE_PARTICIPANTS? Will HISTORY_NODE_PARTICIPANTS send all of its messages before HISTORY_NODE_HOSTS sends its messages? When I say "sent" I don't as much what the actual network traffic is (I don't care about the actual packet order of arrival, that is your job AFCS developers ), what I really care about is whether ItemRecieve for HISTORY_NODE_PARTICIPANTS can get executed while HISTORY_NODE_EVERYONE is still receiving messages?
To take this a step higher in the hierarchy to the NodeCollection level does a NodeCollection need to be fully synchronized before another NodeCollection (that called subscribe after the first one) can get any ItemRecieve messages? If NodeCollection A subscribes before NodeCollection B is A guaranteed to get synchronized before B? Will A finish Synchronizing before B gets its first message?
I am starting to run into an issue where I need to make sure certain NODEs are synchronized before I start recieving messages in other NODEs. I of course can check for the dependencies on reception and simply defer execution until the dependency is sync'd but this will create a lot more code failure points than I really wanted. I was hoping for a simplier way of doing this.
                         Ves

Hi Ves,
  The AFCS dev guide mentions this in passing (3.1.5.1) but doesn't go into quite enough detail - we'll make a note to improve this for the next go-round.
  Essentially, all items for a given CollectionNode (from all of its nodes) are synched in the order that they were published, irrespective of which node they were published to. You can actually put a breakpoint down in MessageManager.receiveItems to watch this - all items for the entire collection are received in one big blob, then pushed onto an array, then sorted according to their timestamps and order, then sent as itemReceive up to the collectionNode.
  So yes, you could easily end up with an itemReceive for EVERYONE, followed by an itemReceive for HOSTS, then another one for EVERYONE. We make sure that they essentially come in the same order they did for people who were actually in the room at the time. For example in the chat pod, if I asked a question to the HOSTS node, which they answered on the public EVERYONE node, I'd want the items to be received in the right order, or the collective history wouldn't make sense.
For separate CollectionNodes, their synchronization are kept separate (one at a time), since they're the result of individual subscribe() requests - the advice here is that if you have a series of items that have some dependency on order of arrival, you should make sure they're part of the same CollectionNode (which makes sense). If you need A to finish synching before B begins, put those items on different collectionNodes and call their subscribe() methods in that order. So, you can have it either way, depending on how you want to set it up.
hope that helps
   nigel

Similar Messages

  • What order are find results in?

    When I use Spotlight and then select the "show in finder" option, what order
    are the results supposed to be in?  Alphabetical, you'd think, if "name" was
    selected.  But there seem to be many sublists in a large set of result, each
    restarting some sort of order every so many lines.  And why wouldn't clicking
    "name" again simply resort these?  It seems the only sort that affects the
    entire list in a predictable manner is sort by "type".  Have I inadvertently
    selected something wrong or am I missing something?  This makes spotlight
    much less useful to me.
    Anyone notice this?
    Mark

    Hi Ves,
      The AFCS dev guide mentions this in passing (3.1.5.1) but doesn't go into quite enough detail - we'll make a note to improve this for the next go-round.
      Essentially, all items for a given CollectionNode (from all of its nodes) are synched in the order that they were published, irrespective of which node they were published to. You can actually put a breakpoint down in MessageManager.receiveItems to watch this - all items for the entire collection are received in one big blob, then pushed onto an array, then sorted according to their timestamps and order, then sent as itemReceive up to the collectionNode.
      So yes, you could easily end up with an itemReceive for EVERYONE, followed by an itemReceive for HOSTS, then another one for EVERYONE. We make sure that they essentially come in the same order they did for people who were actually in the room at the time. For example in the chat pod, if I asked a question to the HOSTS node, which they answered on the public EVERYONE node, I'd want the items to be received in the right order, or the collective history wouldn't make sense.
    For separate CollectionNodes, their synchronization are kept separate (one at a time), since they're the result of individual subscribe() requests - the advice here is that if you have a series of items that have some dependency on order of arrival, you should make sure they're part of the same CollectionNode (which makes sense). If you need A to finish synching before B begins, put those items on different collectionNodes and call their subscribe() methods in that order. So, you can have it either way, depending on how you want to set it up.
    hope that helps
       nigel

  • In what order are msgs consumed with single sess & multiple async consumers

    Sun MQ will serialize delivery of messages when you have a single session and multiple asynchronous consumers created from that session. I am trying to find out what is the order in which the messages will be delivered by the session to the message listener.
    So if I have 10 consumers on 10 destinations, each with 100 messages, in what order will messages be passed to the message listener.
    Thanks
    Aspi Engineer
    Putnam Investments

    In our testing, we have found that the consumerFlowLimit implementation will guarantee that you'll receive your messages out of order. What happens is that messages will be put in the consumer buffer and they won't be available for round-robin delivery to the other consumers (even if they are idle). I'd recommend setting the consumerFlowLimit=1 which minimizes the impact of this, but every other message will still be out of order (ie consumer #1 grabs messages 1&2, consumer #2 grabs messages 3&4, etc; so that they will process 1&3 together, and 2&4 together. I consider this a very serious bug of openMQ and wish we could disable the consumerFlowBuffer all together to get guaranteed processing order from the queue.
    Edited by: Pancetta on Jun 24, 2010 9:33 AM

  • I want to Facetime my Ipad from my Iphone but they are both set up with the same Apple id.  Do I need to create a new id for one of them in order to facetime with the other?

    I want to Facetime my Ipad from my Iphone but they are both set up with the same Apple id.  Do I need to create a new id for one of them in order to facetime with the other?

    You should be able to call the iPad using your Apple ID from the iPhone. When calling from iPad use the iPhone's phone number to initiate the call.

  • I have two albums (RCA Sweeny Todd 2 discs set and RCA Into the Woods 1 disc) where the songs are listed as being on the same album on the list view, but do not group together on the iPod, so the songs can't play consecutively, or in the proper order.

    I have two albums (RCA Sweeny Todd 2 discs set and RCA Into the Woods 1 disc) where the songs are listed as being on the same album on the list view, but do not group together on the iPod, so the songs can't play consecutively, or in the proper order. The "Apply Sort Field" and "Same album does not work, but ti is only these two RCA albums that do this. All other albums remain intact. Need help with this minor problem. Thanks.

    UPDATE: This behavior (to an extent) still happens when "Repeat Album" is off. Instead of an infinite loop, it goes through all the tracks on the album (unsuccessfully) and kicks me out to the Album overview screen. Going back to list of Albums and tapping the Album again brings up "No Content: You can download music from the iTunes Store" but that screen immediately kicks me back to list of Albums.
    So I am just even more confused now.

  • What exactly are bezels when referring to the ipad?

    What exactly are bezels when referring to the ipad?

    In what context are you seeing this term? The only use of "bezel" in relation to the iPad I can think of is the frame, aka "bezel" that surrounds the screen.
    Regars.

  • I recently upgraded iPhone4S to iOS7. Now photos on my phone look like photo negatives; all colors are a ghostly contrast. The same is true for icons of downloaded apps. What can I do?

    I recently upgraded iPhone4S to iOS7. Now photos on my phone look like photo negatives; all colors are a ghostly contrast. The same is true for icons of downloaded apps. What can I do?

    Invert the colors back to normal.

  • What channels are availible on Vimio in the U.S.?

    What channels are availible on Vimeo in the U.S.?
    *Vimio is a program to watch streamed tv on mobile phones
    Message Edited by quinton55 on 16-Mar-2009 02:19 PM
    Nokia N95 8GB V30.0.018 **Kudos are very welcome**

    http://www.vimeo.com/channels
    N96-1 + 8G SD~Software Version 30.033~Software Version Date 18-06-09~Type RM-247~P/C 0543713~T Mobile UK

  • Retrieve data from other context node within the same context

    Hi Experts,
    I want to redefine method BUILD_TABLE for a table context node and I need to access data from another context node within the same context. I have looked through the methods of class CL_BSP_WD_CONTEXT_NODE_TV but could not find a mean of retrieving the other context nodes.
    Any ideas?
    Thanks a lot. Your help is appreciated.
    Cheers,
    Jens

    Hi Jens,
    Check this [wiki|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=201066680] it should be helpful.
    Regards,
    Shobhit

  • When setting up yahoo e mail what info are they asking for in the description block

    When setting up Yahoo e mail on i pad2 what information are they asking for in the description block

    It's just a name/description so that you can identify the account in the Mail app. If you have more than one email account set up on the iPad, then that is the name that appears and which you select when switching between them - so it just needs to be something so that you can identify which email account it is so that you know which one it is that you are selecting/viewing

  • [nQSError: 14065] Illegal cross join within the same dimension

    Hey guys,
    I'm stumped. I have two dimension tables that are joined 1:N (there is NOT an M:N relationship between them) and I have them joined in the Physical Layer and the Business Model and Mapping Layer. The two tables are F4101 (the "1") and F4102 (the "N") in the 1:N relationship. F4102 then joins to a fact table, and F4101 joins to NOTHING else. So I don't believe I have a circular condition or a need for a bridge table. Both tables are published to the Presentation Layer for reporting.
    The error occurs in Answers when I want to do something as trivial as display the three primary key columns together from F4101: F4101.col1, F4101.col2, F4101.col3 (all three make up the PK). When I do that, the following error occurs:
    "nQSError: 14065] Illegal cross join within the same dimension caused by incorrect subject area setup: [ F4101 T28761] with [ F4102 T1805] "
    What I can't figure out is WHY the F4102 table is listed in this error. I didn't try to report on it at all. See the logical SQL below from my query:
    "SQL Issued: SELECT "Item Master (F4101)".IMITM saw_0, "Item Master (F4101)".IMLITM saw_1, "Item Master (F4101)".IMAITM saw_2 FROM "Sales Analysis" ORDER BY saw_0, saw_1, saw_2"
    As soon as I take out one of the three PK columns and add in another non-PK column from F4101, it works just fine. And reporting on each of the three PK columns individually works as well in Answers.
    Any ideas? I would greatly appreciate it.
    Thanks.

    Try this;
    1. In the logical layer, create one folder called F4101_F4102.
    2. Map both F4101 and F4102 as logical table sources in that folder.
    3. Join from the folder F4101_F4102 to the fact using a Logical (new complex join) join.
    Chris.

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • Monitoring servers in SCOM 2012 via different locals within the same management group

    Hi,
    I have 2 management servers in a same management group. The 1st one is having English (US) locale while other is installed on Swedish locale. Both are accessed by different users having same admin rights.
    Once a USER 1 try to register a server through authoring tab from 1st management server(installed on English locale), a profile/group wrt the server registered is created successfully but the USER on 2nd management server (installed on Swedish locale) can
    not see the same in Authoring tab. He can view it in Monitoring tab as as well as Administration tab.
    The Vice versa is also true.
    Does any one have idea that is it SCOM 2012's expected behaviour wrt 2 2 different users on 2 different locales within a same management group ?
    Thanks in advance.

    Hi,
    I am a little confused, what do you mean by "register a server through authoring tab"?
    Do you mean that when you discover a server on 1st MS with discovery wizard then you cannot see it on 2nd MS(and the vice versa)?
    As far as I know, all those information should be stored in the operation database which is shared to both MSs within the same management group.
    We may use SQL query to find the discovered server on the operation database. Please also check operation manager event logs to get more information to troubleshoot this issue.
    Regards,
    Yan Li
    Regards, Yan Li

  • SO idoc from PO idoc within the same client

    Hello SAP Gurus,
    We need help with the following .
    The requirement is we need to create the Sales order from Purchase order using idocs within the same client .
    We created the partner profile of the customer and the vendor .
    Customer ---maintained an inbound parameters with message type ORDERS and process code ORDE
    Vendor -
    maintained outbound parameters with message type ORDERS and idoc type ORDERS05 and process code ME10 .
    Now when we create the PO and check the status in WE02 we get the error status 56 , EDI: Partner profile inbound not available.
    What could be the posible cause of the error .
    Anybody with some suggestions and solutions .
    Thanks
    Honey

    Hi ,
    You should maintain in the inbound parameters  and out bound parameters also
    out bound parametrs
    message typ[e---ORDERS
    receiver port----
    basic type -
    ORDERS05
    tick on transfer idoc immediately
    Inbound parameters
    message type ---ORDERS
    process code --ORDE
    if you have any further clarifications let me know
    Regards
    Damu

  • Delivery without reference for stock transfer within the same plant 311

    Dear all,
    I need to create a delivery without reference for stock transfer within the same plant, movement 311,  i.e. just from 1 storage location to another storage location.
    I tried to use VL01NO with delivery type UL.
    Now my question is how can I assign a receiving plant for a customer?
    I can't do the MIGO or MB1B document because I need the delivery document (packing list, forms, Texts,...).
    It's possible this option???
    Thank you very much.

    Hi,
    What is the item category you are assigning while doing VL01NO?  Check the schedule line category for that item category assignment.  That Schedule line category has an option for one step GI.  There you can assign 311 or create a separate item category and schedule line category and in that SC assign 311. 
    Thanks
    Krish.

Maybe you are looking for

  • Virus in Time Machine

    My wife found a virus on her computer, an older MacBook, but it has now been backed up in Time Machine, anyone have any ideas how to get rid of it? OS X/Geonei A

  • Seeking a class in iMovie / Do you know of any?

    I'd like to take a nearby/local class on iMovie and live in the San Fernando Valley in Southern California. Does Apple offer any such classes? Checking into Extension Classes at CSUN, Pierce JC, or LA Valley College yields nothing! It's possible to l

  • Can't open .wmv file type

    HELP! I can't seem to open email attachments from friends when they're a .wmv. I've tried the drag into an open Safari window - no worky. I've downloaded the free version of FLIP4MAC - no worky. Have not downloaded Windows Media Player 9 for Mac yet

  • Stopping and Starting a server - bootstrap pattern?

    Hi, I have a very simple server. It simply extends Thread, and provides a startup method to perform any initialization and to start itself. A shutdown methods performs any cleanup. What I am trying to figure out is the best way to start/stop this ser

  • Clustering Without IP Multicasting Support

    Is it possible to Cluster WebLogic Server 5.1 with out using IP Multicast? The current network does not support IP Multicasting, is there a way to cluster WebLogic without using IP Multicast?ThanksSean