Large Flex App... questions..

Hi,
Here are my questions....
Thanks for your feedback....
What is the largest deployment of Flex that you know of?
I need to scale Flex to 1 million users. Where does Flex
break when pushing high volume through the server?
How scalable is the Flash Player? Will it be the breaking
point for a massive user base?
Will the downloading of the swfs cause throughput to
bottleneck? What solutions for a boundary caching server could be
available...Redirect the enterprise to a server outside of the main
web servers for all swf downloads.

Scalability would depend on how you're using Flex. Flex by
itself is really just client side tech, so the number of users
doesn't matter very much. (If you mean Flex Data Services, I don't
know much about that.) If you're using a Java back end, .NET, etc.
I think it'd just scale similarly to how they normally do, although
you'd have to take into account downloads of the flash files to
client machines. (Generally a one-time deal I guess since it should
be cached for later uses.) But this could vary greatly depending on
what you're doing.
Also, while you're doing larger (generally) one
time-downloads, you also have to consider that (depending on
exactly what you're doing, and how)... with rich client technology
you don't make as many round trips to the server. With very high
numbers, depending on specifics of what your application does of
course, you might even be able to save bandwidth in the best cases.
The nice thing about rich client technology is that if done
right, they can take alot of work away from the server, so I'd
imagine they can be cheaper, fewer in number, etc. Most users have
decently powerful machines that just sit, being bored, while you're
using web browsers. Flex can take advantage of all that extra
processing power. (Of course again this entirely depends on what
you're doing.)
BTW, you don't mean 1 million concurrent users, right?
Usually concurrent user numbers would be much lower. Are you asking
for Google or something? =) (No need to answer that!)
That's my opinion if it helps any... just an opinion as I
don't have examples to provide, but I'm sure somebody does.

Similar Messages

  • Existing Flex App With Air

    I have been working on a large Flex App using CFM as the db
    access layer. Essentially I understand that AIR will allow my RIA
    which is currently solely used in a browser run off line as a
    desktop app. However, my question is what's involved in modifying
    this application to push 'new' data added while off line back to
    the db when a connection becomes available.
    Some guidance on this subject would be great, or is this
    something which should require no modification?

    AIR doesn't give you any synchronization mechanisms. It's
    entirely up to you how you manage offline operation.
    What AIR actually does is provide an out-of-browser runtime
    environment for Flex apps, plus some additional APIs that Flex
    couldn't give you due to its browser-based nature. Among them are
    access to a local database, plus more generalized local filesystem
    access. Between these two things, you can store local changes while
    offline, then work out some way to push them to the server at a
    later time.
    You might make your first step into the AIR world just a
    simple port of the existing application to run under the AIR
    framework. This won't give you any new offline capability, but it
    will let the app run as a desktop app, outside a browser. This may
    make more sense for your type of application. Then once you get
    that going, you can worry about synchronization.

  • Begginer Flex Apps for browser Questions:

    Begginer Flex Apps for browser Questions:
    To change Dim in Flex App I must change file in address bar of browser, in other words create another page?
    Usually Flex Web sites come in only one file or many [upper 10?]?
    Scrolled Area in Flex how called [I mean like XHTML DIV Scrolled area?
    I book Flex 4: vol. I , Tranning from the Source, from Adobe press, covered:
    Scrolled Areas
    email components
    publish to live server
    if not, then all these covered in vol.II?

    to change the dimension of your flash window inside the browser you can use javascript... or you can have your flash-element in full size of the browser window and handle the resizing flash-intern, so you do not need an extra page for that. Just take a look at the HTML-Code and ask again if you are not that skilled with HTML/JavaScript.
    usual you have only one SWF.
    You can use the spark Scroller (see http://blog.flexexamples.com/2009/05/01/creating-a-scrolling-spark-panel-container-in-flex -gumbo/ for example)
    Sorry, I don't know, but I can give you some hints:
    for scrolling you can use Scroller
    I don't know, what you mean by e-mail but you can use javascript to create a "mailto:"-link (see http://flexonblog.wordpress.com/2007/12/18/mailing-in-flex-using-javascript-function-mailt o/ )
    the easiest way to deploy you just have to copy your swf and html-files from your flex-project to a web-server.

  • How to call Flex app from Javascript in portal question

    I've setup my flex 4 app with a callback function. The flex app is embedded in a Java portlet on a WebLogic Portal 10.3.2. How can I call the Flex app from the portlets javascript function? Code below shows how the flex app is embedded in the wrapper jsp.
    <script language="JavaScript" type="text/javascript">
            AC_FL_RunContent(
                        "src", "<%= srcPath %>",
                        "id", "<%= (String)request.getAttribute("portlet_name") %>",
                        "name", "<%= (String)request.getAttribute("portlet_name") %>", 
                        "width", "<%= request.getAttribute("width") %>",
                        "height", "<%= request.getAttribute("height") %>",
                        "align", "middle",
                        "quality", "high",
                        "FlashVars", "PORTLET_WS=<%= request.getAttribute("window_state")%><%= wsrpEncodedChannel %>",
                        "allowScriptAccess","sameDomain",
                        "type", "application/x-shockwave-flash",
                        "pluginspage", "http://www.adobe.com/go/getflashplayer");         
    </script>

    Thanks for the response. I followed the instructions in the link, but it does not appear to work within a Weblogic 10.3.2 portal. My Flex app is wrapped in a Java JSR 286 portlet. Should this approach work or is there a different approach for the portlets wrapper JavaScript to call a Flex callback function?
    thanks
    Dan

  • Why would I need to use LiveCycle Data Services in a Flex app?

    I cannot figure out what additional functionality is provided by using LiveCycle Data Services in my Flex apps.  I cannot get a clear understanding of how using LiveCycle Data Services would benefit my applications.  Does someone out there use LiveCycle Data Services?  If so, what do you do with it in Flex?
    Thanks!

    - data push for publish/subscribe implementations
    User has to do nothing to get updated information. You push it to their machine when new data is available, like Yahoo finance updated quotes.
    - data paging
    You don't want to display one million rows in your datagrid at once. Get a batch of data, if the user scrolls down, get the next batch, etc.
    - server side clustering
    One server does not get overloaded. High traffic sites have their large number of concurrent connections managed more efficiently.
    - JMS services
    JMS is a powerful technology for messaging throughout an application, and LCDS makes it much easier.
    - RTMP tunneling
    Allows the use of the RTMP protocol in LiveCycle Data Services applications. Makes it easier to traverse firewalls and proxies appropriately that currently prevent direct RTMP client connections to the server.
    If this post answered your question or helped, please mark it as such.

  • Architecture of larger Flex applications

    Hello,
    I'm new to Flash and Flex development, having been a .NET developer for many years.  I am now putting together a Flash application for the web and I suspect that I'll be using Flex and Flash Builder as my primary development tools.
    I had a question about overall architecture of a larger scale application.  Specifically, how should a Flex app be structured or architected to group UI elements and load and unload those elements as particular portions of the application are navigated to.  The best analogy I can make would be pages in a web application, or Forms in a windows application.  It seems pretty clear that the "state" structure from Flash Catalyst is not the right way to do this.  And I don't know if multiple "stages" from Flash Pro can be created, saved, and loaded as needed by Flex.
    Thanks in advance for your help, and guidance for a very new developer to these tools!
    -Ben

    Thanks for the fast reply Darrell!
    That seems to be the right path, sometimes it's just a matter of vocabulary and knowing what words to Google search for
    -Ben

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • How can i see how large an app is and how much data is stored

    In ios7 I could select an app and see it's size and how much data is stored in using it on my iPhone.
    I can't seem to locate that option in ios8.1
    to refresh and app I had the option of deleting it and reinstalling before based on the information held by the app.
    is this clear?
    MyFitnessPal is taking a long time to load, thought I would see how large the app is and how much info is stored
    but as I've redundantly stated here I can't find that option in my phone now.
    thanks in advance for any help you can offer
    iPhone 5 iOS8.1

    For reference in iOS 7 it is under Settings app > General > Usage.
    According to the manual iOS 8 is the same…
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    (page 177)
    Usage information
    View cellular usage. Go to Settings > Cellular. See Cellular settings on page 179. View other usage information. Go to Settings > General > Usage to:
    Display battery level as a percentage
    See Battery Usage, including the elapsed time since iPhone has been charged and usage by app
    View overall storage availability and storage used per app
    View and manage iCloud storage
    For me it take a few seconds to load, you may find that the app is being slow to open if it is still downloading some data for it's own caches etc. Try to ensure it has a good internet connection. Obviously it could just be that the service in question is also having issues, so consult their support too.

  • HTTP request logger/simulator for flex app

    I have a server that provides input xml data to a flex app in a browser be displayed on the screen for editing over http. Can someone suggest a way to cache and simulate this server's response? I need the flex app in the browser to work even when the server is down (for testing and UI dev). Any tools or ideas that I may be able to use?
    Thx

    just point your HTTPService tag to any local xml file having static data snapshot using url attribute
    If you feel this message answers your question or helps, please mark it respectively

  • Deploy Flex app

    I'm using FB3 to build and release Flex app. Copy the
    bin-debug directory out of the workspace and change the directory
    name, make a zip file from the directory.
    Upload the zip file to the server and unzip the file.
    FB3 creates a html wrapper for the swf file. Is accessing the
    swf file directly better than going through the HTML
    wrapper?

    This is actually more of a SAP J2EE engine question as there
    may be some set up that it keeping it from accessing the correct
    jar files. I'm not sure how the SAP J2EE works, but it has tomcat,
    the solution might be found here:
    http://forum.java.sun.com/thread.jspa?threadID=487257&messageID=2283292
    The mx4j-jmx.jar probably has your missing files. You can
    download it here (
    http://mx4j.sourceforge.net/)
    and see if that works.

  • Should I learn Fireworks or Builder to Design Flex Apps?

    I need help in making a process decision on how to build Flex
    Apps going forward.
    In the past, we have built the concept for our Flex app in
    Photoshop and sent it over to our development team in India to
    build. The process has been difficult because our engineers are not
    designers and our designers are not engineers. Invariably we spend
    alot of time bridging the gap between whats possible and what we
    want to see in our Apps.
    I want to bring our Design and Dev much closer together and
    essentially take the GUI out of the hands of my Indian Developers
    and let them focus on the backend.
    To accomplish this goal, I will be training my US Design team
    to become either Fireworks Experts or Flex Builder Experts....
    (they are already Photoshop experts) This is where I need your
    help. If you were starting from scratch with a talented design team
    that could learn either tool, which one would you choose to
    accomplish the goal? Does the Fireworks to Flex export create
    crappy code like Dreamweaver thats tough to modify manually? Does a
    "true" Flex developer despise Fireworks-generated code?
    I have read up on the Fireworks>Flash Catalyst>Flex
    Builder Path and dont understand the additional step... is Catalyst
    part of Fireworks and thats how Flex code is developed or is it a
    new code generation engine that does code better than Fireworks
    CS4?
    Thanks in advance.

    I am understanding my question better now... Please read
    below
    I am attempting to remove inefficiencies in my Flex
    development process by re-tooling my design team so that their UI
    and application design output files can be imported directly into
    the developers environment. Essentially, I want designers to
    produce prototypes with working client-side interactions while the
    developers focus on back-end interactions.
    Our current process has a number of throwaways that occur
    during the web application build process: from wireframe, to
    Photoshop, to development using the Photoshop output as a guide for
    development... this last step is often the most mangled because is
    difficult to implement the design exactly as the designer created
    it in Photoshop because designers do not fully understand what is
    possible. I want to remove the steps in-between and have found two
    possible solutions to do this.
    Option 1) Fireworks CS4>Catalyst(Thermo)>Flex4
    SDK>*.SWF
    Option 2) Fireworks>Flex3 SDK>*.SWF
    With Option 1, we would tool up our Designers on Fireworks
    and Catalyst and get our developers on the Flex4 SDK. The output of
    the design/build would be only compatible with Flash10 and the
    stock component library for Flex4 would be limited.
    With Option 2, we would tool up our Designers on Fireworks
    and use the native Fireworks export to Flex 3 (not sure how well
    this works?). The output would be compatible with Flash 9 and the
    stock and aftermarket component library for Flex3 would be rich.
    Do I have this right? Which option would you choose and why?
    Thanks in advance.

  • Configuring socket policy for flex apps(with blocked port 843)?

    We have built several flex-based ecommerce apps for a fortune 500 customer of ours, that for various reasons, we need to use sockets to a different domain and requires a socket policy file, but were having trouble configuring our flex apps for deployment in thier enviornment where they are blocking virtually everything except port 80 . The current documentation in in regards to socket policy files and crossdomain files in a non-standard configuration not using port 843 is not providing any useful help to us.
    Here is the scenario:
    Flex apps are served from domain www.a.com in  to users browsers via http. The apps then make socket connections to domain www.b.com:80 where there are php scripts serving json data to the flex apps via port 80 using http(we use sockets because we need to set and read back http headers). The problem is the flex apps cannot make socket connections to the www.b.com domain without errors like below(unless we setup a socket policy server on port 843 of www.b.com, in which case everything works):
    Warning: Timeout on xmlsocket://www.b.com:80 (at 3 seconds) while waiting for socket policy file.  This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com.us/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Since we cannot use port  843 for the socket policy file server, we setup the socket policy server on a different ip in the same domain: spf.b.com:80 (using the sample perl code Adobe provides), and per the docs(cited below), use Security.loadPolicyFile("xmlsocket://spf.b.com:80") before we invoke "socket.connect", to supposedly tell the flash player to check there for the socket policy file. The problem, as you can see from the error log, is that the  loadPolicyFile("xmlsocket://spf.b.com:80") is ignored.
    No matter what we do or how we set things up, we cannot get the flash player to recognize the loadPolicyFile(), it always wants to go to the port were making the socket connection on. It is unclear how to properly configure the flex app, socket policy file and crossdomain file for the above scenario. The docs allude to being able to serve  the socket policy file from a different port 80 in the same domain as the socket connection were trying to make, but were having no luck with that.
    ->Can anyone shed some light on how to make this work or what are we  missing/doing wrong? Also, if we can get this to work, are we  stuck with a 3 second delay because this(very large) customer is blocking port 843?
    As an aside,  the documentation for all this is a bit scattered, unclear and contrdictory:
    One document says:(http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_07.html)
    "This warning usually means one of two things: first, that you need to set up a
                socket policy file server on port 843, which is the first location that Flash
                Player checks by default; or second, that you need to provide more explicit
                guidance to Flash Player from ActionScript by calling loadPolicyFile to indicate the location
                of a socket policy file. When you call loadPolicyFile rather than allowing Flash Player to check
                locations by default, Flash Player will wait as long as necessary for a
                response from a socket policy file server, rather than timing out after 3
                seconds."
    Another document says(http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html):
    "If an ActionScript Security.loadPolicyFile() command exists within               the SWF file, then the Flash Player runtime checks that location. Flash Player checks               the destination of the loadPolicyFile() only after it has checked the               master policy file on port 843 for permission to acknowledge other policy               files. If the developer has not specified a loadPolicyFile() command,               then Flash Player checks the destination port of the connection."

    I found the reason why the Flex application was ignoring the socket policy (crossdomain.XML). I have a policy server that listens to port 843 and submits the policy to the Flex client. My policy was getting ignored by the Flex application and I was getting the sandbox security error you were getting. The solution to this problem isto write a null byte right after the policy server sends the policy. I'm using Apache Mina that is wrtten is Java and the null byte is written as follows:
    public void sessionCreated (IoSession session)
            throws Exception
            session.write(_policy);  -- > policy string
            session.write("\u0000"); --> null byte
             //session.close(true); ---> No need to close the session because it is closed by the Flex client after it receives the null byte.
    Now my Flex application can read and accept the policy from port 843 and I'm not getting more security violations.
    Thanks for your reply,
    Alberto

  • Standalone Flex App

    I want to use some components from a Flex app that we are
    developping to create a standalone application for some of our
    clients who just want to use a few (small) features of our
    application.
    I'm planning to use the in-process HSQLDB database and no
    server-side code (i.e. no server at all), and have the following
    questions:
    1. Did anyone try to this yet? Is it at all possible?
    2. How can I setup a jdbc connection to an in-process
    (embedded) hsqldb, without going through a server object?
    Thanx in advance for any suggestion (even: "not possible,
    forget it...")
    Rui

    You want to look for Adobe Apollo (coming out next year) or
    mdm Zinc's product. At least with Zinc, You can make standalone
    Flex exe projects that can connect to local databases etc...

  • Are States a Big Part of Flex apps?

    Hi, I'm a flex newbie and I've been making considerable progress in the past few weeks.  I just learned about states and have been heavily experimenting with them.  I just want to know if states are an essential part to making Flex apps or is it one of those optional things?  For example, the website: http://www.acrobat.com is made in flex.  I am wondering if this site is made through states (when you click it, it goes to a new state) or is there something else that all Flex apps are usually made of?  Thanks, sorry if this question is confusing.

    Jerry62712 wrote:
    I use states, but I'm a newbie.
    BTW, this reply window took 42 minutes to open.  I wonder what they wrote this forum in - I hope it wasn't flex.
    I think they (the Jive Software goons/clowns) wrote it in COBOL.
    Hey, it's that bad, isn't it?
    It's actually Java and JavaScript, and I imagine JavaScript is the source of a good number of the problems.  Java works fine as a back end for a Flex site but when it's serving html to browsers with crap like JSP/JSPA, it's a big pile of rubbish, especially when you start throwing around JavaScript hacking  garbage all over the place like Jive seems to have an obsession with. This text entry box is the most slow, buggy piece of junk I've ever seen, anywhere--and that's on more than one browser.

  • Are 'projects' required when creating flex apps

    hello;
    I have spent 2 days doing several flex tutorials, and it seems everyone of them requires me to create a new project. Eclipse, then, automatically creates lots of files with names hardcoded into them.
    I, personally, am uncomfortable with this approach: a tool creates my tool-shed automatically.
    is there an alternative to developing flex apps in flash builder?
    thanks.

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

Maybe you are looking for

  • Help on calling a dynpage on click of a URL

    hi all, I have a iview of a jspdynpage and it contains a url link as below.. http://amsdc2-s-917.europe.shell.com/irj/servlet/prt/portal/prtroot/com.shell.ep.siep.sapportals.service.c000326_login_management_client.default?id=0&targeturl=http://sww-je

  • Why increase in monthly billing

    My bill was quoted at $101.49 and has been that amount; however, upcoming bill is for $120.14, a difference of $18.65. Please explain why the increase. Thank you.

  • Query based on parameters

    Hello, I have two forms. The first takes several values that are entered and then passes them as parameters to the second form. How can I retrieve all records (execute query) in the second form based on the passed parameters. What I want to do is sea

  • Macbook Restart Error

    Hi there, I am having some issues with my Macbook Pro as of late ranging from a whirring fan noise to unexpected restarts to constant freezing. I was wondering if any one of you in the Macbook Pro community could help me debunk this warning report th

  • Skype freezing Win 7 x64-Bit

    When I start skype and I login explorer.exe stops working, so the Desktop and the start menu freezes. I can do CTRL+ALT+DELETE and log off but I can't use the TaskManager to close skype so I have to click "Skype-->Sign Out" then explorer.exe (Desktop