Fwd: Massive performance slowdown in C# SOAP client when one AppDomain per thread versus just one (ie the primary) AppDomain
River Satya <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <CABy+CCXF10=t44rgEPOHEJ9-LO=cYCYaeE_0qgG-UetQOO1PPA@mail.gmail.com> |
A piece of code I inherited recently uses separate AppDomains to parallelise calls to a SOAP web service. We were seeing an intermittent bug in Mono which caused crashes when the AppDomains were unloaded, and since AppDomains seemed like overkill for the purposes of multithreading calls to the service, I removed them and simplified the code. All seemed to work fine, however, there was a drastic performance regression (around 3x slower). I put together a simplified chunk of code to reproduce the issue: http://stackoverflow.com/questions/34585272/massive-performance-slowdown-in-c-sharp-soap-client-when-one-appdomain-per-threa Any insight appreciated! Thanks, River _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list