Click here to Skip to main content
15,915,764 members
Home / Discussions / C#
   

C#

 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 1:31
George_George7-Feb-09 1:31 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot7-Feb-09 2:25
harold aptroot7-Feb-09 2:25 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 2:39
George_George7-Feb-09 2:39 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot7-Feb-09 4:07
harold aptroot7-Feb-09 4:07 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 22:26
George_George7-Feb-09 22:26 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot7-Feb-09 23:51
harold aptroot7-Feb-09 23:51 
GeneralRe: multithread performance problem for web service call Pin
George_George8-Feb-09 0:22
George_George8-Feb-09 0:22 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot8-Feb-09 0:37
harold aptroot8-Feb-09 0:37 
1) doh yes, sorry, I just woke up Laugh | :laugh:
2) you can easily prove it informally by measuring the difference between doing some simultaneous calls vs some sequential calls - if there is no difference (or if the parallel calls took longer) than there are only 2 possible cases:

1: the simultaneous calls were handled sequentially.
2: the simultaneous calls were so short that the overhead of doing them simultaneously was as big as or bigger than the benefit.

You can, of course, test which case it is. Just make the method that is called a good bit longer (say, generate 10k random numbers, then return the last one). If it benefits from threading then it was case 2, otherwise case 1.



GeneralRe: multithread performance problem for web service call Pin
George_George8-Feb-09 0:48
George_George8-Feb-09 0:48 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot8-Feb-09 1:02
harold aptroot8-Feb-09 1:02 
GeneralRe: multithread performance problem for web service call Pin
George_George8-Feb-09 1:07
George_George8-Feb-09 1:07 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot8-Feb-09 5:20
harold aptroot8-Feb-09 5:20 
AnswerRe: multithread performance problem for web service call Pin
PIEBALDconsult3-Feb-09 4:23
mvePIEBALDconsult3-Feb-09 4:23 
GeneralRe: multithread performance problem for web service call Pin
George_George4-Feb-09 21:53
George_George4-Feb-09 21:53 
GeneralRe: multithread performance problem for web service call Pin
PIEBALDconsult5-Feb-09 3:43
mvePIEBALDconsult5-Feb-09 3:43 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 1:25
George_George7-Feb-09 1:25 
GeneralRe: multithread performance problem for web service call Pin
PIEBALDconsult7-Feb-09 4:00
mvePIEBALDconsult7-Feb-09 4:00 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 22:23
George_George7-Feb-09 22:23 
GeneralRe: multithread performance problem for web service call Pin
PIEBALDconsult8-Feb-09 2:37
mvePIEBALDconsult8-Feb-09 2:37 
QuestionMAC Address Pin
mehdy_1373-Feb-09 2:17
mehdy_1373-Feb-09 2:17 
AnswerRe: MAC Address Pin
SeMartens3-Feb-09 2:22
SeMartens3-Feb-09 2:22 
GeneralRe: MAC Address Pin
mehdy_1373-Feb-09 4:28
mehdy_1373-Feb-09 4:28 
GeneralRe: MAC Address Pin
SeMartens3-Feb-09 4:36
SeMartens3-Feb-09 4:36 
GeneralRe: MAC Address Pin
mehdy_1373-Feb-09 4:50
mehdy_1373-Feb-09 4:50 
GeneralRe: MAC Address Pin
SeMartens3-Feb-09 5:03
SeMartens3-Feb-09 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.