WebService and CF Performance - Again the issue

  • Thread starter Thread starter André Vieira
  • Start date Start date
A

André Vieira

Hi, I've replied to a thread about this issue but it was rather old so i'm
posting a new one...

I'm having very poor performance acessing webservices!
I'm using both SQL CE Replication and WebServices to send data to my Pocket
PC from the cradle or GPRS.
Replication works fine, but webservices take several seconds to execute, up
to 20 or 30, which is unacceptable.Thing is I want to keep webservices...

I'd be very interested in earing from microsoft, or anyone else, about this
one.

bye,
André
 
André Vieira said:
Hi, I've replied to a thread about this issue but it was rather old so i'm
posting a new one...

I'm having very poor performance acessing webservices!
I'm using both SQL CE Replication and WebServices to send data to my Pocket
PC from the cradle or GPRS.
Replication works fine, but webservices take several seconds to execute, up
to 20 or 30, which is unacceptable.Thing is I want to keep webservices...

I'd be very interested in earing from microsoft, or anyone else, about this
one.

bye,
André

André -

I assume you are in Portugal by your address - I've had similar issues
with deploying GRPS solutions in Denmark, Holland, the UK, and the US.
If you are using GPRS, you may find that even the simplest calls are
rather slow due to the network latency of GPRS carriers. If you "own"
the server and device side, you may be able to use some third party
solutions to reduce the latency inherent in the network.

Although the "speed" of the network may be high, the latency can make
the user experience quite slow.

The second possibility is that if you're doing quite a bit of XML
parsing, there is some overhead there that could also degrade the user
experience. It really depends on what your application is trying to
do.

-a
 
Hi Andrew,

Thanx for your answer.

The GPRS could be a question but I have the same latency using the cradle,
accessing the local machine!?!

Has for the XML, all I'm doing is sending a DataSet, that in most cases is
rather small, about one row of the sql table. As for the sql the parsing is
done on the server. And the time I'm measuring is the time of the call to
the webservice and the assignment to a local variable. I've also notice that
the first access is slower than the subsequent.

André
 
André Vieira said:
Hi Andrew,

Thanx for your answer.

The GPRS could be a question but I have the same latency using the cradle,
accessing the local machine!?!

Has for the XML, all I'm doing is sending a DataSet, that in most cases is
rather small, about one row of the sql table. As for the sql the parsing is
done on the server. And the time I'm measuring is the time of the call to
the webservice and the assignment to a local variable. I've also notice that
the first access is slower than the subsequent.
Odd - what connection method are you using for ActiveSync? You should
put a time point on exactly before you call the WS and exactly after
you receive a response. Make sure not to include any other device
logic - that may also be the issue.

Also - depending on what you do on the server, there could be some lag
as well.

-a
 
Back
Top