3 Replies Latest reply on Dec 23, 2006 1:02 PM by peterent

    Will Flex web application have bandwidth issue?

    wood1
      Hi folks,

      Flex usually make a large SWF (300K), is it a good idea to make a database driven web-site with a single flex application? Will it involve a bandwidth issue if many customers click it. It looks like each customer have to download 300K data from the website by default.
      Any comments?

      Merry Christmas!

        • 1. Re: Will Flex web application have bandwidth issue?
          peterent Level 2
          Consider the alternative: you develop a site with dynamic pages using JSP, ASP, etc. During the course of your application's use, your server is being hit time and time again for pages, probably going into the database, then assembling a page using that data and sending it off to the client. Then on the client the HTML has to be digested and formatted by the browser.

          With Flex, your customers hit the server, get the HTML wrapper page and download the 300K SWF. After that, requests for data make your server query the database, but then that data is delivered back to the Flex client with far less overhead since the server does very little after that. Plus you are generally transmitting just the data (in XML, or as binary AMF objects) back to the client.

          About two years ago we did a serious performance benchmark between Flex and JSP. While the initial Flex download was greater than the first JSP page, after that Flex put a lot less stress on the server.
          • 2. Re: Will Flex web application have bandwidth issue?
            wood1 Level 1
            I am wandering if the SWF file inside html wrapper will save into customers browser catch when it gets the first time hit, so that customers will need not to download it again and again after they close the browser and reopen it ,or restart their PC. Is it the usually case?

            • 3. Re: Will Flex web application have bandwidth issue?
              peterent Level 2
              The SWF may be cached by the browser.