flex - In Mate, Sending two or more requests to the server simultaneously? -
i'm using mate's remoteobjectinvoker call methods in fluorinefx based api. however, requests seem sent server sequentiality. is, if dispatch group of messages @ same time, 2nd 1 isn't sent until first returns. there anyway change behavior? don't want app unresponsive while long request processing.
this thread understand happens (it talks blazeds/livecylce assume fluorine using same approach). in few words happens is: a)flash player grouping calls in 1 http post. b)the server(blazeds,fluorine etc) receives request , starts execute methods serially, 1 after another.
solutions
a)have 1 http post per method, instead of 1 http post containing amf messages. can use httpchannel instead of amfchannels (internally using flash.net.urlloader instead of flash.net.netconnection). limited maximum number of parallel connection defined browser.
b)have 1 http post implement clever solution on server (it cost lot of development time). can write own parallel processor , use message consumers/publishers in order send result of methods client.
c)there workaround similar a) on https://bugs.adobe.com/jira/browse/blz-184 - create remoteobject hand , append random id @ end of endpoint.
Comments
Post a Comment