G
Guest
I'm trying to serialize data through a network stream, deserialize it on the server side and then serialize a response back through the network stream to the client
I'm running into very severe performance issues when trying this ... If I try this on the same computer, I'm getting about 1000 transmissions per second with a custom class ; but if I try this with a client other than the server machine, I'm getting 10 transactions per second
What is even more intriguing is that if I skip the response part back, doing just sends with the client that is - I'll get 1500 transactions on the local machine and 3000 (!!!) with another machine
Does anyone have any idea why a succession of serialize and deserialize on a networkstream is so slow ? Am I doing something wrong ?
I'm running into very severe performance issues when trying this ... If I try this on the same computer, I'm getting about 1000 transmissions per second with a custom class ; but if I try this with a client other than the server machine, I'm getting 10 transactions per second
What is even more intriguing is that if I skip the response part back, doing just sends with the client that is - I'll get 1500 transactions on the local machine and 3000 (!!!) with another machine
Does anyone have any idea why a succession of serialize and deserialize on a networkstream is so slow ? Am I doing something wrong ?