Web Services

V

Valentin

Hi,

I have developed a multiplayer chess game using .NET CF
(see http://www.valil.com/chess2 ).

For a multiplayer game like chess a message-based architecture is
perfect. Right now, the multiplayer part is implemented using web
services. Web services are a great technology, however they are based
on a client-server architecture.
So I had to use this approach: the client queries the chess server
every 2-3 seconds to see if there are any changes. This generates a
lot of traffic - approx. 2 KB/sec per connected client - which is
unacceptable for a mobile device.

I'm thinking what to do next. The solutions are:

1. Wait for WSE 2.0 (which has message-based programming model) to be
implemented on .NET CF. However, this will take too long, maybe 1-2
years.

2. Dump web services momentarily and use my own proprietary protocol
over TCP.

What do you think?

Regards,
Valentin
 
A

Alex Yakhnin [MVP]

You're right - Web Services are not really suitable for
real-time or almost real-time scenarious. I'd go with
TCP/Sockets over UDP.

HTH... Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top