performance - Wcf Improving data transfer speed -


i'm building torrent client application. now, clients on same machine , exposed services nettcpbinding. each client connected other clients localhost address going through router not necessary; transfer speed ok (4 mb/s +-) - think slow?

method returns peace of file client (client's service):

public byte[] getbytes(int torrentid, int position, int arraylenght=1024*55, ref int read) 

from when clients connected other clients external ip, speed went down (all clients on same machine). understand data have go through router speed low (200-300kb/s !).

what problem?

update 1:

  1. for now, there 2 clients. first download second.
  2. the max bandwidth on network 200 mb (20 mb/s inside local network) , ips 100 mb (10 mb/s outside).

*i update if other details required.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -