Re: [Flashcoders] Should I use BlazeDS for this?
I'm confused... I would like to control the flash apps on ~1000 machines by sending occasional server messages to them. If I use remoting, seems I need 1000 persistent tcp connections from server to clients. That seems like a lot of connections. Would remoting be less scalable than plain old polling in this scenario? From: tom rhodes tom.rho...@gmail.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 9, 2012 12:02 PM Subject: Re: [Flashcoders] Should I use BlazeDS for this? you could look at haxe too, neko server would be very fast and you could use haxe remoting between client and server over a socket connection. would perform a hell of a lot better than polling imo. On 9 March 2012 19:51, Steven Loe stevenloe5...@yahoo.com wrote: The problem I'm having is this: I've done a lot of flash projects, but none where I've needed to control many hundreds of clients via server polling/messaging. I don't have a sense of what protocol to use in order to get lightweight (hopefully reliable) communication from server to clients that can be done without spending much on server licenses. Would moving to something like AMFast? or XML Sockets provide significant benefit? Thank you! Steven From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 9, 2012 10:54 AM Subject: Re: [Flashcoders] Should I use BlazeDS for this? WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
Steven Loe skriver: I'm confused... I would like to control the flash apps on ~1000 machines by sending occasional server messages to them. If I use remoting, seems I need 1000 persistent tcp connections from server to clients. That seems like a lot of connections. Would remoting be less scalable than plain old polling in this scenario? TCP connections are pretty cheap when idle. Unless you are running into a limit on the number of concurrent connections you shouldn't need to worry. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
Steven Loe skriver: I have a flash project that polls a php server every 10 seconds to check for commands. I have 1200 machines running this on a local network. You want push, not pull. And http can't provide push. You need a different protocol. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
have a look at sockets http://www.kirupa.com/forum/showthread.php?289815-PHP-AS3-XML-Socket-Game-Server On 9 March 2012 12:23, Henrik Andersson he...@henke37.cjb.net wrote: Steven Loe skriver: I have a flash project that polls a php server every 10 seconds to check for commands. I have 1200 machines running this on a local network. You want push, not pull. And http can't provide push. You need a different protocol. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than polling under these conditions? To add to Henrik's answer, LiveCycle supports async (push) via RTMP, but BlazeDS doesn't include RTMP support. It does support HTTP long-polling, which is about as efficient as you get without actual async communication: https://en.wikipedia.org/wiki/Push_technology#Long_polling Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak - Original Message - From: Dave Watts dwa...@figleaf.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 09, 2012 6:08 PM Subject: Re: [Flashcoders] Should I use BlazeDS for this? When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than polling under these conditions? To add to Henrik's answer, LiveCycle supports async (push) via RTMP, but BlazeDS doesn't include RTMP support. It does support HTTP long-polling, which is about as efficient as you get without actual async communication: https://en.wikipedia.org/wiki/Push_technology#Long_polling Dave Watts, CTO, Fig Leaf Software ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
The problem I'm having is this: I've done a lot of flash projects, but none where I've needed to control many hundreds of clients via server polling/messaging. I don't have a sense of what protocol to use in order to get lightweight (hopefully reliable) communication from server to clients that can be done without spending much on server licenses. Would moving to something like AMFast? or XML Sockets provide significant benefit? Thank you! Steven From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 9, 2012 10:54 AM Subject: Re: [Flashcoders] Should I use BlazeDS for this? WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak - Original Message - From: Dave Watts dwa...@figleaf.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 09, 2012 6:08 PM Subject: Re: [Flashcoders] Should I use BlazeDS for this? When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than polling under these conditions? To add to Henrik's answer, LiveCycle supports async (push) via RTMP, but BlazeDS doesn't include RTMP support. It does support HTTP long-polling, which is about as efficient as you get without actual async communication: https://en.wikipedia.org/wiki/Push_technology#Long_polling Dave Watts, CTO, Fig Leaf Software ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Should I use BlazeDS for this?
you could look at haxe too, neko server would be very fast and you could use haxe remoting between client and server over a socket connection. would perform a hell of a lot better than polling imo. On 9 March 2012 19:51, Steven Loe stevenloe5...@yahoo.com wrote: The problem I'm having is this: I've done a lot of flash projects, but none where I've needed to control many hundreds of clients via server polling/messaging. I don't have a sense of what protocol to use in order to get lightweight (hopefully reliable) communication from server to clients that can be done without spending much on server licenses. Would moving to something like AMFast? or XML Sockets provide significant benefit? Thank you! Steven From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 9, 2012 10:54 AM Subject: Re: [Flashcoders] Should I use BlazeDS for this? WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak - Original Message - From: Dave Watts dwa...@figleaf.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, March 09, 2012 6:08 PM Subject: Re: [Flashcoders] Should I use BlazeDS for this? When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than polling under these conditions? To add to Henrik's answer, LiveCycle supports async (push) via RTMP, but BlazeDS doesn't include RTMP support. It does support HTTP long-polling, which is about as efficient as you get without actual async communication: https://en.wikipedia.org/wiki/Push_technology#Long_polling Dave Watts, CTO, Fig Leaf Software ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders