Low End Mac's Online Tech Journal
Web and Email Server Issues
Scott L. Barber
Scott L. Barber posted this to Quadliston September 10, 1998. It is reprinted with his permission.
- Honest question: What are the specific performance issues for a separate Web and Email machine?
It's really a number of connections in Open Transport. If you have a web site with eight artifacts per page, a person using Netscape will attempt all of those connections simultaneously and take up eight spots on the machine at once. Email servers like Dan* is using (Stalker Internet Mail Server, or SIMS) also attempt list distribution not one mail at a time, but by making multiple connections simultaneously out of the email software and constantly keeping one port open for incoming email. For this reason, Dan sometimes has trouble when too many connections are made at once, especially when SIMS tries to send out a couple dozen 1 MB attachments simultaneously to everyone on the list. Since a Q650 can handle around 50 to 60 simultaneous connections before it really overloads the OT stack, keeping the machine in the 30 to 40 range is optimum for a maximum. [It's worse than that - I'm using a IIfx. dk] WebStar allows limitations on the number of incoming connections, as does SIMS. But this doesn't solve the problem.
When a connection to WebStar is open, the host machine (web server) loads the artifact into memory, then transfers it to the network through the port. Let's say that a web page has eight high quality artifacts - all 300k pictures, say for a realty organization selling houses on the web, and they're using higher quality images in transfer. At the moment that the browser hits this page, it gets the primary HTML and connects to the web server eight times simultaneously and pulls down these pictures. The web server immediately loads eight 300k images into memory, moving memory usage to an extra 2.4 MB of memory. If multiple people are accessing this site, the connections could jump to 40 simultaneous connections on this page - meaning perhaps 12 MB of memory is being used by the web software at this very moment either in application space or system heap (usually system heap). Now it doesn't always happen this way, simply because WebStar and other web software may realize it's sending the same information to multiple people, but as a web server gains more and more diverse web pages, the odds that caching will assist in this become really low. And poor web designers like to use blank spacers in their tables and borders with hog connections and increase the memory usage on a web server.
Combine this with a web software package that has no idea that the
email package will be gouging up memory the same way, and it should be
rather obvious that dedicating separate machines might be a way to go -
if not now, then probably in the future when memory and connection
problems begin occurring. You could always go with a combined solution
- usually from StarNine, who makes several integrated packages and
packages that know about each other running to solve these problems,
but in the case where SIMS would be using heavy load, the web server
portion might not be given the priority it needs to serve properly. And
dedicating a specific minimum of threads to the web server software
would be inefficient when the email server is under heavier load (4
a.m.) and the web server is not. See the problem?
- Scott L. Barber <serker@earthling.net>
- Pres/CEO, SERKER Worldwide, Inc.
- Providing Hardware/Networking/Telecomm for 13 years
Quadlist, the listserv for users of 68040-based Macs. FAQ at <http://lowendmac.com/lists/quadlist.shtml>
* Dan Knight, listmom of Quadlist, webmaster of Online Tech Journal, owner of reformed.net. At the time this was published, reformed.net was handling email for several lists and serving up web pages on a Macintosh IIfx. As noted, email is handled by SIMS. Web pages are served by NetPresenz. That's all the IIfx does. I am hoping to set up a dedicated email server for lowendmac.net in the near future, which would handle all Mac-related lists. Dan
Join us on Facebook!, follow us on Twitter, use our Google+ page, or read our RSS news feed
Recent Online Tech Journal Columns
- Optimized Software Builds Bring Out the Best in Your Mac, 2009.06.30. Applications compiled for your Mac's CPU can load more quickly and run faster than ones compiled for universal use.
- Low End Mac's Safe Sleep FAQ, 2009.06.15. What is Safe Sleep mode? Which Macs support it? How can you enable or disable it? And more.
- The Original Macintosh, 2009.01.12. An in-depth look at the original Macintosh and how it shaped future Macs.
- More in the Online Tech Journal index.
Links for the Day
- Mac of the Day: Mac Plus, introduced 1986.01.16. The first Mac with SCSI, memory expansion, an 800K floppy. Longest model life - over 4 years.
- May 25 in LEM history: 99: OS X and the econoMac - iMac iMpact - 00: Is a Mac better than a PC? - 01: 1993: PowerBook vs. ThinkPad - Old files on a new Mac - 05: Mac minis in classroom a big hit - Of mice and keyboards - 06: The best 'Book for my needs - 07: More RAM vs. matched RAM - Running OS X from flash memory
- Support Low End Mac
Recent Content on Low End Mac
- Lion and the End of Bootable OS X Installers, Frank Fox, Stop the Noiz, 2012.05.23. Mac OS X Lion is only available as an upgrade from Snow Leopard. Is this the end of bootable installers from Apple?
- Mac Pro on the Way Out or Changing with the Times?, Dan Bashur, Apple, Tech, and Gaming, 2012.05.22. No other desktop Mac offers a wide range of expansion options, but is that enough reason for Apple to keep the behemoth powerhouse Mac Pro around?
- iPhone 3D: Stereo Photography and 3D Movies for the Rest of Us, Anne Onymus, The Rumor Mill, 2012.05.22. Until now, stereo photography and 3D movies required expensive dedicated equipment. With the iPhone 3D, Apple will make it available to the masses.
- iPad 2 'Feels Like an Upgrade' from New iPad, Samsung Tops Apple in Smartphone Market, and More, iOS News Review, 2012.05.21. Also Apple to maintain tablet dominance, working in portrait mode, Wozniak would like to see end of walled garden, and more.
- MacBook Airs Top Ultrabooks, Boost MacBook Performance, MacBook Pro Update in June?, and More, The 'Book Review, 2012.05.21. Also Retina displays available now but costly, USB 3 expected in next MacBook rev, hybrid drives an affordable alternative to SSDs, and more.
- More links in our archive.
Recent Deals
- Best Mac OS X 10.4 Tiger Deals
- Best eMac Deals
- Best 17" MacBook Pro Deals
- Best MacBook Air Deals
- Best 12" PowerBook G4 Deals
- Best iPad Deals
- Best iPod classic Deals
- Best Mac OS X 10.6, iLife, and iWork Deals
- More deals in our archive.
About LEM Support Usage Privacy Contact
Follow
Low End Mac on Twitter
Join Low End Mac
on Facebook
Low End Mac Reader Specials
Macsales Add 2nd Hard Drive or SSD to Mac mini, MacBook or MacBook Pro. 1TB of Hard Drive or SSD Capacity from $64.99! Video Guides Make it easy - OWC DataDoubler - Macsales.com
Don't install Parallels to play poker online! Macpokeronline.com will show you how to download and play Poker on a Mac natively on your Mac in just minutes.
Favorite Sites
MacSurfer
Cult of Mac
Shrine of Apple
MacInTouch
MyAppleMenu
InfoMac
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac Museum
Deal Brothers
DealMac
Mac2Sell
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ
Affiliates
Amazon.com
The iTunes Store
PC Connection Express
Parallels Desktop for Mac
eBay

