Can you push XML data with Media Server 2

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Can you push XML data with Media Server 2

    Can you use Media Server 2 to PUSH just regular data to a SWF say like XML data sent every second?

    THX

    Kevin
    MCR Guest

  2. Similar Questions and Discussions

    1. How to push realtime data from SQL Server
      Hello, I am looking for the best way to approach the following situation ... 1) how to connect 2) what I will need to maintain "realtime"...
    2. Server PUSH to client
      We have an internal asp.net application for orders/manufacturing information. Presently we have set the META Refresh tag on the affected pages set...
    3. Server push
      Hi all, I have developed a PHP-based website where a "planner" user can make up schedules of activities to be performed, storing them into MySQL...
    4. how to do a server push
      At a certain page in my web app I'm entering users into a Queue for processing, how can I do a server push (like the expedia 'searching for...
    5. Push XML data to client for processing
      Hello, Although I consider myself a proficient C++ programmer (and am getting better everyday at C# :-) I am new to and having a little trouble...
  3. #2

    Default Re: Can you push XML data with Media Server 2

    AFAIK... no. FMS has the same XML class as Flash, but I don't think you can
    send complete XML messages to the clients. I suppose you could send the XML as
    a string and let the player figure it out... but thats sort of sloppy.

    Is there a reason you have to use an XML message? Perhaps using shared objects
    or call/send mehtods might work.

    JayCharles Guest

  4. #3

    Default Re: Can you push XML data with Media Server 2

    Well I need to produce a visual representation of a horse race as it is
    happening, so real time data needs to be sent each second. Thought about using
    Flash Remoting but it is not a PUSH technology as far as I know? So what ever
    is the best way to "broadcast" changing data to a swf?

    MCR Guest

  5. #4

    Default Re: Can you push XML data with Media Server 2

    Since you're just talking data, there are a number of ways you could accomplish
    this. Here are a few:

    1. You could use shared objects with FMS. With shared objects, the data is
    updated to each client as it changes. You don't need to specify intervals
    (although you can if you want.). If you are feeding data to FMS from an
    external source, the clients can update as fast as FMS receives the data.

    2. You could use Flex and Flex Data Services. Flex DS has the same ability to
    establish a keep alive connection with the client and receive data as it
    changes. I've never built a commercial application with Flex data services, so
    I don't know what the license pricing is.

    3. You could use remoting to have each client poll the server for updates on a
    given interval. If you have a PHP backend to your get to your data you can use
    AMFPHP (remoting for PHP), which is open source and free, and can run on a
    shared hosting account if need be.

    4. You could use LoadVars to poll the server for data on a set interval.

    5. You can use an XML socket server to push data to each of the clients. The
    downside here is that you might run into lots of firewall problems, as you'll
    have to use a port above 1024 (flashplayer restriction)

    If you can give me an idea of where your data is coming from and how many
    users you might need to serve at any given time, I can make suggestions about
    what the best option might be.


    JayCharles Guest

  6. #5

    Default Re: Can you push XML data with Media Server 2

    Wow, that's a really helpful list, thanks.

    The app could eventually be viewed by say 100,000 web users watching a horse
    race! So the most economical and efficent way of sening the data would be best
    but also a server technology than can scale well is important too.

    Thanks for all your help with this, much appreciated :-)

    Kevin

    MCR Guest

  7. #6

    Default Re: Can you push XML data with Media Server 2

    With that many users, I would eliminate the server polling options I listed
    above. That's would mean 100,000 request/reponses per update, and I have the
    feeling that's going to bog down an http server pretty fast.

    Serving 100,000 users would require an origin/edge FMS license and a number of
    servers. I haven't asked for a quote on the origin/edge license, but I've read
    that the price is upwards of $45k.

    I'm thinking that the best solution might be an XML socket server. Although
    you'll still need a number of servers and some good load balancing hardware,
    the deployment cost will be quite a bit less.

    JayCharles Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139