Results 1 to 3 of 3

Thread: Remote shared object changes not getting sent to peers

  1. #1
    Join Date
    May 2012
    Posts
    1

    Question Remote shared object changes not getting sent to peers

    Problem:
    I have an application running Wowza 3 on Amazon, where clients will connect to a remote shared object over rtmpt. One client will poll an http web service, and call setProperty on the shared object to send the other connected clients the service result. I typically only have less than 500 connected clients to a shared object, each shared object will have less than 10 named properties to be updated, and only one client will call the setProperty method to update these values. Everything works well most of the time, I can see the changed values getting sent to the server and other clients receiving the updated values, yet there are times when some clients who connected to the netConnection and the shared object successfully do not receive the sync events, nor any errors. When and if this does happen, I wait and try again in a few minutes and can then see the change sync events do get dispatched to the clients again. It looks as if the server is not sending the shared object changes to the clients, perhaps because it is busy or over loaded in some way. I canít really provide steps to reproduce this as it happens very infrequently, but it does happen and I'd like to know why.

    Question:
    Is there a way to load test and log everything that's happening with the shared objects on the server, to make sure it is getting the setProperty calls to change the values, and to see that is has sent the new values to the connected clients?

    Any advice is appreciated!

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You can log everything in the module with getLogger().info("log this message").

    I don't think you can expect the equivalent of db atomicity with shared objects and Flash clients. For finer control and possibly some system of validating messaging, you can use NetConnection.call and NetStream.send on the clients side, and IClient.call, IMediaStream.send, and IApplicationInstance.broadcastMsg on the server-side

    Richard
    Last edited by rrlanham; 05-27-2012 at 08:17 AM.

  3. #3

    Default

    Swicker, did you find a resolution to this problem? I too, am having issues with my remote shared objects not syncing correctly -- most of the time, but not all of the time.

    Thanks!

Similar Threads

  1. Need help with remote shared object please
    By drdialtone in forum Server Administration Discussion
    Replies: 6
    Last Post: 02-22-2013, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •