Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Other Forums > Smalltalk

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st May 2007, 05:54
justdave justdave is offline
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Red face Hardware in use here?

I'm just curious. What hardware is powering the HowToForge.com site?

The reason I ask is because the forum shows a large number of members/guests (mostly guests) online. Does the site use some of it's own tutorials such as a load balanced Apache cluster? Perhaps a load balanced MySQL cluster? Is there anything customized in the delivery system that isn't discussed in a tutorial?
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2007, 06:03
justdave justdave is offline
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I could have sworn I was posting this in smalltalk! Sorry about that. (thanks in advance to who ever moves it)
Reply With Quote
  #3  
Old 1st June 2007, 12:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Howtoforge uses a main Server with DualCore AMD processor and a second server as replicated backup server in case the first server fails. We also use two additional servers to serve static content like the images in the howtos.

The key point in running a site with many concurrent users is that you need much ram for caching SQL queries and that you use a PHP cache. The first bottleneck you will reach is mostly the harddisk transfer rate and not the power of the processor.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 1st June 2007, 15:39
justdave justdave is offline
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up

Thanks till! By your description then it would seem that the web server and database server are on the same machine? How much ram do these machines have?

I see your using Apache for the static content as well. I was on Lightspeed's site looking at their server offerings recently and they had a chart showing the requests per second being served up by it in comparison to others. It showed Apache2 up along the smaller servers such as Lighttpd.

I'm coding a social networking site from scratch so I'm wondering what sort of online numbers I'll be able to support. I'll be utilizing memcache and other optimizations such as xcache to push the hardware as far as possible. Your insight on the hardware used here has been very much appreciated.
Reply With Quote
  #5  
Old 1st June 2007, 18:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by justdave
By your description then it would seem that the web server and database server are on the same machine?
Yes. That minimizes slow SQL queries.

Quote:
Originally Posted by justdave
How much ram do these machines have?
The main server has 2GB, the MySQL slave 1 GB, and the image servers 512 MB.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 1st June 2007, 18:44
justdave justdave is offline
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for the info falko!

Do the main servers monitor each other in the same manor as the load balancers for the high availability apache cluster how-to? Is rsync being used to keep both servers in sync? (most likely I guess) Are the databases set up in a master/master replication? This is all very interesting, really. An "How we do it here" how-to may be insightful for others especially if you could provide some general statistics on bandwidth being used, typical online user numbers and other such site related data. For my own purposes this data wont be as relevant but I have seen many discussions between people using forum software package such as Vbulletin or Drupal CMS packages that need to scale upward and are not sure what is needed.

Hopefully I'm not the only person here interested in this information. (would feel guilty asking so many questions otherwise) lol

Cheers,
~Dave
Reply With Quote
  #7  
Old 2nd June 2007, 14:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by justdave
Do the main servers monitor each other in the same manor as the load balancers for the high availability apache cluster how-to?
No.

Quote:
Originally Posted by justdave
Is rsync being used to keep both servers in sync? (most likely I guess)
Yes, for copying the images over to the image servers.

Quote:
Originally Posted by justdave
Are the databases set up in a master/master replication?
No, master-slave. We're using this tutorial: http://www.howtoforge.com/back_up_my..._interruptions
to make backups of the database.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 11th July 2007, 20:18
kassie kassie is offline
Senior Member
 
Join Date: May 2007
Location: Johannesburg, South Africa
Posts: 136
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Howtoforge uses a main Server with DualCore AMD processor and a second server as replicated backup server in case the first server fails. We also use two additional servers to serve static content like the images in the howtos.
Hey Till,

Is there a "howto" to setup the second server as backup server??

Does the backup server get duplicated from the main server?
Reply With Quote
  #9  
Old 12th July 2007, 07:45
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 42 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

Hi!

How about the Internet link type and upload/download speed ?
Reply With Quote
  #10  
Old 12th July 2007, 10:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
 
Default

Quote:
Originally Posted by kassie
Is there a "howto" to setup the second server as backup server??
There is no complete howto that describes the specific configuration for howtoforge. Generally, the content is synced with rsync:

http://www.howtoforge.com/mirroring_with_rsync

and the database is a mysql master > slave configuration.

http://www.howtoforge.com/mysql_database_replication

Quote:
Does the backup server get duplicated from the main server?
Yes, the backup server gets all data from the main server with the mechanisms described above.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommended hardware for a server Leszek Technical 4 26th December 2006 22:25
Hardware - Monitor Issue latcarf Installation/Configuration 1 23rd September 2006 14:27
Hardware configuration for debian server TheRudy Technical 8 25th August 2006 06:17
ISPConfig - Behind Hardware Firewall RunneR General 4 30th May 2006 03:54
how to hardware analisys? matehortua Server Operation 4 15th October 2005 19:01


All times are GMT +2. The time now is 23:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.