NetGroup.post vs sendToAllNeighbour + routing

Hi all

I was just reading wanderring http://www.flashrealtime.com/directed-routing-explained-Flash-P2P/

If a sendToAllNeighbour + routing is equiavlent to post()?

What I mean by sentToAllNeighbour + routing is that her counterpart who want to send a message to all counterparts, sends his neighbor first to all and each of these neighbor then send to all their own neighbours... until you reach the destination.

I though that this is how netGroup.post has been implemented, but since the article (link above) does not mention this equivalence that I wander if it is actually implemented in this way.

If this is not the case, how netGroup.post () is being implemented?

Thank you all for your answers.

This is not how NetGroup.post () works.

the display works equally fashionable to multicast system.  When you post a message, or receive an assignment from a neighbor that you had not seen before, you start to say to your neighbors (but not all at the same time) that you have this message by sending an abbreviation of his message (a hash of the message) ID.  for each Member of the group, shortly after he learned of a new message he has not seen before, he will ask the message of one of the neighbors who made the announcement.  the timers that govern the meantime announced and fetch setting are set to maintain the low spread while minimizing the air traffic and traffic distribution as fair/same as possible.

Tags: Adobe

Similar Questions

  • NetGroup:post (), limited bitrate? size of messages?

    Hye,

    I read on stratus 2 as 'view message feature' on class NetGroup was planned for the little broadcast message (low speed). But could we have an idea of the maximum potential flow with this method? There is a size limit of message validation or assignment of bitrate limit which undermines the system?

    In fact, I would like to that data (ByteArray) broadcasting to many peers, with an average bitrate 96kbit/s

    Is this possible?

    (Sorry for my bad English)

    the wording of this quote is ambiguous, sorry.

    Application Layer Multicast is designed for a small number of * editors * in a group, where each of them published a continuous stream of data (for example, live video/audio and data with NetStream.send ()).

    NetGroup.post () is a more appropriate mode when most or all members of a group will send messages from time to time.

    in both cases, the size of the group is (supposed to be) irrelevant.  If you have a group with 1 million members and one of them is the sending/broadcasting/publishing, then NetStream.send () and NetGroup.post () both will work.

    There is a trade-off between the two modes.  each message is superior to NetGroup.post () for NetStream.send (multicast).  However, there is a significant overhead (state/memory on each peer) for every NetStream multicast, this is why it is not appropriate for the case of millions:.  NetGroup.post () messages can arrive in a different order than they were sent to peers, NetStream.send () while the messages are received by each peer in the order they were sent.

  • Stratus 2 Support for directed routing

    I read on the page Lab of stratus as stratus 2 brackets made routing. Can someone give me a few examples on how to proceed? Is it possible to list all the peerIDs in the current network group?

    Thanks in advance

    Qaz

    If your "web clients" has a similar structure to an RTMFP Group (with direct connections to O (log n)), then it should be able to scale to thousands or millions of members.  However, the construction of such a structure is hard and if you were going to do, you use just a group because it's going to be automatic.

    If your "web clients" was one mesh (each Member to directly connect to other members), so I don't think he would scale well beyond 10 to 40 members, depending on how clever, you are on the problem of transmission and distribution of data.

    personally, I think that NetGroup.post () is a perfect fit for a texty chat room.  It's like 10 lines of code, if that.

    After MAX2009 I posted the materials of my lab, where we built a P2P video application with text chat using the multicast and display.  Here's the thread:

    http://forums.Adobe.com/message/2423240#2423240

  • iPhone connects to the wireless router but the PC can't

    HI - hoping someone can provide some answers to my problem. This happens a lot.

    For some reason, the awakening of my PC it does not connect to internet or router (192.168.0.1). Restart the PC makes no difference. I have an iPhone that connects very well during all this time (via wifi, with cellular networking turned off).

    This is what happens:

    I go to network and sharing Center to connect:

    [img src = "http://i39.tinypic.com/e031x5.jpg"]

    The sky connection is to me, with an intense sound signal:

    [IMG] http://i44.tinypic.com/24qn1x3.jpg [line]

    He then quickly says "successfully connected to sky", although the network & sharing poster always the router as "id" and without internet access:

    [IMG] http://i40.tinypic.com/ehek4w.jpg [line]

    After a wait of 1-2 minutes, he moved to 'unidentified network' and without internet access:

    [IMG] http://i40.tinypic.com/2qbha4p.jpg [line]

    Ipconfig says:

    [IMG] http://i43.tinypic.com/dgl2jm.jpg [line]

    Network cards seem to be OK:

    [IMG] http://i41.tinypic.com/ev5g95.jpg [line]

    [IMG] http://i41.tinypic.com/210zhg0.jpg [line]

    [IMG] http://i44.tinypic.com/21pt9g.jpg [line]

    What I can do is to reset the router by unplugging the power for a few seconds, allowing a restart. After that, the PC connects fine and I can access the main router page:

    [IMG] http://i42.tinypic.com/r28gev.jpg [line]

    I don't want to have to reset the router whenever it goes well! Any help on why this is happening and what's wrong with my settings would be greatly appreciated! Thank you.

    (Sorry that the images do not seem to work on this forum, but you can copy and paste; also, tips on how to show the pictures would be appreciated!)

    Hello

    I suggest you to update the latest drivers for the network adapter and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    It will be useful.

  • missing feature or bug? -Video NetGroup is not through any firewall/NAT

    I'm developing an application based on video of NetGroup. I observed following

    -Without any NAT/firewall - "NetGroup.post" and audio/video works

    -A single client inside NAT/firewall - works of "NetGroup.post", video and audio DOES NOT work

    -Once manually drill through NAT/firewall (non-application), audio and video has started working. As soon as the hole was closed, both audio and video stops again.

    It seems that NetGroup P2P connections are not perforation of NAT/firewall. If someone from adobe can confirm it's true (or not true). If true, this is a known problem, going to be fixed soon? If this isn't the case, I might have to implement a hole punching algorithm in my application.

    Information / help is appreciated.

    RTMFP groups don't traversal of NAT/firewall.  the underlying connections between peers are RTMFP sessions.

    NetGroup.post and P2P multicast use exactly the same RTMFP sessions between peers.  It is not possible that NetGroup.post could work but P2P multicast audio and video would not work in the same peer group of same.

    When you say "manually punching holes in NAT/firewall", what do you mean exactly?  the ports used by clients RTMFP is random by NetConnection instance and cannot be predicted.  you block UDP with a firewall, configure you redirection port through of your NAT or you have disabled your NAT entirely?

    GroupSpecifier what are the parameters that you use for the case where NetGroup.post works for you?  What about the NetStream where P2P multicast does not work?  is this the same group?

  • A few questions about the limits of neighbors of netGroup

    I'm playing with the type Messenger client p2p where I capture neighbors when the netgroup.neighbor.connect event is triggered, and then using add neighbor by adding their peerID (not the neighborID, I don't know really how/why that would be used) then I objects of message send instantly on the neighbor.connect.success to update the other table of "users online".

    So far it works really well and I feel as if it were a very efficient system. But, I just wanted to ask how well it will evolve and if it should continue to develop or not because how would that work if there was between 100-1000 + people. What is the maximum amount of neighbors? The object I send when a neighbor connects to them will cause a problem when it happens to be a bunch of clients sending each other their user name sign in info about the next event?

    Another question would be if when 2 cleints decide to connect and tell video/text chat, I had them make a Direct connect vi peerIDs connection and closing their netgroup connection also the logout event can remove the object with their peerID/username in this. Should I be left connected as neighbours and use neighborids somehow? or does do something where I have a publication and continuous flow game anytime, but have them take just generated a similar play/publish channel and the neigborsend that to each other? I just though that if I have neighbors constantly disconnect and make direct links could help prevent the neighboring overload incase there is a limit.

    Would be great if someone could help share some of their knowledge on these issues, thanks!

    There is no technical limit number of neighbors you have.  However, you cannot force a customer to always be connected to a specific peer.  using "NetGroup.addNeighbor ()" for a counterpart who currently is a neighbor (that is why you just got a NetGroup.Neighbor.Connect event) does nothing.  and if you add a new neighbor, the topology of the Group Manager can automatically choose to disconnect later if this neighbor is not strictly necessary to maintain the desired topology.

    each Member of a group will naturally be on O (log N) directly connected neighbours in a group of N peers.  the actual number is about 2 * log2 N + 13.  groups to have full transitive connectivity but are not necessarily fully mesh (where each Member has a direct neighbour to all Member connection).  groups will be generally of course entirely linked below about 17 members.

    as you assumed it, a full mesh is not extensible to 100-1000 + members, and there is no reliable way to maintain a full mesh with the existing ActionScript APIs in any case (you can not set a neighbor "permanent" in the ActionScript API).  Note that in a group operating normally, if an average Member had 100 neighbors in steady state, the size of the Group expect about 2 ^ 43 = ~ 9,000,000,000,000 (9 trillion) members.  that large groups are unlikely.

    If you want to send a text message to all members of the group, use NetGroup.post ().  broadcasting a message via a group effectively to each Member, but not instantly.  Scalable distributed in a very large group presence is a complex problem.  Unfortunately, a naïve approach is not scalable or efficient.  I encourage you to look for "news" and other topics "graph broadcast" in the context of P2P to get a flavor for how approach you this problem for very large groups (of like 1000 +).

    for small groups (of up to like 100ish) you can probably get by having each Member periodically post an announcement of the presence of the group, and each Member, followed by the age of each ad that he hears, expiring after a reasonable period of time.

    personally, I would not let the 'everybody' group to make a 1:1 chat.

  • NetGroup - cannot display the message twice

    Recently, I tried to develop a simple flash game that uses Adobe Stratus technology.

    I use the NetGroup class to transfer messages between the players. In my game this means only transfer orders.

    Basically, it looks like this:

    private function keyPressed(evt:KeyboardEvent):void
    {
         if (evt.keyCode == cLeft) {
              p2pConnection.sendMessage("control", "left down");
         }
         if (evt.keyCode == cRight) {
              p2pConnection.sendMessage("control", "right down");
         }
    }
              
    private function keyReleased(evt:KeyboardEvent):void
    {
         if (evt.keyCode == cLeft) {
              p2pConnection.sendMessage("control", "left up");
         }
         if (evt.keyCode == cRight) {
              p2pConnection.sendMessage("control", "right up");
         }
    }
    

    And here's the sendMessage function:

    public function sendMessage(cmd:String, val:String):void
    {
         var query:Object = new Object();
         query.sender = nc.nearID;
         query.cmd = cmd;
         query.val = val;
         netGroup.post(query);
    }
    

    Now, the strange thing is I can only post the same message once, which means that if I press left twice key for example, everyone receives only the 'left down' message once. It is the same with all the other messages as well.

    Messages are managed through 'NetGroup.Posting.Notify', who calls receiveMessage (event.info.message);

    Anyone know how to fix this?

    It is the ActionScript for NetGroup.post () documentation:

    All messages must be unique. A message which is identical to a post more soon may not be propagated. A sequence number to make unique messages.

  • change of bandwidth

    is it possible to change the bandwidth for Firefox? Photon browser gives you this option. makes a difference on my phone. my phone is Samsung galaxy s4 with jellybean 4.3. Firefox is my main browser with my search engine duckduckgo. Thanks in advance

    Looks like they do the same thing done in Opera Mini . This rout all your navigation through a server controlled by the browser. This allows the browser provider see most, if not all of the content that you post.

    Routing all your navigation via Mozilla controlled servers is not consistent with the ideal of the private life of Mozilla. https://www.Mozilla.org/en-us/about/Manifesto/ Principle number 4

  • RVS4000 to WRV200 VPN through DSL

    I tried to set this up and not get the same error message - no corresponding tunnel on the remote side.  I have a wrv200 at home and a RVS4000 to work and I'm trying to set up a tunnel VPN from home to work.  The two are connected DSL.  Any help in getting this set up would be great, I worked at it for some time without success.  Thanks in advance for any help/light you can throw on this problem.  FYI, I installed the same VPN on both routers by using the same key preshared and such.  ???

    Thank you - Ed

    Ed,

    You can post your each router configurations?  The configuration on each router must be unique within the environment of routers.  If you post the configs, we can verify that they are configured correctly.  Change public IP address if you are concerned about the announcement of your IP address here.  Thank you.

  • Do video Chat P2P with FMS

    Hi, I'm doing a video chat with Flash Builder 4.5 and Flash Media Server 4.5 P2P application.

    First, I tried a simple example of application using Cirrus (Stratus). It worked very well!

    NetConnection-> NetGroup - > 2-> netstream play NetStreams and publish-> last, netgroup post

    The sample, everything was OK.

    But now, I changed the url of the server to my flash media development server.

    RTMFP://P2P.RTMFP.NET/XXXXXXXXXXXXXX-> rtmfp://my-fms/application

    Here is my log to track application on NetStatusEvent:

    [NetConnection object] NetConnection.Connect.Success

    [NetConnection object] NetGroup.Connect.Success

    [NetStream object] NetStream.Play.Reset

    [NetStream object] NetStream.Play.Start

    [NetStream object] NetStream.Publish.Start

    [NetConnection object] NetStream.Connect.Success

    [NetConnection object] NetStream.Connect.Success

    I just couldn't not events on NetStream and NetGroup.

    When you use Stratus, it worked fine...

    I'm not familiar with FMS... I have blow something as part of FMS?

    I agree to a small extent, there is less documentation / examples aside script for this server. in any case, the FMS documentation should provide clues to do this.

    http://help.Adobe.com/en_US/flashmediaserver/DevGuide/WSa4cb07693d123884520b86f312a354ba36 d - 7ffe.html #WSf888d222081ca19c-7d07484e12a83dec2c4-7fff

    http://help.Adobe.com/en_US/flashmediaserver/DevGuide/WScd14549950cf7821eebb00912febb43a25-8000.html

    Both the docs above should help to better explain the boot process.

    The multicast application that comes with the installation of the FMS is a good example for all net group RTMFP connections. Please take a look to this as well.

    Thank you!

  • [Issue] [CS5] With the help of. send() and some other questions

    Hi guys in these last days I made research Stratus in CS5 hoping to be able to reproduce some kind of multiplayer game of him. The main problem that I ran in use. send(), I can't understand how to use the correctly. This is what I understood would work, but it doesn't seem to register that something happened:

    var myString:String;

    function sendmsg(2) (event: MouseEvent): void
    {
    myString = textInput.text;
    outgoingStream.send ("msg", myString);
    }

    function msg (myMsg:String): void

    {

    myLog.text += myMsg;

    }

    Any help to do this would be greatly appreciated.

    Just a few small questions about Stratus I want good answer:

    1. Use. more faster/more efficient send() then post where a fraction of a second account (sending players positions) where there are 4-8 people?
    2. When you use a NetStream with an attached how GroupSpecifier know when a person has joined or left?

    Note: All questions are regarding the CS5, not Flash Builder as I am not very aware if there is any difference in coding.

    NetStream.send () should generally be faster than NetGroup.post (), especially when using NetStreams 1:1 (vs. Group NetStreams).

    When groups are great, there is no average liabilities to say when members join or leave.  However, for small groups (less than 15 members), they will be "full mesh", meaning that each Member is a direct connection to every other Member.  When this is the case, you can see the events of NetGroup.Neighbor.Connect/Disconnect on a NetGroup.  to receive people, you create a network group with the same groupspec than your NetStream and listen for events from NetStatusEvent.NET_STATUS.

    your "msg" function must be a method on the 'customer' object of the NetStream subscribed to receive the NetStream.send (s) of the editor.

    It's all generic ActionScript stuff.  I don't know how to use Flash CS5, but such things should all be the same in Flash and Flash Builder.

    -mike

  • Router Befw11s4 - WARNING long post

    I bought a router of v.4 befw11s4 a couple of years back.  I remember spending hours with tech support to make it work, and even after that I got it working it never worked very well.  The router would reset continually itself, which would require me to reset the dsl modem then all settings completely enter the router linksys only that it be reset again, maybe in a few minutes, sometimes it would last maybe an hour, never much longer than that.

    So I disconnected, have not really thought much about it since then.

    Now, actually, I have a desire to try to make it work, but I met a ton of fixes, so I'll try to go through each of them and explain what happens to the best of my ability, perhaps there, can someone help me get this piece of work.

    I tried to access the access point, or the parameters as it can be through the web browser.  When I plugged the router, I was able to get a solid led lights on the front panel.  Power supply light solid, lightweight solid ethernet.

    I tries to enter the settings of the web browser by entering the address http://192.168.1.1 and tried http://192.168.1.245 with zero success.

    I have since reset the router several times using any method that I could find online.  Turning off the power, using the reset button, wait 5 minutes through each step of the process, praying to the gods of networking that this router would finally click and would just work... sigh.

    I reset my dsl modem.

    Nothing seems to help.  Now I can't have full lights on the front panel when I connect the ethernet cable.  It flashes briefly, goes dark and so far no amount of buttons to reset, power, prayer, nothing seems to work at all.

    All hope?

    Thank you.

    (Mod Note: under the guidance of the compliance of the directive.) (Thank you.)

    Solved.  Bought the Belkin router and had it up and running in about 15 minutes.  I spent way more time this just trying to get something to work on the Linksys.

    Thanks to all who tried to help.

    Admins, you can delete my ID I no longer need.

    Thank you.

    (Mod Note: subject edited for compliance with the directive.) (Thank you.)

  • my friends poster w[route]/system32/hall.dll computer why?

    always problems it would be bad disc

    Please visit: What are the system recovery options in Windows Vista? Carey Frisch

  • Apple Airport Extreme and new FIOS router - problem

    Hello, I have an Apple Airport Extreme 802.11n base station, which worked well with a Comcast router.  When you set up with Comcast router, I set the router to comcast to bridge and the Airport Extreme has done all the work as the main router. When I switched to Verizon FIOS today, I get the typical mistake of NAT double (that I did with the Comcast before configuring the router to Comcast to bridge).  However, the tech support guy FIOS said that was not an option, so he set up my Airport Extreme in bridge - router off mode mode.  This really live to the top incoming access using SSH, Timbuktu or the Apple screen sharing, given that I can't assign fixed IP addresses to the computers on my network and can not use the Airport Utility Network Port settings to open "pipes" for a particular computer.  In addition, I'm more comfortable using Airport Extreme, rather than things FIOS. Someone at - it other than enter Comcast suggestions?

    I did a search and didn't see a post on this in the discussion forum.  Thank you

    What is the brand and model of your router Verizon? Verizon provides you with administrator access to it to allow you to make changes?

  • Airport Extreme and Broadband Modem/Router

    I have my Airport Extreme (5th generation) plugged into a Broadband Modem/Router combo. I would like to have both able to use their wireless capabilities. The Airport Extreme has been previously connected to a Modem broadband all my IP addresses came by Airport Extreme (192.168.2. *). With the New Modem/Router combo broadband, it uses 10.0.0 * so I would be able to use Airport Extreme to add the 192.168.2. * While having the 10.0.0. * the Broadband Modem/Router combo.

    Is this possible and, if so, how do I configure Airport Extreme to do?

    Normally, you don't want two devices on the same network as the two try to act as routers to the same network. Which will produce conflicts of IP addresses... which can possibly be addressed... and a Double NAT problem, which cannot.

    The Double NAT error can cause a number of unpredictable issues... things like the problems of communication between the devices on the network, slow navigation... or, not navigation in the case of certain websites, Internet access slower, to name a few.

    Yes, some users may get away with a Double NAT on a single home network, but unnecessarily complicating things over a network is normally something you want to avoid.

    We do not recommend it, but if you really want AirPort Extreme for use range 192.168.2.x however, you can easily make this change using AirPort Utility. If you are not sure how to do this and need help, then we will need to know which version of AirPort utility you are using.

    To find, open AirPort Utility, and then click the menu of AirPort Utility in the far left of the screen corner. Click on about AirPort Utility to see what version you have and post back with that info.

Maybe you are looking for

  • COMPAQ CQ6Q: SYSTEM OFF AFTER 3 ATTEMPT! 82380417 PLS HELP!

    PLEASE HELP ME SOLVE THIS PROBLEM...

  • Write the string to the ini file problem

    I was tring to write a string in an ini file, which should be: [Basic information]File Name=C:\\11111.doc but the result is: [Basic information]File Name="C:\\11111.doc. whence the double quote come?

  • Compaq dc7600 CMT acknowledges no more than 3 MB of memory

    I have a Compaq dc7600 CMT.  If I load more than 3 MB of memory in the 4 slots, it only recongnizes 3328.  The bios sees 4 but when memory test jumps after 3328.  In windows, it said 3.24 MB.  Any suggestions?

  • Help of standardization

    -Very well, so I volunteer in a main recreation center and I'm supposed to do technical support with the instructors. We have 9 computers with the same hardware, and all the standard running xp. Teachers want to make sure that whenever a computer is

  • Get on tax NETFILE reader/c - xp

    Instructions by Revenue Canada say press browse and then double-click docs + settings - do not know where to find cover from the GB - PS - I am a beginner on this - thanks for any help - Don W.