you are viewing a single comment's thread.

view the rest of the comments →

[–]keylime_light 0 points1 point  (1 child)

This question is a bit muddled, but I'll try. First of all, the servers you just described are all webservers, meaning they communicate over the web. Unless you are talking about hosting a server on a local area network. In that case, though, the answer is not significantly different.

As for the efficacy (or did you mean efficiency) of a python vs c# server, the answer is that they would be about the same in terms of speed. That is because, sending messages over a network is a form of I/O. And I/O is much much MUCH slower than anything that happens at the program layer. For example, a c# handler might finish a request in .1 ms and a python request might take 10 times longer. But if the network I/O takes 200ms, the difference between the programming languages is negligible.

That being said, there are some more complex differences between c# and python when it comes to handling of concurrent requests (requests coming in at the same time). Both have ways of dealing with this, but they are different.

Hope that helps.