Adobe Air needs HTTP gzip compression

Hello
We are developing an Adibe Air application. We use SOAP for
service calls and we depend entirely upon gzip HTTP compression to
make the network performance even vaguely acceptable. SOAP is such
a fat format that it really needs gzip compression to get the
responses down to a reasonable size to pass over the Internet.
Adobe Air does not currently support HTTP gzip compression
and I would like to request that this feature be added ASAP. We
can't release our application until it can get reasonable network
performance through HTTP gzip compression.
Thanks
Andrew

Hi blahxxxx,
Sorry for the slow reply -- I wanted to take some time to try
this out rather than give an incomplete response.
It's not built into AIR, but if you're using
Flex/ActionScript for your application you can use a gzip library
to decompress a gzipped SOAP response (or any other gzipped
response from a server -- it doesn't have to be SOAP). Danny
Patterson gives an example of how to do that here:
http://blog.dannypatterson.com/?p=133
I've been prototyping a way to make a subclass of the Flex
WebService class that has this built in, so if I can get that
working it would be as easy as using the Flex WebService component.
I did some tests of this technique, just to see for myself if
the bandwidth savings is worth the additional processing overhead
of decompressing the gzip data. (The good news is that the
decompression part is built into AIR -- just not the specific gzip
format -- so the most processor-intensive part of the gzip
decompression happens in native code.)
Here is what I found:
I tested this using the
http://validator.nu/ HTML validator
web service to validate the HTML source of
http://www.google.com/. This
isn't a SOAP web service, but it does deliver an XML response
that's fairly large, so it's similar to SOAP.
The size of the payload (the actual HTTP response body) was
5321 bytes compressed, 45487 bytes uncompressed. I ran ten trials
of each variant. All of this was done in my home, where I have a
max 6Mbit DSL connection. In the uncompressed case I measured the
time starting immediately after sending the HTTP request and ending
as soon as the response was received. In the compressed case I
started the time immediately after sending the HTTP request and
ended it after receiving the response, decompressing it and
assigning the compressed content to a ByteArray (so the compressed
case times include decompression, not just download). The average
times for ten trials were:
Uncompressed (text) response: 1878.6 ms
Compressed (gzip) response: 983.1
Obviously these will vary a lot depending on the payload
size, the structure of the compressed data, the speed of the
network, the speed of the computer, etc. But in this particular
case there's obviously a benefit to using gzipped data.
I'll probably write up the test I ran, including the source,
and post it on my blog. I'll post another reply here once I've done
that.

Similar Messages

  • Got a Lenovo G50-70 computer running windows 8.1. Got a pop up says Adobe Air needs to be updated asks when do you want to update. Is this legitimate? I'm worried about viruses, worms. thanks.

    The popup says An Adobe AIR update is ready to be installed.
    I'm not sure it's really a message from Adobe.
    I may not have any need to use AIR if it was installed on my computer by Lenovo or Windows 8.1.
    My last computer had a popup that was, I think, a worm which told me I needed to update Flash Player Pro.
    So, I'm nervous now about popup messages. I wish all legitimate programs could have options to Automatically install updates.
    Can someone tell me if the popup sounds legitimate? Some programs give you a third option of No Thanks but this one just has a box to click for Update Now and a box for Update Later.
    Thanks.

    Shouldn't be a problem.  Just like Windows Update, Adobe AIR needs to update itself periodically.  Just click Update Now to update to the latest version.

  • BBC iplayer says Adobe Air needs updating: Adobe Air will not install, but says I have a later version already on my PC!

    Use Firefox. Have BBC iPlayer which will not load, saying I need a newer version of Adobe Air: when trying to instal Adobe Air, get message saying I already have a more recent version. It worked when I was using IE, but not since changing to Firefox.

    Hi there,
    stumbled on this conversation after having problems myself.
    After lots of trial and error, I was finally able to install iPlayer on my MacBook Pro.
    Firstly remove Adobe Air (Applications, Utilities, Adobe Air Uninstaller).
    Reboot (not sure if it is needed but it is what I did).
    Download Adobe Air 2.5 from http://kb2.adobe.com/cps/853/cpsid_85304.html
    Then retry installing iPlayer from the BBC webpage. I ignored the prompt from Adobe Air to upgrade to the latest version (3.1).

  • Is Adobe AIR needed to run panels?

    I notice in the User Guide that Adobe AIR is needed to run the Adobe Configurator 1.0.  Is this only required at the time you develop panels or is AIR runtime needed on a machine on which you install an already developed panel?
    Any help is appreciated.
    Thanks..
    Rob

    No. AIR is not required to run panels. In fact, you cannot run AIR projects as a panel in Photoshop CS4. You can use AIR to create a standalone app to control creative suite applications using SwtichBoard. http://labs.adobe.com/wiki/index.php/SwitchBoard

  • Adobe Air and Http Referer

    hi
    i got a website that uses recaptcha for login, and i want to build a desktop application that logs into my site and have all the capabilities of the website via adobe air.
    strange thing is i cannot build a login for to include the recaptcha from my site login form via bridges because for some stupid reason you cant change the http referer in adobe air and the referer is always: app:/app.html (app.html is main html file for the application) even if you try to include in iframe or 2 iframes the http referer is the same.
    can some one explain it to me how do i achieve loading the recaptcha from my site? right now recaptcha returns: "Invalid referer error"
    i need to change the referer to my website
    thanks

    Hi,
    You can use a non-application sandbox iframe to do the communications with the recaptcha servers. And, in this case, the refferer will be whatever you'll be using as a sandboxRoot. And you can talk with the application content via the sandbox bridge.
    Here are more details on this: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7f06
    Regards,
    Raul

  • Adobe AIR Needed on Android / iOS to Run Adobe Flex Apps

    Hi all,
    I want to confirm if the user has to install Adobe AIR before launching Adobe Flex apps on Android and iOS Devices. Is there any way that we could embedd Adobe AIR setup in the app file so that the user dont have to hastle in installing Adobe AIR.
    Taimur

    It gives you only three options:
    Signed packages for each target platform.
    Signed AIR package for installation on desktop.
    Intermediate AIRI package that must be signed later.
    For mobile apps, we need to select the first option to get the .apk and .ipa file as the second option would generate .air file. None of the options offer to package AIR runtime. Only the first option gives you the option on NEXT window to include the download link of AIR Runtime.
    If i am wrong, kindly point me to that specific checkbox.
    OR do i have to put Runtime.apk in the assets folder of my source code so that it gets packaged?

  • Can't Install Adobe AIR - Need Admin Permission.

    I can't install Adobe AIR on my Windows XP as it the error message says I need to contact the administrator.
    RE:
    "An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator."
    I am the owner of my PC so the amin should be myself but do not know how to do this.
    I tried the right-click on the Adobe icon on my desktop to access the admin log in, but I am unable to do this as it won't accept any passwords I entered.
    I need to by-pass the admin or find a way to access my admin. I think I read somewhere that Adobe may have an apllication for this but could not find it.
    Anyone have any idea how to get this application running on my PC?

    I'm sorry you're running into installation issues with AIR.  Microsoft has just released a new utility that can help resolve installation problems.  Would you mind giving this a try and let us know how it works for you?  When running the Fix it, go through the uninstall process and try to remove Adobe AIR from your system.  Once finished, download the latest version of AIR and install again.
    Microsoft Install and Uninstall Fix It
    If you still encounter problems, we'll need to review the AIR installer log to better diagnose the issue.  Please post back with the log contents.  You can find instructions for finding these logs here:
    AIR Installer Log Instructions

  • Is Adobe AIR needed if no cloud is used?

    Do I need Adobe AIR? I have the whole Adobe Design and Web Premium CS6 suite but I don't use any cloud services nor plan to. If Acrobat and Photoshop ever go only the way of Adobe Cloud (which seems to be) then for the 1st time in my history with Adobe I think I will go with its competitors--but that's another issue.

    Unless something is indicating you need to install Adobe AIR, you don't need to install it.  There are many applications that you might acquire that could require having it installed, so don't be surprised if something unrelated to Adobe requires you to download AIR to make use of it.  I believe even some Adobe applications make use of AIR, like updaters and whatnot, so you might see something asking for it if you pursue having a feature.

  • Adobe Air and http redirection

    hi,
    I have a html based web application (Html+Js) working very well when it is called from a web browser. It uses Apache as web server that proxies inbound requests to Tomcat using AJP, in httpd.conf I have something like this:
    <VirtualHost *:80>
      ServerName www.myapp.com
      ServerAlias myapp.com *myapp.com
      DocumentRoot /mnt/shared/wwwroot
      RewriteEngine On
      RewriteCond %{REQUEST_URI} /app2
      RewriteRule ^(.*)$ https://myapp.com%{REQUEST_URI} [L,R=301]
      JKMount /jsp/* worker2
    </VirtualHost>
    When I try to use the same application using Adobe Air I got this message when I try to send a RPC request, for example, trying to sign in:
    HTTP Status 405 - HTTP method GET is not supported by this URL
    In apache access log I got this message:
    access_log:190.12.201.220 - - [21/Dec/2012:11:38:56 -0500] "GET //app2/auth HTTP/1.1" 301 308 "http://adobe.com/apollo" "Mozilla/5.0 (Macintosh; U; I
    ntel Mac OS X; en) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.2"
    What might be happening?  Thanks for any help.

    Hi,
    You can use a non-application sandbox iframe to do the communications with the recaptcha servers. And, in this case, the refferer will be whatever you'll be using as a sandboxRoot. And you can talk with the application content via the sandbox bridge.
    Here are more details on this: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7f06
    Regards,
    Raul

  • Is Adobe Air needed for Photoshop elements 12?

    I need some space for my computer and was just wondering if I needed adobe air in order to run Photoshop smoothly.An answer would really help.

    Adobe Air is used for Help Files and so yes it is needed if you are going to use online help system
    Anyway. it occupies very little space by modern standards.  What is the size of your HD?  Are you sure your system meets the minimum systems requirement?
    There are pdf files you can download and store them in flash drive as your help files but your use of PSE won't be very good using this method IMHO.

  • Need Adobe Air To Install Adobe Air

    While trying to install another product my MacBook Pro i7 OS X verizion 10.7.2 informed me that it needed Adobe Air to install completely, so i travled to the Adobe page and downloaded Adobe Air, when trying to install this product I was informed that Adobe Air needed Adobe Air to be installed.

    Attention Mac 10.7.2 users that are crashing with Adobe AIR
    We are aware of the crashing that can occur with late model Apple computers running 10.7.2 and are working closely with Apple to address this. In the meantime here are a couple of workarounds you can use:
    Open System Preferences, select Energy Saver and disable Automatic graphics switching (or use a third party GPU switcher, such as gfxCardStatus and enable the Nvidia GPU)
    Before launching your AIR based application, launch either Google Chrome or Mozilla Firefox.
    We apologize for the inconvenience and hope to have this resolved soon.

  • Trouble installing....wants Adobe air.......

    I tried to install the adobe download assistant.  I went through the bar as if install was complete then a window popped up that said it needed an Adobe Air file and to go download the newest version of Adobe Air.  So I tried to download Adobe Air and it popped up the same window asking for adobe air.  I'm on a Mac......any suggestions?

    Adobe Air is a requirement to use the Adobe Download Assistant.  I would recommend you try downloading and installing Adobe Air from http://get.adobe.com/air/?promoid=BUIGQ.

  • Adobe AIR - Not connected to the internet

    I was sent anvery urgent, important document that when I tried to open it, said I needed Adobe Air to read it.  I downloaded the Air but when I tried to read my document, I got an error message that said i was not connected to the Internet. I was, of course!!!!!! I have tried everything including uninstalling and reinstalling several times but it still doesn't work and I get the same message. I am extrememly frustrated with being unable to find any support on the Adobe web site. This is the only post I see. i do not understand all the gobbledegook I see here. Anybody out there that can help? I need this document. Thanks

    Hi, ggmnat. Welcome to the Adobe user-to-user forums!
    The question you are asking about is related to Adobe AIR, but you have posted it in the Kuler forum.
    You may be able to use one of these documents to help you with your issue:
    http://kb2.adobe.com/cps/403/kb403150.html
    http://kb2.adobe.com/cps/902/cpsid_90205.html
    http://kb2.adobe.com/cps/902/cpsid_90202.html
    I would also recommend that you post your concern in the Adobe AIR forum: http://forums.adobe.com/community/air/installation

  • Adobe AIR and Adobe´s About Flash -site?

    I encountered a strange thing while checking if I have the latest version of Adobe Flash installed.
    When I go to About Flash page (http://www.adobe.com/software/flash/about/) I instantly get the following notification on separate window:
    "Adobe AIR
    Something went wrong trying to install this application.
    Please install the latest version of Adobe AIR from http://www.adobe.com/go/getair and then try again."
    I´dont have Adobe AIR installed on my computer. Notification shows up with Firefox and Safari and only when I´m logged in as an Administrator. My operating system is Mac OS X 10.6.
    My questions are 1) Has anyone else encountered the same thing? 2) why does About Flash page communicate with Adobe AIR?

    You don't need AIR runtime on iOS; see http://www.adobe.com/devnet/air/articles/air-on-ios-faq.html#b

  • Adobe AIR on Samsung GT-S5570

    I need Adobe AIR on my Samsung GT-S5570 Android 2.3.6 GINGERBREAD.
    Following your information it should work.
    But I always get the message "Uw apparaat is niet compatibel met deze versie"
    Can you help me?

    I would recommend you post your inquiry in the Adobe AIR forum - http://forums.adobe.com/community/air.

Maybe you are looking for