🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1601

Best way to develop a server stress tool

#1601
From: Mark Anders
Date: Sun, 31 Oct 2004 15:26
28 lines
1642 bytes
hi,

to check out how many simultaneous visitors our new server may manage, i
like to develop a server stress tool. my idea was to simulate the visitors
via threads. so each visitor is a thread.

the threads should looks like this pseudo code:

void __fastcall TMyThread::Execute()
{
   while(!Terminated)
   {
      open the website
      sleep(10000)
   }
}

so each visitor oben the website every 10 seconds. i would use nmhttp to
open the website.

problem is, that i like to run our site from 1 - 5000 simultaneous visitors.
at this reason, the use of threads wouldn't be a good solution, because i
think i cannot run 5000 threads on my system without any problems.

how would you create a server stress tool. is there any better way then
threads? please give me some ideas

thanks Mark
Technical Details
Message-ID: <41850418@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1f7941e50aada38e,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Anders" <manders@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Best way to develop a server stress tool
Date: Sun, 31 Oct 2004 16:26:11 +0100
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 217.88.151.171
Message-ID: <41850418@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099236376 217.88.151.171 (31 Oct 2004 07:26:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail