6-8 seconds for a simple response

On a single XP test-machine Flash Remoting is responsive. Now I distributed a simple application
http://pyamf.org/wiki/HelloWorld
which contains an echo server that decodes/encodes AMF3 messages and a Flex client equipped with an additional Button that sends a random number to the server, receives it back and displays the number in a TextArea. The machines are two XP notebooks or an XP notebook and a Vista desktop. Both listen to 192.68.1.33:8000.
The startup of the client that fetches the crossdomain.xml with GET takes about 15s. Each subsequent POST of a random number and fetching it back from the echo server takes about 6-8 seconds.
In comparison a pure Python echo/client server takes about one second to respond.
I'm not sure what makes the connection so slow that it becomes unusable? Given the previously reported hassle with messages that never receive the Flash client I'm willing to finally give up on Flash Remoting.

C-Rock schrieb:
I don't know if this helps but I've been using Coldfusion with Flash Remoting for years and it is very responsive. In fact I created an application that had to build a jpeg. Flash can only handle 30 kb's of info transfered at a time. Needless to say creating a save jpeg function was difficult. I had to get data 64 times, transfer it and store it in a database with Coldfusion and mySQL and then retrieve it to rebuild the image and save it. It actually completes the whole process in about 5 seconds. That's the largest info I've ever thrown at remoting. The normal ordering of products and what not is very fast. I know it's a pain to switch but I swear by Coldfusion and Flash. It also helps that the same company makes them both.
Hi C-Rock, thanks for your reply.
I've put the problem on the site.
The major issue is that it actually takes 8sec + X for each request in
the local network to finish no matter how much data is transferred. So
64 transfers would take about 8 minutes, not 5 seconds. Notice that the
ping shows that the network is indeed responsive. So there must be
something that causes delays and I'm not sure what it could be.
I will try to localize the cause of those delays by replacing both
client and server:
1) Replace the Flash player by another AMF-enabled client. This can also
be another instance of the server.
2) Replace the Python AMF framework + WSGI server by flourinefx + IIS,
BlazeDS+Tomcat, ColdFusion etc.
It makes sense anyway to checkout various server side solutions. The
server side bindings for the Flash shell application is tiny and I seek
for solutions that run at least on Google App Engine for Python and Java.
Regards

