Click here to Skip to main content
15,889,804 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionplz brack my licence Pin
saqibali211918-Aug-11 8:09
saqibali211918-Aug-11 8:09 
QuestionHow to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 21:03
professionalTesic Goran17-Aug-11 21:03 
AnswerRe: How to execute method n-times in a second? Pin
Shameel17-Aug-11 21:55
professionalShameel17-Aug-11 21:55 
GeneralRe: How to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 22:28
professionalTesic Goran17-Aug-11 22:28 
AnswerRe: How to execute method n-times in a second? Pin
Pete O'Hanlon17-Aug-11 22:13
mvePete O'Hanlon17-Aug-11 22:13 
GeneralRe: How to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 22:34
professionalTesic Goran17-Aug-11 22:34 
GeneralRe: How to execute method n-times in a second? Pin
Pete O'Hanlon17-Aug-11 23:57
mvePete O'Hanlon17-Aug-11 23:57 
AnswerRe: How to execute method n-times in a second? Pin
Luc Pattyn18-Aug-11 2:46
sitebuilderLuc Pattyn18-Aug-11 2:46 
Some comments:

1. this article may enlighten you on some timer characteristics: Timer surprises, and how to avoid them[^]

2. this one could help you in solving cross-thread problems: http://www.perceler.com/articles1.php?art=crossthreads1[^]

3. ThreadPools have their own algorithm for launching and creating threads; e.g. launching ten jobs at pretty much the same time would not necessarily cause ten threads to be used, and that is why it's method is called QueueUserWorkItem, rather than ExecuteNow. Last time I checked, the ThreadPool, when sufficient work has been queued, would launch new threads at a pace of 2 per second.

4. Load testing a component may not be handled best with equidistant requests; I would consider using a fixed number of real threads (not pooled ones), and give each the job to wait a random time, then issue a request, in a loop-forever style. That way you can simulate an average load of your choice with arbitrary phase between the requests. Furthermore I agree with Pete, when he says having more machines to realistically simulate load would be better.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

Questionhttp://www.hotelsneardisneyland.biz/ Pin
lennonn1215-Aug-11 21:13
lennonn1215-Aug-11 21:13 
Question.NET Online Travel Guide Project Pin
Vanessa Vidal15-Aug-11 13:20
Vanessa Vidal15-Aug-11 13:20 
AnswerRe: .NET Online Travel Guide Project Pin
Not Active15-Aug-11 13:27
mentorNot Active15-Aug-11 13:27 
AnswerRe: .NET Online Travel Guide Project Pin
#realJSOP17-Aug-11 4:11
mve#realJSOP17-Aug-11 4:11 
AnswerRe: .NET Online Travel Guide Project Pin
Abhinav S17-Aug-11 8:23
Abhinav S17-Aug-11 8:23 
QuestionFile write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 11:07
MikeAngel15-Aug-11 11:07 
AnswerRe: File write times in .NET local drive vs. NAS drive Pin
Luc Pattyn15-Aug-11 11:39
sitebuilderLuc Pattyn15-Aug-11 11:39 
GeneralRe: File write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 12:10
MikeAngel15-Aug-11 12:10 
QuestionMessage Closed Pin
15-Aug-11 10:43
mwhardin15-Aug-11 10:43 
AnswerRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
Richard MacCutchan15-Aug-11 22:34
mveRichard MacCutchan15-Aug-11 22:34 
GeneralRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
mwhardin16-Aug-11 9:28
mwhardin16-Aug-11 9:28 
QuestionTHREE TIER WITH ASP.NET WEBSERVICES Pin
sheemap14-Aug-11 11:47
sheemap14-Aug-11 11:47 
AnswerPlease don't - Repost Pin
thatraja14-Aug-11 18:18
professionalthatraja14-Aug-11 18:18 
AnswerRe: THREE TIER WITH ASP.NET WEBSERVICES Pin
Not Active14-Aug-11 18:53
mentorNot Active14-Aug-11 18:53 
QuestionDATAREPEATER GUIDE Pin
AleBio10-Aug-11 3:36
AleBio10-Aug-11 3:36 
AnswerRe: DATAREPEATER GUIDE Pin
Dave Kreskowiak10-Aug-11 7:22
mveDave Kreskowiak10-Aug-11 7:22 
AnswerRe: DATAREPEATER GUIDE Pin
Eddy Vluggen10-Aug-11 12:34
professionalEddy Vluggen10-Aug-11 12:34 

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.