hi,
i am using window server in c#.net in which i am sending sme data to client via http request it takes 5-6 minutes to process 2000 numbers. is there some way to decrease this processing time as i have to send 1,00,000 to 2,00,000 request to client via http.please suggest some alternative way to decrease processing time. currently i am using datareader to process the number.
Gokhul VarmanPosted Aug 9, 2017, 4:43 PM
Amit GuptaPosted Jun 26, 2017, 2:47 PM
tarun janvejaPosted Jun 26, 2017, 2:26 PM
- string apiUrl = "3 party url";//eg- 192.168.1.0/abc?a= rdr[0].ToString();
- string redirect_url = getDirectUrl(apiUrl);
before these two first line there is on more while loop which is sending 2000 request in datareader for processing in one go.if datarader has row than in apiurl (line 1 above) variable url will be composed and in rediect url http request is send.can you please tell me how much number should be put in datareader in one go .currently i am putting 500 number in datareader.Amit GuptaPosted Jun 26, 2017, 11:59 AM
Nilesh ShahPosted Jun 26, 2017, 11:28 AM
tarun janvejaPosted Jun 26, 2017, 5:09 AM
Amit GuptaPosted Jun 26, 2017, 4:14 AM