Click here to Skip to main content
15,886,830 members
Home / Discussions / C#
   

C#

 
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 
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 

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.