raghuposan, in FDS 2.5 which is now called Livecycle Data
Services 2.5 (and it's currently in beta mode on Adobe Labs),
there's a new feature called HTTP push. It's not server push per
say but it acts like one. The way it works is that when a client
polls the server (using amf-polling or http-polling), if there are
no messages for the client, the poll thread will wait on the server
until a new message arrives. When the new message arrives, the poll
thread wakes up and client gets the message. This can be an
alternative to RTMP in your environment. All you need to do is to
setup a few parameter on HTTPChannel and AMFChannel definitions as
explained below:
<!-- Optional. Default is 0. This parameter specifies the
number
of milliseconds the server poll response thread will wait
for new messages to arrive when the server has no messages
for the client at the time of poll request handling. 0 means
that server does not wait for new messages for the client
and returns an empty acknowledgment as usual. -1 means that
server waits indefinitely until new messages arrive for the
client before responding the client poll request.
-->
<wait-interval-millis>0</wait-interval-millis>
<!-- Optional. Default is 0. This parameter specifies the
maximum
number of server poll response threads that can be in wait
state. When this limit is reached, the subsequent poll
requests
will be treated as having zero wait-interval-millis.
-->
<max-waiting-poll-requests>0</max-waiting-poll-requests>
So if you want to use HTTP push instead of RTMP push, you
would set poll-interval-millis parameter to zero (which means poll
as much as you can), then set wait-interval-millis to -1 (which
means wait on the server forever) and set max-waiting-poll-request
to something non-zero. That way, client will poll, if there's no
message for it on the server, it'll wait forever until a message
arrives and as soon as message arrives, client will get the message
and poll again. So there are no wasted polls.
Let me know if you need further info.