Click here to Skip to main content
15,893,904 members
Home / Discussions / C#
   

C#

 
AnswerRe: multithread performance problem for web service call Pin
EliottA3-Feb-09 2:41
EliottA3-Feb-09 2:41 
GeneralRe: multithread performance problem for web service call Pin
George_George4-Feb-09 21:46
George_George4-Feb-09 21:46 
AnswerRe: multithread performance problem for web service call Pin
Yasithl3-Feb-09 3:01
Yasithl3-Feb-09 3:01 
GeneralRe: multithread performance problem for web service call Pin
George_George4-Feb-09 21:48
George_George4-Feb-09 21:48 
AnswerRe: multithread performance problem for web service call Pin
Ennis Ray Lynch, Jr.3-Feb-09 3:24
Ennis Ray Lynch, Jr.3-Feb-09 3:24 
GeneralRe: multithread performance problem for web service call Pin
George_George4-Feb-09 21:55
George_George4-Feb-09 21:55 
GeneralRe: multithread performance problem for web service call Pin
Ennis Ray Lynch, Jr.5-Feb-09 3:00
Ennis Ray Lynch, Jr.5-Feb-09 3:00 
GeneralRe: multithread performance problem for web service call Pin
George_George7-Feb-09 1:23
George_George7-Feb-09 1:23 
AnswerRe: multithread performance problem for web service call [modified] Pin
harold aptroot3-Feb-09 3:26
harold aptroot3-Feb-09 3:26 
GeneralRe: multithread performance problem for web service call Pin
George_George4-Feb-09 21:51
George_George4-Feb-09 21:51 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot5-Feb-09 0:21
harold aptroot5-Feb-09 0:21 
GeneralRe: multithread performance problem for web service call Pin
George_George5-Feb-09 1:41
George_George5-Feb-09 1:41 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot5-Feb-09 1:56
harold aptroot5-Feb-09 1:56 
GeneralRe: multithread performance problem for web service call Pin
George_George5-Feb-09 2:47
George_George5-Feb-09 2:47 
GeneralRe: multithread performance problem for web service call Pin
harold aptroot5-Feb-09 3:40
harold aptroot5-Feb-09 3:40 
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 
Thanks harold,

For 1,

Here is my code at server side. Could you reproduce my problem?

/// <summary>
/// Summary description for Service1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
public class Service1 : System.Web.Services.WebService
{

    [WebMethod]
    public double HelloWorld()
    {
        return new Random().NextDouble();
    }
}


For 2,

I could understand your points. But do you have any documents to prove? I think if web service could only serve requests sequentially other than simualtenaously, it is so bad and degrade performance design. I can not believe it is designed in this way. Smile | :)

regards,
George
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 
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 

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.