gps - Tcp Server Using Wcf Service -


i experienced c# developer, have not developed tcp server application far. have develop highly scalable , high performance server can handle @ least 5-10 thousand concurrent connections: getting -raw byte- data via gprs gps devices.

a common communication process should this:

gps device initiates connection server server answers if want data device send gps data server sends report device getting (sg checksum) getting new data gps, reportm , happens again , again later gps device closes connection so, in server need

trace connected/active clients close client server side catch event, when device closes connection byte data send data clients started read topic on internet, seems nightmare me. there lot of ways, not find out best.

async socket methods seems best me, writing code in async style terrible , not easy debug.

so quetsion is: think best way implement high performance tcp server in c#? know open source component this? (i tried several ones, not find one.)

thanks in advance, expert answers appriciated!

two suggested ideas can use.

  1. wcf tcp (duplex?) - here can have async pattern, both client , server can call each other. defintely needs plumbing involved, there lots of documentation out there.

  2. restful - think may better option you. easy make async, , because of rest's stateless nature there less overhead. fyi, can use tcp this, although http better choice.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -