nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Tune Apache Web Server for Hight Traffic Websites

This is a discussion on Tune Apache Web Server for Hight Traffic Websites within the Web servers forums, part of the Mastering Servers category; Hello experts, Need a suggestion about Web production environment. I am a Linux Admin, we are running Websites IBNLive - ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-05-2009, 12:40 PM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Tune Apache Web Server for Hight Traffic Websites

Hello experts, Need a suggestion about Web production environment.

I am a Linux Admin, we are running Websites IBNLive - News | India News | World News | Latest News | Breaking News | Latest Headlines (news channel site). On Saturday Election Counting were going, on that day we running site on 12 servers VPS each having 8GB RAM and 4 CPU. All web servers are load balanced By Netscaler machine.

Problem is, our got lot load just in a min. about 50-150 and keeps increasing if we do not restart apache server.

Our Codeing (PHP) persons are running Ajax for displaying data. Data is retrieving by XML.

We have lot of traffic.

So my question is, Is XML is the way to achieve this task or use HTML for displaying data.

As our primary data source is in XML form.

Pl. let me know if u need more information from my side.

Regards
Manish Singh
Reply With Quote
  #2 (permalink)  
Old 18-05-2009, 04:04 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

XML is used with ajax. However, there are few things you can do to speed up and avoid restarting problem. First, you need to tune Apache for high traffic website. If that is not possible increase webservers. Another option is use lightweight server such as lighttpd or nginx . Most hight traffic use lighttpd or nginx and proxy out backend using FastCGI. Another option is to install revers proxy infront of all apache servers.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 19-05-2009, 11:42 AM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default

we were already running 12 Apache web servers and they are load-balanced through a Hardware Load-balancer (Netscaler). So revers proxy can be done?

Is XML is better solution? Is there any other light method we can do to achieve the same.. ?
Reply With Quote
Reply

Tags
apache , high traffic , web servers


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
php and perl on apache server capibolso Web servers 1 19-11-2008 10:41 PM
I need a Shell script that grab emails from websites! eawedat Shell scripting 0 30-05-2008 08:18 PM
Upgrade Apache Server sweta Ubuntu / Debian 0 01-11-2007 02:53 AM
How to get MRTG of apache traffic manish_2479 Networking, Firewalls and Security 2 21-07-2007 02:15 AM
Apache php web server security by hiding version information nixcraft Getting started tutorials 1 20-12-2006 06:12 PM


All times are GMT +5.5. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38