Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 19th, 2002, 10:50 PM
rootdog rootdog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: New York
Posts: 89 rootdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 52 sec
Reputation Power: 8
probability and web server stress

Ok I have something for all the brainiacs to ponder.

If I stress test my server and find that it can handle X number of simultaneous requests.
I would now know the absolute limit, but it doesn’t take in to account the latency in the web surfing process. Since most of my pages are dynamic I would probably take caching out of the equation. The result I am looking for is the max number of site “viewers” the server can support.

I realize there is probably an equation out there for this. Any suggestions as to where to look?

Now I wish I wouldn’t have slept through math class.

Thanks,

rootdog

Reply With Quote
  #2  
Old August 31st, 2002, 12:10 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
That depends largely on how much work each "viewer" is making the server do. For example some viewers will only download large files from your site, whilst some may come to the front page, decide it sucks and leave. Others still will open many pages on your site, browsing through them and then clicking links on them.


Let's say you have x users on your site. Each user will use a certain amount of CPU time during their session. Some users will use it all at once, some users will spread it out over their session. The amount of CPU time varies, for example if they are downloading a large file this requires very little CPU, it is handled by the TCP/IP stack. If they are generating a lot of dynamic pages from various data sources then this will require a lot more CPU time.

In short, you can't really work out how many users your site can cope with, because each user will do different things, which will use your server in different ways varying in their intensity.


Hope this helps.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > probability and web server stress


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway