Hold off on this, there is some problem when running in swf, particularly on the Mac, where sometimes
one of the data chunks are not received by the server. I  am guessing that guess LoadVars.sendAndLoad
might be dropping a request if another comes in too soon or something, so maybe I need to implement some
interlock at client to wait until each request completes before launching another one (maybe need to use the LoadQueue
connections queue or something horrible like that)




On 8/27/06, Henry Minsky <[EMAIL PROTECTED]> wrote:

Change change.NCpct5908.txt by [EMAIL PROTECTED] /home/hqm/src/svn/openlaszlo/branches/legals/ on 2006-08-26 00:29:31 EDT

Summary: fix profiler to work in swf again

New Features:

Bugs Fixed:

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
   
implement half-baked ordered message protocol to try to account for possible
out-of-order data posts from client:

+ client adds sequence number to each data flush to server, server buffers them in core
+ at close time, client sends total number of chunk it thinks it sent

+ at close time server orders chunks before writing, and logs an error message if expected
number of chunks were not received



Tests:

Files:
M      WEB-INF\lps\lfc\profiler\LzProfile.lzs

M      WEB-INF\lps\server\src\org\openlaszlo\servlets\responders\ResponderPROFILE.java



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]





--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to