On Wednesday 05 September 2007 08:21:58 Richard Clark wrote: > The limitations on system performance for web serving today are rarely > CPU. In general, the first thing you run short of is memory. Having
On the other hand, since you'll have several connections to the database, each one can be processed by one CPU. This would help improving concurrent requests, database-wise. (PostgreSQL will make good use of that ;-)) > plenty of ram is key to serving web requests at a decent speed - > primarily because for the most part, web requests have a distinct bias > towards a small set of very popular pages/data. Databases also benefit from caching things. > After ram, the next is disk speed. Databases with datasets bigger than > ram, and/or lots of writes, are invariably IO bound rather than cpu > bound. Unless you're very very popular or your data is particularly > complex, you're unlikely to need anything beyond regular sata disks so > long as you have sufficient ram however. > > Please keep in mind that there are things you can do for your app > which will change which aspect gets used most. Good indexing on your > database, proper configuration of apache to serve static content > itself, and correct formulation of your queries will have an enormous > impact on your total capacity. The first thing for a big website is taking this mailserver out of there. Make a dedicated server for that if you have to, but mailservers are very I/O intensive as well. Specially if you'll have POP/IMAP, antivirus, antispam, etc. Having your webserver on a different server is also a good optimization for the future: plenty of RAM for your database and plenty of it for your website caching needs. Having things that require the same resource on the same machine will make all of them suffer, be that resource I/O, RAM or CPU... -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

