[Mono-list] High concurrency http requests with WebClient
ledjon at ledjon.com
Wed Jun 3 21:44:48 EDT 2009
I've noticed something with mono (well, .net as well): If you write an app
that create, say, 100 threads, and each thread fires off WebClient requests,
they end up getting serialized and done in order instead of in parallel.
This seriously hurts the scalability of any application that might want to
do a lot of web requests such as a web indexing service. This service needs
to be able to do a lot of work as one process (i.e., threads) but if
WebClient synchronizes across all the threads, then it is all for not.
Any thoughts or comments on how to get around this problem?
View this message in context: http://www.nabble.com/High-concurrency-http-requests-with-WebClient-tp23862474p23862474.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list