[flexcoders] Re: HTTPRequest and Air too slow?
Interessting! I will keep that in mind but regarding the fact, that i use JSON and pass just one single param, it seems to be a strange behaviour i recognized. Hm, i'll have some more research to do... --- In flexcoders@yahoogroups.com, "Amy" wrote: > > --- In flexcoders@yahoogroups.com, "florian.salihovic" > wrote: > > > > Yes, actually i did so. > > > > I ran an URLLoader against different backend api calls. Those are > usually defined values > > for server-side calls. > > > > I had a slighty overhead: ~80 - 120ms + parsing the data and adding > it into an > > ArrayCollection compared to the values i got via Charles. > > > > So i can be sure that an HTTP request done by Air > (ActionScript/Flex) will not behave > > differently then a HTTP request by another application? And we > should take a look in > > some other corners of the system? > > Here is one place I have found a difference: > > http://flexdiary.blogspot.com/2007/07/flex-reorders-url-string- > parameters.html >
[flexcoders] Re: HTTPRequest and Air too slow?
--- In flexcoders@yahoogroups.com, "florian.salihovic" wrote: > > Yes, actually i did so. > > I ran an URLLoader against different backend api calls. Those are usually defined values > for server-side calls. > > I had a slighty overhead: ~80 - 120ms + parsing the data and adding it into an > ArrayCollection compared to the values i got via Charles. > > So i can be sure that an HTTP request done by Air (ActionScript/Flex) will not behave > differently then a HTTP request by another application? And we should take a look in > some other corners of the system? Here is one place I have found a difference: http://flexdiary.blogspot.com/2007/07/flex-reorders-url-string- parameters.html
[flexcoders] Re: HTTPRequest and Air too slow?
Yes, actually i did so. I ran an URLLoader against different backend api calls. Those are usually defined values for server-side calls. I had a slighty overhead: ~80 - 120ms + parsing the data and adding it into an ArrayCollection compared to the values i got via Charles. So i can be sure that an HTTP request done by Air (ActionScript/Flex) will not behave differently then a HTTP request by another application? And we should take a look in some other corners of the system? Best regards. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > On Wednesday 18 Feb 2009, florian.salihovic wrote: > > Any ideas regarding Air and some problems when it comes to network issues? > > I don't recall any. Did you try a stripped down test case ? > > -- > Tom Chiverton > Helping to widespreadedly disseminate visionary e-services > > > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England and > Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and may > be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > For more information about Halliwells LLP visit www.halliwells.com. >
Re: [flexcoders] Re: HTTPRequest and Air too slow?
On Wednesday 18 Feb 2009, florian.salihovic wrote: > Any ideas regarding Air and some problems when it comes to network issues? I don't recall any. Did you try a stripped down test case ? -- Tom Chiverton Helping to widespreadedly disseminate visionary e-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: HTTPRequest and Air too slow?
I actually used Charles to have a look at the network communication. It seems like the data is received in the URLLoader (in my tests i use an URLLoader instead of the HTTPService) about 100 - 120 ms after the data is received. Which is some sort of overhead which might be caused from the infrastructure overhead from AIR-Runtime to the actual URLLoader instance. Any ideas regarding Air and some problems when it comes to network issues? --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > On Tuesday 17 Feb 2009, florian.salihovic wrote: > > But somehow the HTTPService seems to wait longer for the service's > > response. > > Can you get a packet trace off the network ? > > -- > Tom Chiverton > Helping to authoritatively benchmark compelling fine-grained back-end > best-of-breed functionalities > > > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England and > Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and may > be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > For more information about Halliwells LLP visit www.halliwells.com. >
Re: [flexcoders] Re: HTTPRequest and Air too slow?
On Tuesday 17 Feb 2009, florian.salihovic wrote: > But somehow the HTTPService seems to wait longer for the service's > response. Can you get a packet trace off the network ? -- Tom Chiverton Helping to authoritatively benchmark compelling fine-grained back-end best-of-breed functionalities This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: HTTPRequest and Air too slow?
Actually both are doing the same thing. The HTML Frontend is an AJAX Client. It sends requests and gets the result. Allthough flex processes more data (about 10 times more), it's just a few k's... But somehow the HTTPService seems to wait longer for the service's response. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > On Tuesday 17 Feb 2009, florian.salihovic wrote: > > behave the same way everytime. It was tested in a different environment and > > the responses reached the client after seconds. > > It was compared to an HTML-frontend which uses the same PHP-API in the > > background. The HTML frontend was constantly fast. > > Are you measuring the same thing ? By which I mean does the Flex app do much > processing after getting the data, and maybe the HTML version is better at > that part. > > -- > Tom Chiverton > Helping to globally customize web-readiness > > > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England and > Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and may > be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > For more information about Halliwells LLP visit www.halliwells.com. >