thanks for reponse.

 I have done that. what ever the time is mentioned is calculated the same way. 
Even my data is below the 1000 records. More even i used the object caching.

I also checked the calling same method independtly from web service. but it 
does not taking more time compare to calling from flex.

I also aware that web ORB is 10 times faster than this.But it should not be 
prefrable to change the architecture.

Again thanks a lot for your suggestion.

Regards,

________________________________

Krunal Panchal 




________________________________
From: Tracy Spratt <[email protected]>
To: [email protected]
Sent: Saturday, 19 September, 2009 10:48:38
Subject: RE: [flexcoders] Re: How can we increase web service performance?

  
How are you doing your timing?  As Steve has pointed out, there are two 
distinct parts to this.  If the bottleneck is truly with the data service call 
then you will not be able to do much from within Flex.
 
However, unless your data payload is huge, data transfer is rarely the 
bottleneck.  Instead, the time is mostly taken up in the rendering of the 
screen.
 
If you are judging the time based on when the screen displays, then you do not 
know if the web service is slow or not.
 
To find out for sure, call getTimer and save the value in an instance variable 
just before you invoke send().  Then call getTimer again in the result handler 
and subtract.  This will tell you the actual data service latency.
 
Tracy Spratt,
Lariat Services, development services available

________________________________

From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of Krunal Panchal
Sent: Friday, September 18, 2009 2:08 PM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] Re: How can we increase web service performance?
 
  
getting time to take the data from the web service. 
 
for example:
 
In web method i am executing the storec procedure, which will executed in 3 
secs.
 
but in the flex side data will retrive after 6-8 secs.
 
Regards,

________________________________

Krunal Panchal 
 
 

________________________________

From:valdhor <valdhorlists@ embarqmail. com>
To: flexcod...@yahoogro ups.com
Sent: Friday, 18 September, 2009 22:29:49
Subject: [flexcoders] Re: How can we increase web service performance?

  
So, again I ask... Is the problem with the amount of time Flex takes to parse 
the data or with the amount of time taken to get the data from the web service?

--- In flexcod...@yahoogro ups.com, Krunal Panchal <panchal_kru@ ...> wrote:
>
> hi hanks for prompt respose.
> 
> Actually the problem with getting data (parsing the data). After calling web 
> method, data will return after few seconds.which i want to solve.
>  
> Regards,
> 
> ____________ _________ _________ __
> 
> Krunal Panchal 
> 
> 
> 
> 
> ____________ _________ _________ __
> From: valdhor <valdhorlists@ ...>
> To: flexcod...@yahoogro ups.com
> Sent: Friday, 18 September, 2009 18:44:36
> Subject: [flexcoders] Re: How can we increase web service performance?
> 
>   
> Is the problem with Flex or with the web service itself? You can check data 
> latency with something like Charles (www.charlesproxy. com).
> In my experience, web services are not that fast. 
> 
> --- In flexcod...@yahoogro ups.com, Krunal Panchal <panchal_kru@ ...> wrote:
> >
> > Hi All,
> > 
> > I have create the web based flex application on which i am using the dot 
> > net web service. When i call the web service method it is taking time to 
> > retrive the data.
> > 
> > Web Service Configuration:
> > I have configure web service by importing option from Data menu. Which we 
> > will automatically  generate all the action script files. So i have calling 
> > the web service by calling its object. For example:
> > 
> > privatevarserviceMe nu : myWebService; privatefunctionr egisteredAppInit () 
> > : void{    // registered the event    serviceMenu = 
> >     serviceMenu. addapplicationIn itEventListenern ewmyWebService( 
> > null,strWebServi ceURI);
> >     (        function(event : ApplicationInitResu ltEvent) : void        
> > {               var
> >             arrLocation = event.result; arrLocation : ArrayCollection = 
> > newArrayCollection( );        }
> >     serviceMenu. applicationInit(
> >  
> > Thank in Advance
> >  "para");
> >  }
> > Regards,
> > 
> > ____________ _________ _________ __
> > 
> > Krunal Panchal     )
> >
>
 



      

Reply via email to