Similar Messages

  • Looking for a simple tutorial to building my first responsive web site in Dreamweaver CC.

    I am looking for a simple tutorial to building my first responsive web site in Dreamweaver CC.
    I have watched the tv.adobe video 3 times and I cam not able to do the actions the author shows.
    help.
    Ken Edwards

    Responsive and simple don't go hand-in-hand.  First do some prep-work to understand the concepts.
    Responsive Web Design
    http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
    Introduction to CSS Media Queries
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    Jump start your RWD projects with any of the Responsive Frameworks below:
    Foundation Zurb
    http://foundation.zurb.com/templates.php
    Skeleton Boilerplate
    http://www.getskeleton.com/
    Initializr (HTML5 Boilerplate, Responsive or Bootstrap)
    http://www.initializr.com/
    DMX Zone's Bootstrap FREE extension for DW
    http://www.dmxzone.com/go/21759/dmxzone-bootstrap/
    Project Seven's Page Packs (Commercial CSS Templates)
    http://www.projectseven.com/products/templates/index.htm
    Have fun!!
    Nancy O.

  • I need for a simple example of  reading a xml file using jdom

    Hello
    I have been looking for a simple example that uses Jdom to read am xml file and use the information for anything( ), and I just can't find one.since I'm just beggining to understand how things work, I need a good example.thanks
    here is just a simple cod for example:
    <xmlMy>
         <table>
              <item name="first" value="123" createdDate="1/1/90"/>
              <item name="second" value="456" createdDate="1/4/96"/>
         </table>
         <server>
              <property name="port" value="12345"/>
              <property name="maxClients" value="3"/>
         </server>
    </xmlMy>Dave

    Hi,
            FileInputStream fileInputStream = null;
            try {
                fileInputStream = new FileInputStream("my_xml_file.xml");
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } finally{
                if (fileInputStream == null) return;
            SAXBuilder saxBuilder = new SAXBuilder();
            saxBuilder.setEntityResolver(new EntityResolver() {
                public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
                    return new InputSource(new StringReader(""));
            Document document = null;
            try {
                document = saxBuilder.build(fileInputStream);
            } catch (JDOMException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } finally {
                if (document == null) return;
            Element element = document.getRootElement();
            System.out.println(element.getName());
            System.out.println(element.getChild("table").getName());

  • RDS 2012 R2: A timeout (30000 milliseconds) was reached while waiting for a transaction response from the (name-of-service) service

    Hi guys,
    On a random base (daily, weekly) we're experiencing major log-in problems on our Windows Server 2012 R2 Remote Desktop Services farm. The VM's are hosted on Hyper-V 2008 hosts and we're not using Citrix techniques etc.
    Users are reporting that they cannot log-in, the log-in sessions hangs with a blank screen when loading their user profile (e.g. Please Wait For The User Profile Service).
    In the System event log of the server on which the user is logging on the following errors are shown:
    Source:        Service Control Manager
    Date:          23-12-2014 7:28:01
    Event ID:      7011
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Description:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    …and after 30 (or sometimes 60) seconds, the same error only another service (in random order):
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    …and after exactly 30 seconds, the same error only another service:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UxmSms service.
    etcetera, with the following errors:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Netman service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the AudioEndPointBuilder service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the WPDBusEnum service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.
    The Portable Device Enumerator Service service failed to start due to the following error:
    The service did not respond to the start or control request in a timely fashion.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the TrkWks service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    These errors are logged continuously.
    An administrator cannot solve this since he isn't able to login in as well (console or remotely), only a hard reset of the VM is possible to use the affected server again.
    I took different steps to solve this problem without any success, like:
    - Installing the latest Windows updates
    - Removed unnecessary printer drivers, print monitors and print processors (no local printers/drivers are installed, only Remote Desktop Easy Printer driver is used)
    - Searched different forum posts, but found only hotfixes for Windows Server 2008 R2.
    Can someone please help me with this annoying problem?
    Many thanks!!
    EDIT:
    Of course is increasing the time-out not really an option here... http://social.technet.microsoft.com/wiki/contents/articles/13765.event-id-7011-service-timeout.aspx

    Hi Jeroentjuhh,
    1)Do you see this problem on all VM's or only on Windows 2012 R2 server?
    2)Are these VMs' in hyper-v cluster?
    3)Do you see event id 56 or 50? Please see the below link if it helps you to resolve these events.
    http://blogs.msdn.com/b/scstr/archive/2012/02/29/how-to-troubleshoot-the-terminal-server-security-layer-detected-an-error-in-the-protocol-stream-and-has-disconnected-the-client-client-ip-and-the-rdp-protocol-component-x-224-detected-an-error-in-the-protocol-stream-and-has-d.aspx
    Thanks,
    Umesh.S.K

  • Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class?

    I am trying to handle Producer not available situation in which I am using Interceptor IWSDLInterceptor in WLP 10.3.4. I am able to retrieve exception using onWSDLException but from here if I have to forward my pageURL object I need httpservlet request and response. I tried my own filter class to have its own customize request and also tried it out all other Interceptor to see if any one can handle IOException. I did manage to throw my own Customize exception but  that also did not work out as Page does not have any backing file or any supportive Controller class.
    Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class? or do we have any specific documentation in regards to this? As I am not able to find much martial on IWSDLInterceptor except Java API from Oracle and article defining Two way SSL handshake Producer.
    Any kind of help is appreciated.
    Thanks
    PT

    Thanks Emmanuel for your response but render behavior is not available for IWSDLRequestContext/IWDSLResponseContext object which IWSDLInterceptor uses for implementation.
    Let me put my question in little simpler manner. May be my approach to the problem is not proper.
    Problem : Handle Producer Not available (no application exists on server) on consumer side.
    So far tried approach : Producer is not running then I am able to handle that TransportException at IInitCookieInterceptor/IHandleEventInterceptor onFault behaviour but in the case of Producer not even exists Consumer try to get WSDL fetch operation and failed with FileNotFoundException.
    To handle this exception, I used IWSDLInterceptor which is available under IWSDLInterceptor.OnWSDLException (Oracle Fusion Middleware Java API for Oracle WebLogic Portal)
    I am able to catch the exception but problem arise when application needs to forward at specific page/render portlet for this situation. For that it required request/response object but IWSDLInterceptor does not give any kind of instances to redirect request as there is no direct access to HTTPServlet request/response object.
    I tried my custom request object to use there. I tried out custom filter object of IWSDLrequestContext. nothing works.
    One approach works is to put producer WSDL file at consumer level. But in that, you need to handle different producer files for different environment. Which I don't think its a good approach.
    eAny one Let me know if my approach to the problem/scenario is wrong. Or if I am missing out any other supporting interface which also required to handle this scenario. or I am using wrong interface for this scenario.
    Thanks for your help in advance.
    PT.

  • Menu widget not responding ever 8 seconds for another 8 seconds

    Hi there,
    I have purchased Muse template and have build website with Muse CC (2014) (www.janka-photograhy.ch)
    It's one page template with scrolling effects on it.
    On every page except from "Home" I have horizontal menu widget. Now, on next page (Über mich)
    menu stops responding after 8 seconds for another 7-8 seconds and then functioning normaly again for
    8 seconds and so on. This only happens on "Über mich" page. On every other page (Angebot, Galerie, Kontakt)
    everything works fine. Any ideas why is this happening?
    Thanks a lot.
    Dalibor
    P.S. Problem is arises in Firefox, but not in IE.

    I can reproduce it on my Mac with Safari. Hovering across the menu, it becomes un/responsive every 7, 8 seconds.
    What says the developer of your widget?
    It doesn’t help, but it is a really nice site you designed!
    I would try the following:
    - What happens if you delete for testing reasons the slideshows on this page?

  • It will cost $49 for a simple question! Not kidding

    I called Apple support today with an issue with charging and of course they asked if I wanted to extend my warrenty for another year for $69...when I said not right now the guy then mentioned that after my initial year warrenty was up or the extra year was up, if I were to call in for a simple question they charge $49!!!!!! Don't believe me.....call and ask yourself... how insane is that???? Thank goodness for discussions like this!

    ibisguy,
    Shh!! I won't tell him. My lips are sealed. He has about 9 years experience working in Call Centers, and has been known to make a mistake or two himself.
    However, for the iPhone telephone support is tied to your account with the carrier. In the U.S. that would be AT&T and two years.
    The AppleCare Protection Plan extends the hardware coverage to two years. If your iPhone were to break during the second year, any repair except the battery would be $199 (4 GB) or $249 (8 GB) plus shipping, and in some states tax. The battery would be $79 plus $6.95 shipping in the second year. The AppleCare Protection Plan (APP) would cover the battery during that second year if it were to be defective, and shipping for repairs.
    This link has more information:
    http://www.apple.com/support/products/applecareiphone.html
    Hope this helps,
    Nathan C.

  • Need Help for a simple Keypress to advance to next frame

    Hi all,
    I am pretty weak at Action script.  I need to create a simple presentation that displays a bunch of photos.  I want to be able to hit the space bar to advance to next picture.  I am able to stop the playhead at the picture, but i want to advance to next labelled frame by hitting the space bar.  Some help would be great.
    Thanks
    Anthony

    Thanks for the quick response, I have a 4 pictures on 4 seperate layers.  The starting keyframe for each picture is labeled "Slide 01"," Slide 02" etc.  When i test movie, it automatically plays the first picture labeled "Slide 01".  At the end that slides frames I have a stop action.  When I hit the space bar, i want the playhead to jump to the next slide which it's start keyframe is labeled "Slide 02".  It has a few frames to allow for fadeing in, and then a stop action on the last keyframe. And so on.
    I entered your code and placed the goto and play event handler to jump to the next slide's keyframe which i labeled "Slide 02".  I did get the following error:
    Location: Scene 1, layer 'Scripts', Frame 1, Line 3
    Description: 1046: Type was not found or was not compile-time constant: KeyBoardEvnt.
    Source: function next(event:keyboardEvent):void
    stage.addEventListener(KeyboardEvent.KEY_UP,next);
    function next(event:KeyBoardEvent):void
    if(event.keyCode==Keyboard.SPACE){
      gotoAndPlay("Slide 02");
    Thanks
    Anthony

  • Can I set up multiple usb hard drives- one for time machine and a second for media? Can one also print wirelessly with an old HP C6280 printer?

    Can I set up multiple usb hard drives- one for time machine and a second for media?
    Can one also print wirelessly with an old HP C6280 printer?

    Can I set up multiple usb hard drives- one for time machine and a second for media?
    Yes.
    Can one also print wirelessly with an old HP C6280 printer?
    Possibly by using an Airport Express, but depends on what type of port connection the printer requires.

  • Any way to get CPU-seconds for process or a thread from within my app?

    I'm trying to guage the work by different processes within our application. I'd like to be able to get the number of CPU-seconds before a long task and then again after the task finishes and compute the difference. I'm sure I could poll the % CPU every second and try estimate the value, but I don't think it would be very accurate.
    Is there a MBean or some other way to access the CPU-seconds for the process?
    It would even be better if I could get this at the thread level (which seems possible since JRA recordings can show the 'running' time on a graph drawn in milliseconds).
    Thanks
    -Bill

    We are considering making this available through a MBean in our upcoming R28 release.Do you have a program I can participate in to get beta or pre-releases of new JRockit versions? The purpose would be to do preliminary performance testing so we can get official releases to our development team more quickly once they are formally released.
    I'm also hoping to find cumulative disk i/o bytes and cumulative network i/o bytes on a thread or even at the JVM levelI don't think we have that in JRockit today... What would you use it for?The use would be for performance monitoring. In a large system or a busy system, the effect of code changes can be hard to measure just based on clock time or traditional measurements like % CPU or bytes/sec at a specific instant. Knowing how much 'work' is getting done (together with the clock time) gives a better picture.
    I like cumulative numbers like cpu-sec and # of bytes because I only need two measures (before and after) instead of continuous polling and summing. Some of my processes get created on their own threads, so I could potentially get these measures of work on my customer's production systems with a lot of other activity going on. By comparing samples over time, we can tell if processes are running longer due to 'more work' or due to resource bottlenecks.
    I think it could be useful on shared threads too even though i don't know yet if I can see which threads specific requests are using.
    -Bill

  • Performanc​e Profiler returning zero seconds for all vi's

    I tried running the performance profilers, and it returns 0 seconds for all vi's. This certainly cannot be the case. Am I running the program incorrectly?
    thanks
    Phil B

    I run vi's continuously for a while. If you don't do that, you will only see the total time of that particular vi. Also switch to microseconds.
    aartjan

  • I'm looking for a simple DJ app

    Hi Folks,
    I hope this is the best place for this question!  I'm looking for a simple App that will allow me to add music on the fly to a playing playlist. iTunes DJ does most of what I want but doesn't allow me to drag and drop order or remove songs.  I don't need turntables or eq or anything like that.  Just a simple way to create playlists on the fly with the ability ro rearange the order, add and remove songs on the fly. Also, if there's a better forum for my question, please advise.
    Thanks!
    Greg

    Which particular Mac OS are you running, psychmac?

  • Looking for a simple pdf reader.

    Anyone have a suggestion for a simple, easy to use, pdf reader?
    Have tried a couple & they fizzled.
    Suggestions?
    Thanks!
    -Jeff in NYC

    SAme problems here and when i tried to use foliant it didnt work with the books all it gave me was a bunch of weird looking characters 
    HELP US!!!
    If you found this post or any other psot helpful please press the green kudus star

  • Looking for a simple drawing application for my grand-daughters

    Well, that's more or less it, I'm looking for a simple drawing application for my grand-daughters. In the children section of iTunes store, there's only a few books and nothing more. I bought the iPad mainly for my grand-children to teach them a bit and I don't find interesting things for them.
    Can anybody help me with that?
    Pedro Godfroid Goffin

    Brushes is a nice finger drawing app. Since you didn't say how old they are, I don't know if the interface is to difficult for them to use.
    Sketchbook is another nice drawing app.
    Neither are free.
    Glor

  • Looking for a simple way to convert a string to title case

    New to LiveCycle and Javascript.  Looking for a simple way to convert a string to title case, except acronyms.  Currently using the the following, it converts acronyms to lower case:
    var str  =  this.rawValue;
    var upCase = str.split(" ");
    for(i=0; i < upCase.length; i++) {
    upCase[i] = upCase[i].substr(0,1).toUpperCase() + upCase[i].substr(1).toLowerCase();
    this.rawValue = upCase.join(' ');

    Thanks for the reply.
    Found the following script in a forum, which works fine as a "custom validation script" in the.pdf version of my form.  However, it will not work in LiveCycle?  The problem seems to be with
    "return str.replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g"
    function toTitleCase(str) {
    var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;
        return str.replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(match, index, title){
    if (index > 0 && index + match.length !== title.length &&
      match.search(smallWords) > -1 && title.charAt(index - 2) !== ":" &&
    (title.charAt(index + match.length) !== '-' || title.charAt(index - 1) === '-') &&
    title.charAt(index - 1).search(/[^\s-]/) < 0) {
    return match.toLowerCase();
    if (match.substr(1).search(/[A-Z]|\../) > -1) {
      return match;
      return match.charAt(0).toUpperCase() + match.substr(1);
    event.value = toTitleCase(event.value);

Maybe you are looking for

  • Printer Sharing Problem

    I just installed NM on 4 comps.  1 XP, 1 Vista, and 2 Windows 7.  Everything works as of now except for the printer attached to Vista will not work on XP comp.  As of now it says it needs to search for .INF file?.....Of course this is the one compute

  • Sort photos in an event manually

    Why would the sort manually option be grayed out, not able to choose? I went into event click view, click sort photos but the manually option is not available. Is there a way to change this? Thanks

  • Cannot Open Itunes, Something with memory

    While using itunes this morning, it randomly closed down. When I tried to open it again, this error message came up http://i16.photobucket.com/albums/b32/swordsman11/1210300064121rv8.jpg And now every time I try to open itunes up, this error keeps re

  • When I add a contact with multiple email addresses to an email, how do I get the email to send to both addresses?

    I want to send out an email to one of the groups in my address book, but when I add the group to my email only the first email address for each contact is added.  How would I make it so Mac always adds all of a contacts email addresses to the email.

  • Java Perpared Statement does not return anything

    Sorry fo bad language. I have connection with Oracle 8 with JDBC thin drivers. Almost all queries, simple and very complex are doing well, except one: select srcCard.object_id from objects srcCard, params attrs where attrs.attr_id = ? and attrs.objec