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:
- for now, there 2 clients. first download second.
- 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
Post a Comment