Java :: Verify Contribution Of Client-server Network Latency In Application Performance

Sep 24, 2011

We have a typical Flash+J2EE application that makes multiple requests from client to server (over Flex remoting), which is taking quite a long time on some client systems (and hence results in poor application performance on such systems).

Now, suspecting issues with network connectivity (latency) on such client system(s), we need to identify how far does it contribute to the slow response of the application (rather than performance issues in the application itself).

So, what are the best way(s) to diagnose this on a client system (Windows)?

Note that we have tried profiling our application, which does not indicate bottlenecks there, so we just need to clearly identify the possible network issues.

View 1 Replies


Similar Posts:


Media Server :: Lower Latency Via The Client?

Sep 29, 2009

Is a latency of 94 - 109 high or low....if its high how do I lower it via the client I don't have control over the server at this point in time.

View 2 Replies

Media Server :: When FMS Shutdown The Network, The Client's NetConnection Didn't Dispatch Any Event?

Aug 7, 2009

A client connected to the FMS for playing live video.The problem has been found that when FMS shutdown the network, the client's NetConnection didn't dispatch any event.But when the client shutdown the network the client's NetConnection will dispatch NetConnection. Connect.Closed event.How could flash client know the FMS' server side networking problem? Does it necessary to use heartbeat mechanism between FMS and client?

View 1 Replies

Media Server :: Live Video/audio Chat Application - Latency Time Using FMS 3.5 And FLEX

Dec 9, 2010

I've build a live video/audio chat application. All works fine only the issue is latency of 5 secs. I'm using FMS 3.5 and FLEX.

View 1 Replies

Actionscript 3 :: Game Network Latency Compensation?

Mar 5, 2012

I am developing a simple fast-paced 2 dimensional real-time multiplayer game in Flash. Players can only shoot and walk in point to move fashion. I use TCP socket connection (AS3 doesnt offer UDP).All I want is to synchronize players' actions so Player1 could see the same on its screen as Player2,Player3... or just see close representation (position,taking damage,etc).

I know movement vector coordinates and I can easily interpolate on them using latency. However,I can not figure out an effective way to determine how much time (T1) did it take the state update to travel client1-server-client2 and then make corrections to client2's screen based on T1.(You know, ping times may fluctuate quite a bit).I need a way to do the above-mentioned, i need way which is as fast and as accurate as posssible but not extremely sophisticated. (what algorithm should i use?

View 1 Replies

Java :: Flex 4 IFrame Open Url Internal Network To An External Network?

Sep 6, 2011

I have the following scenario:

One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........

I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?

View 1 Replies

Java :: Externalizing Client ChannelSet Configuration For Flex Web Application?

Dec 10, 2010

I am looking for an approach that will allow me to (somehow) dynamically pass the server name, server port, and web context to my Flex client so it can create a ChannelSet for it's RemoteObjects to use. These three properties are, of course, readily available to my Java server-side code so I just need a way to get them to the client.

By default, Adobe says you should compile your Flex application against the server configuration file "services-config.xml". This is a highly inflexible practice that Spring says should be avoided (I agree).

One popular approach is to use Flex's http service to download an XML configuration file. I like this idea, but I don't want to hard-code an XML file and keep it inside my WAR file. Is there a way to dynamically generate this from Java code?somehow use flashvars to pass the properties in from the containing HTML page to the SWF file. But again, I don't want to hard code them into the HTML page. Is there a way (maybe with Javascript?) to dynamically set the value of these when the page loads?

View 1 Replies

Media Server :: Application Sharing (passing Events Over Network)

Mar 3, 2010

I wan't to share the application over the network using as3 with FMS in such a way that events performed on application on one PC should also reflect on all the connected PCs. for example if I shared a notepad, the task performed by me on that notepad should be reflected to all the connected users and vice-versa, like remote desktop works.

View 2 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 Replies

Java :: Authorized Flash Client To Server Connection

Feb 22, 2011

I'm building a Flash-based Facebook game with a Java backend, and I'm planning to use a RESTful approach to connect the two of them (not a persistent socket connection). I'm using the AS3 library to connect the client to Facebook, so that's where I have my session information stored. However, how do I authorize client connections back to the server? I can't leave the callback URLs open since that'd let people manipulate game state without playing the game. I need to make sure that the calls are coming from a valid client and through a valid session.

At the moment, users have no direct login to the backend server -- it's all handled through the client frontend. Can I pass the Facebook OAuth2 access token to the backend in a way that the backend can verify its validity? Should that be enough to trust a valid frontend connection?

I could do a two legged OAuth signed request or just use a simple shared secret, but the keys would have to be packed in with the flash client, which makes that almost useless for this use case.

View 3 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies

Java :: Flex Client Side And Java As Server Side?

Aug 7, 2011

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.

View 2 Replies

Flex :: Send Info Using USLStream From Flash Client To JAVA Server?

Jul 18, 2010

I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.

View 1 Replies

Java :: Build The Client With Flex And Connect To The Server Data With BlazeDS?

Dec 20, 2010

I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.

View 1 Replies

ActionScript 2.0 :: Make A Policy File For A Socket Server Made On Java With A Client?

Dec 30, 2011

how to make a policy file for a socket server made on java with a client made on as2.

View 21 Replies

Java :: Flex - Flash Client To Talk To A Server Through A Full-duplex Connection?

Sep 16, 2010

My client is in Flash/Flex (game with chat) and it will be talking to a Java server. What is the best way (protocol / interface) for my Flash client to talk to my server? I heard about Flash Remoting MX, but it is a request / response mechanism. I could always request something and wait for asynchronous notifications from server. Then request again, implementing something like a Comet server.Anyways, what is the industry standard for this type of communication: Flash Client talking to Java server, supporting asynchronous "push" notifications from server.

View 4 Replies

Java :: Encrypt Sqlite Db File With Server Side / So Flex / Air Client Can Read It?

Jan 23, 2012

We are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.

View 1 Replies

Java :: Performance - Code Doesnot(only Sometimes) Compiles In Java+flex (+ BlazeDS+Tomcat ) Combined Project.a

Aug 13, 2010

i am working on a flex+java combined project.My IDE and computer configuration is as follows:

[Code]...

When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.

View 2 Replies

Media Server :: Application.clients[client.id].call - Not Working?

Apr 15, 2010

i need a wey without knowing the index value of spacific client in the application clients array to identify this user for use: application.clients[this client id].call to him only. in addobe halp its says: "Do not use the index value of the clients array to identify users between calls, because the array is compacted when users disconnect and the slots are reused by other Client objects" but it do not say what to use??... i try this 4 ways none working - last 2 throw error:

[Code]....

View 4 Replies

Java :: Connect To Socket Server From AS 3 AIR Application

May 12, 2011

I read through the method to connect to a socket server : [URL]. I wrote an AIR application to connect to the java server code, but the client cannot connect. What is missing in the code?

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" backgroundColor="#D5F8C3">
[Code] .....

View 1 Replies

Flash :: Creating A Java Policy Server For A Application

Apr 3, 2010

I'm trying to create a simple Flash chat application for educational purposes, but I'm stuck trying to send a policy file from my Java server to the Flash app (after several hours of googling with little luck). The policy file request reaches the server that sends a harcoded policy xml back to the app, but the Flash app doesn't seem to react to it at all until it gives me a security sandbox error.

[Code]......

View 1 Replies

Actionscript 3 :: Client + Grails Server - Processing Audio At The Client And Sending It Back To The Server

Mar 8, 2012

We're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.

This is how we load the mp3 file from the server:

sourceSnd.load(new URLRequest("sample url to mp3"));
sourceSnd.addEventListener(Event.COMPLETE, carregou);

This is how we convert each piece of mp3 to bytearray and wav:

[Code]....

View 1 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

Media Server :: Settings For Audio Latency

Oct 21, 2010

I can't find the setttings for have a least latency as possible, either the video quality is bad or the latency is up than 5 secondes...What should i do?

[Code]...

View 7 Replies

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

Java - AIR Nativeprocess Performance?

Oct 30, 2010

Is AIR nativeprocess able to receive message from Java program and process every line of message as fast as possible in milliseconds? Does it has a miss read or delay?

View 2 Replies

Media Server :: Verify JSEngine RuntimeSize Setting?

Oct 15, 2010

Is there a way to get at the setting in your server side ActionScript?trace("Here is the runtime size for this app: " +.?);

View 1 Replies

Media Server :: Video Delay Continuously Increasing Latency?

Jun 3, 2010

I'v made an application with all the default codec and settings provided by adobe to publish live video using FMS. I've made two swfs one is for publishing live video and the other is for viewing the published stream (telecast). When I'm publishing the live video on My laptop using the default web Cam and mic attached to the Dell laptop then after 2- 3 minutes delay on the telecast side start increasing and it keep on increasing continuously .At the same time when I use my desktop PC by attaching external Web Cam and mic to publish, delay on my Telecast side is consistent ,it never increase. I found the problem is with the Laptop's mic. Can anybody please suggest me why it is happening, and is there any solution to it.

View 4 Replies

Media Server :: Reduce Audio And Video Latency In Flash?

Sep 22, 2010

We have one functionality in which one user can communicate with the other user at the same time through flash media server3.5. In this fucnitonality we are catching stream from both end through camera and pass it to flash media server. On FMS side this streams gets stored also we are displaying those recorded flv files side by side to the corresponding user so that they can communicate with each other. In this situation we are facing a video and audio latency upto 1.5 to 2 sec.

View 2 Replies

Java :: Java, BlazeDS And Config File For Application?

Nov 11, 2010

I'm programming Rich web applications with Flex and Java on Flex Builder 3 using blazeDS and SharedObjects.Now I need that my program will use configuration file.so, I need that my Java class will read it at the first time but the default path of java to read and write files is c:program filesFlex Builder 3 and not my application directory inside the tomcat webapps directory How can I read the config file from the java class without write the path hardcoded in the java?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved