Can sharedObject functionality be mimicked with streaming amf?

Hi
I understand there is no RTMP support in blazeds, and upon some testing done it seems that consumer/producer suffer latency issues (see for example blazeds collaborative dashboard sample application).
i would like to ask what is the way a similar collaborative dashboard application can be develop that will enjoy more "real-time" messaging.
Is SharedObject. RTMP solution the only way?
Thanks
David

Hi David. If you set the log level to Debug in the logging settings in your WEB-INF/flex/services-config.xml file you should be able to see what channel is being used. You should see something like the following printed to the console where the server is running.
[BlazeDS][INFO] Channel endpoint my-streaming-amf received request.
[BlazeDS][DEBUG] Deserializing AMF/HTTP request
Version: 3
(Message #0 targetURI=null, responseURI=/1)
(Array #0)
[0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
operation = 5
correlationId = ""
timestamp = 0
destination = ""
body = (Object #1)
messageId = "29B90E8D-AED7-0D9B-828F-4C9F2497127D"
clientId = null
headers = (Object #2)
DSMessagingVersion = 1
DSId = "nil"
timeToLive = 0
It's possible you are falling back to a polling channel which would account for the latency/delay you are seeing.
We haven't done any performance comparisons between using remote shared objects in FMS and messaging in BlazeDS/LCDS. We have done comparisons of RTMP and AMF streaming in BlazeDS/LCDS and both have relatively low latency with AMF streaming having slightly less latency than RTMP with the test scenarios we ran.
I'm assuming you can use remote shared objects to do messaging/chat scenarios or you wouldn't be asking the question although I don't know much about how remote shared objects work or how you would use them for messaging scenarios myself. A big difference as I understand it with BlazeDS/LCDS is that messaging is channel/protocol independent. With FMS all communication will be done over RTMP. If your network blocks non http traffic this means that the player will fall back to RTMP polling over HTTP (RTMPT) which is very inefficient. With LCDS you can fall back from RTMP to AMF Polling which will be more efficient than RTMPT. In very high throughput scenarios where lots of messages are getting pushed to clients you will likely get better performance using AMF polling than RTMP because with polling messages get batched up on the server. With BlazeDS/LCDS you can choose which channel to use based on which channel is best suited to the type of application you are building. In general I think BlazeDS/LCDS offers a more robust, scalable messaging solution than FMS at least in my opinion.

Similar Messages

  • [svn:bz-4.0.0_fixes] 23961: Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel

    Revision: 23961
    Revision: 23961
    Author:   [email protected]
    Date:     2012-06-15 04:42:44 -0700 (Fri, 15 Jun 2012)
    Log Message:
    Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel
    While invalidating session, make sure a new one does not get created.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPE ndpoint.java
    Property Changed:
        blazeds/branches/4.0.0_fixes/modules/

    You're trying to do this directly in ActionScript without using Flex, correct?
    The mxmlc compiler for Flex adds some registerClassAlias calls to map types between the client and the server. This will be missing if try to use the messaging code outside of a Flex app.
    Take a look at the mx.utils.RpcClassAliasInitializer class in rpc.swc. This has a static registerClassAliases method that will do the class registration for you. You should just need to call this before running your messaging code.
    -Alex

  • [svn:bz-4.6.x] 23962: Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel

    Revision: 23962
    Revision: 23962
    Author:   [email protected]
    Date:     2012-06-15 04:57:45 -0700 (Fri, 15 Jun 2012)
    Log Message:
    Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel
    While invalidating session, make sure a new one does not get created.
    Modified Paths:
        blazeds/branches/4.6.x/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoin t.java

    I thought the same that those devices simply are too old. However I would like to know what causes this capabilities change. We want to get rid of the old H/W, but at the moment it looks as if we would need to revert back to the 4402 in order to get those things working again.
    I have not enough information, but those devices are some kind of handhelds. Their MAC OUI belongs to Newport Electronics.
    Regards,
    Patrick

  • [svn:bz-trunk] 23960: Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel

    Revision: 23960
    Revision: 23960
    Author:   [email protected]
    Date:     2012-06-15 04:15:18 -0700 (Fri, 15 Jun 2012)
    Log Message:
    Bug#3200562: New Flex Session Id generated while disconnect with streaming amf channel
    While invalidating session, make sure a new one does not get created.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java

  • [svn:bz-trunk] 23948: Bug##3200562: New Flex Session Id generated while disconnect with streaming amf channel

    Revision: 23948
    Revision: 23948
    Author:   [email protected]
    Date:     2012-06-13 06:11:35 -0700 (Wed, 13 Jun 2012)
    Log Message:
    Bug##3200562: New Flex Session Id generated while disconnect with streaming amf channel
    On session time out, Flex Client is invalidated on the server side. It also results in Flex Session getting invalidated. In order to complete the client-server streaming connection handshake, the client ends up sending a CLOSE command. On the server side, for any work to be done, the MB first needs to creates a Flex Session (if none exists). After doing the necessary cleanup, the newly created Flex Session will also be invalidated. No stray Flex Sessions will left dangling...
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java

  • LCDS Streaming AMF Issue with Multiple Broswer Tabs

    Hi,
    I am facing the below problem with LiveCycle DS NIO Streaming AMF.
    I am using NIO Streaming AMF for pushing data to clients using Subtopics and selectors. The Consumer I have used is MultiTopicConsumer.
    The issue that when I try to open the application in two tabs of a browser, the consumers from the first tab connect fine, but the consumers from the 2nd tab throws the below error as taken from flashlog.txt.
    'my-nio-amf-stream' channel got status. (Object)#0
    code = "NetConnection.Call.Failed"
    description = "HTTP: Failed"
    details = "http://localhost:2080/nioamfstream"
    level = "error"
    '2885C524-D185-7679-9AC1-EC057C9E0085' consumer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    '2885C524-D185-7679-9AC1-EC057C9E0085' consumer fault for '28AC4573-EB7C-CBCE-9EE5-EC057F0F0EF8'.
    From the LCDS Debug logs what i can find is that the FlexSession being used is same and that might be causing the problem.
    Please help me as to how to make the subscriptions work from multiple tabs of the same browser.
    Can someone please help me in this regards?
    Thanks in advance.

    Hi,
    I am facing the below problem with LiveCycle DS NIO Streaming AMF.
    I am using NIO Streaming AMF for pushing data to clients using Subtopics and selectors. The Consumer I have used is MultiTopicConsumer.
    The issue that when I try to open the application in two tabs of a browser, the consumers from the first tab connect fine, but the consumers from the 2nd tab throws the below error as taken from flashlog.txt.
    'my-nio-amf-stream' channel got status. (Object)#0
    code = "NetConnection.Call.Failed"
    description = "HTTP: Failed"
    details = "http://localhost:2080/nioamfstream"
    level = "error"
    '2885C524-D185-7679-9AC1-EC057C9E0085' consumer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    '2885C524-D185-7679-9AC1-EC057C9E0085' consumer fault for '28AC4573-EB7C-CBCE-9EE5-EC057F0F0EF8'.
    From the LCDS Debug logs what i can find is that the FlexSession being used is same and that might be causing the problem.
    Please help me as to how to make the subscriptions work from multiple tabs of the same browser.
    Can someone please help me in this regards?
    Thanks in advance.

  • My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad one.

    My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad .

    Are you using the Sky Go app to try and watch it ? If so are you logged in with your Sky account ?
    If you are using the app then you could try closing the app completely and see if it works when you re-open it : from the home screen (i.e. not with Sky Go 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Sky Go app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Can I have 2 iPhones with different Apple IDs link to the same Photo Stream?

    My husband and I use the same computer and Aperture program.  I set my iPhone up with the Photo Stream from Aperture with no problem but when he set his up, it didn't get the feed of pictures.  We have different apple ID's on our phones?  Can this be done?

    just to add another question to this, can i subscribe to a photo stream, like my mate's?
    i'm guessing no, and that htis wil be a future feature. 
    I've not found any referneces to this anywhere
    much appreciated

  • Can someone pls help me with java on my macbook pro because after i download the mountain lion java has died and i need java to see streaming quotes from stock market

    can someone pls help me with java on my macbook pro because after i download the mountain lion java has died and i need java to see streaming quotes from stock market

    Java is no longer included in Mac OS X by default. If you want Java, you will have to install it.
    However, note that you should think twice before installing Java for such a trivial need as looking at stock market quotes. There are other ways to get that information that don't involve Java, and using Java in your web browser is a HUGE security risk right now. Java has been vulnerable to attack almost constantly for the last year, and has become a very popular, frequently used method for getting malware installed via "drive-by downloads." You really, truly don't want to be using it. See:
    Java is vulnerable… Again?!
    http://java-0day.com

  • Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

  • Develop streaming data processing applications in C# with Stream Computing Platform and Storm in HDInsight. Can this be done with Visual Studio Community sign up?

    Hello,
    I am a  student and love the Visual Studio Community 2013 to implement some of my research projects. I am currently working on a project that involves streaming data analysis. I found this article ( http://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-storm-scpdotnet-csharp-develop-streaming-data-processing-application/
    ) but do not have MSDN subscription (I cannot afford it)  as required in the article. Can this be done somehow with Visual Studio Community 2013 sign up?
    Thank you all in advance for your time and for your help.
    J.K.W

    Hi,
    I just confirmed that the key with Visual Studio Community is that, although it is free like Express, it does not have the limitations that Visual Studio Express had. So, to answer your question, Yes - you can do all your development work as a student with
    VS Community 2013 sign up. You can also refer to this blog for more details -
    http://blogs.msdn.com/b/quick_thoughts/archive/2014/11/12/visual-studio-community-2013-free.aspx
    Regards,
    DebarchanS
    DebarchanS - MSFT

  • Why can't I share a photo stream album with all of my contacts?

    I have been able to share one photo stream album with my sister who has an iPhone. When I try to share another album with both a friend who has an iPhone and another sister who does not have an iPhone, their names are greyed out in my contact list. Looking over my contact list for sharing photo stream albums, half of my contacts are normal, and the other half are greyed out. Any suggestions on how I can remedy this nd share with everyone in my contact list?

    For users who have iOS devices, they get a direct connection to the shared stream.  For others, they need to get an email with a link that they use in a browser.  Not too clear on the details myself, but the following link should provide the answers you need.
    http://howto.cnet.com/8301-11310_39-57508640-285/how-to-create-a-shared-photo-st ream-album-on-ios-6/

  • How can i open my imac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    How can i open my iMac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    Thx for yr reply. maybe i don't express myself very well. i know ML is 64 bit system. and it does not open up my VPN connection (the VPN connection i am talking here is Cisco and it is only in 32 bits) . i was wondering is there a way my macbook air 11 inch first generation can turn back into its original operation system, so that i can use the VPN connection. THX

  • Can generic function module extractions possible with CRM data sources.

    Hi Friends,
    can generic function module extractions possible with CRM data sources.
    90% extractions are generic function module extractions.
    How is it possible without BW adapters..
    It's very urgent ...Please.
    Thanks,
    Basava Raju

    Hi Madhu,
       Just curious ... if you already have a generic FM extractor then just go into it and find out where it is reading the data from. If its reading data from the CRM system then thre is no need for any BW adapter ... just in case you need any ABAP help ... post here ... I may be of use to you.
    Best regards,
    Kazmi

  • My iphone 4 photo auto rotation was not functioning, might be accidentally locked as I can see a locked symbol with a circle with an arroe surrounding it at the top right angle , next to the power % indicator. Please advise how to unlock it.

    My iphone 4 photo/message auto rotation was not functioning, might be accidentally locked as I can see a locked symbol with a circle with an arroe surrounding it at the top right angle , next to the power % indicator. This function was working perfectly since day 1.
    Please advise how to unlock it.

    Swipe upwards from the bottom of the screen to open Control Center. You will then find the orientation lock in the top row, last icon on the right. White is on, black is off. Tap and turn it off. If you see the lock symbol, then orientation lock is on, and that is what is keeping it in the portrait mode.

Maybe you are looking for