PDA

View Full Version : Threading Aspects of Flash Remoting.


moschops
06-03-2005, 02:51 PM
Hi all.

I'm currently evaluating Flash MX, ActionScript etc with a JRun back end.

I have one concern that I cannot find an answer to:

I'm basically wondering how safely ActionScript deals with concurrency issues. For example, say you had a dynamically-updating stock ticker on a Flash page, but also some fields and buttons that allowed user input on the same page. Would there be any threading issues regarding method calls going through to the flash app for the stock ticker and the fields at the same time? And what if the user-inputted information affected what was being shown on the ticker?

Thanks in advance for any help.

moschops

you_rock
06-03-2005, 03:23 PM
I am not sure exactly what you are asking.

Here is my experience and perhaps it will answer something.

I have flooded the server with calls from Remoting. It processes them as it can in a que. So you could get out of sync if the user submitted data exceeded the ability of the server to process those requests.

Remoting is faster than the web service connector.

My usual round trip remote call and response is about 300-600 ms.

moschops
07-04-2005, 12:15 PM
Thanks for the reply, it helps.