[root@server ~]# host downlods.info
downlods.info has address 69.10.60.149
downlods.info has address 69.10.48.100
Thus the domain runs from two different IPs to balance out the traffic on the domain using round robin DNS configuration.
2. These two IPs run lighttpd installations with PHP configured on FastCGI mode. This can be seen as below:
[root@server ~]# HEAD 69.10.60.149
200 OK
Connection: close
Date: Thu, 24 Dec 2009 09:29:42 GMT
Server: lighttpd/1.4.23
Content-Type: text/html
Client-Date: Thu, 24 Dec 2009 09:27:25 GMT
Client-Peer: 69.10.60.149:80
Client-Response-Num: 1
X-Powered-By: PHP/5.2.10
[root@server ~]# HEAD 69.10.48.100
200 OK
Connection: close
Date: Thu, 24 Dec 2009 09:29:46 GMT
Server: lighttpd/1.4.23
Content-Type: text/html
Client-Date: Thu, 24 Dec 2009 09:27:29 GMT
Client-Peer: 69.10.48.100:80
Client-Response-Num: 1
X-Powered-By: PHP/5.2.10
Lighttpd has been custom tweaked on these servers to handle scripts like wordpress and acts as a proxy to pass http requests to much lighter Nginx instances. You can notice the actual site is served from Nginx as below :
[root@server ~]# HEAD http://www.downlods.info
200 OK
Connection: close
Date: Thu, 24 Dec 2009 09:28:25 GMT
Server: nginx/0.8.7
Content-Type: text/html; charset=UTF-8
Client-Date: Thu, 24 Dec 2009 09:26:09 GMT
Client-Peer: 69.10.48.100:80
Client-Response-Num: 1
Set-Cookie: wassup=MDE5Y2Y5N2QzYjNkMjRiNWZlYTM1NDg5ZDVmNDBlMzQ6OjEyNjE2NDk2MDU6Ojo6NjguMTY4LjIwOC4xMDo6c2VydmVyLmRvd25sb2RzLmluZm8%253D; expires=Thu, 24-Dec-2009 10:18:25 GMT; path=/
Set-Cookie: wpgb_visit_last_php-default=1261646905; expires=Fri, 24-Dec-2010 09:28:25 GMT; path=/
X-Pingback: http://www.downlods.info/xmlrpc.php
X-Powered-By: PHP/5.2.10
Traffic is distributed using round robin balancing which can be seen as per the logs below:
2009-12-24 04:33:36: (mod_proxy.c.1105) proxy - start
2009-12-24 04:33:36: (mod_proxy.c.1143) proxy - ext found
2009-12-24 04:33:36: (mod_proxy.c.1214) proxy - used round-robin balancing
2009-12-24 04:33:36: (mod_proxy.c.1277) proxy - found a host 66.45.229.83 80
2009-12-24 04:33:36: (mod_proxy.c.392) connect delayed: 15
2009-12-24 04:33:36: (mod_proxy.c.1017) proxy: fdevent-out 1
2009-12-24 04:33:36: (mod_proxy.c.828) proxy - connect - delayed success
2009-12-24 04:33:36: (mod_proxy.c.1105) proxy - start
2009-12-24 04:33:36: (mod_proxy.c.1143) proxy - ext found
2009-12-24 04:33:36: (mod_proxy.c.1214) proxy - used round-robin balancing
2009-12-24 04:33:36: (mod_proxy.c.1277) proxy - found a host 69.10.60.149 8080
2009-12-24 04:33:36: (mod_proxy.c.392) connect delayed: 17
2009-12-24 04:33:36: (mod_proxy.c.1017) proxy: fdevent-out 1
2009-12-24 04:33:36: (mod_proxy.c.828) proxy - connect - delayed success
PHP is configured to run in FastCGI mode across the clustered setup and thus gives amazing speed to the blog site. You can use various third party tools to confirm the site speed even when the blog has more than 1700 posts and runs numerous ads as well. Here are some of the readily available tests we have already done.
The various results can be found at the links below:
Pingdom Results :
Website information
- Total loading time: 4.9 seconds
- Total objects: 29 (373.9 KB)
- External objects: 5 (120.8 KB)
- (X)HTML: 1 (41.6KB)
- RSS/XML: 0
- CSS: 6 (19.3KB)
- Scripts: 4 (144KB)
- Images: 18 (169KB)
- Plugins: 0
- Other: 0
- Redirected: 0
- SiteUptime Results:
Quick check for: www.downlods.info (http)
Date | City | Country | Time (s) | Result |
December 24, 2009 10:59:18 | New York | United States | 0.184 | Ok |
December 24, 2009 10:59:19 | London | United Kingdom | 0.190 | Ok |
December 24, 2009 10:59:20 | Hong Kong | China | 0.460 | Ok |
Location |
Status |
Time |
Traceroute |
||
1. Seattle, Washington, USA (WA) |
OK |
2346ms | do traceroute | ||
2. San Jose, California, USA (CA) |
OK |
1274ms | do traceroute | ||
3. Dallas, Texas, USA (TX) |
OK |
834ms | do traceroute | ||
4. Ashburn, Virginia, USA (VA) | Test temporarily unvailable | ||||
5. Chicago, Illinois, USA (IL) | Test temporarily unvailable | ||||
6. Montreal, Quebec, Canada (QC) |
OK |
1680ms | do traceroute | ||
7. Maidenhead, Berkshire, UK (UK) |
OK |
3160ms | do traceroute | ||
8. Amsterdam, Netherlands (NL) |
OK |
2728ms | do traceroute | ||
9. Madrid, Spain (ES) |
OK |
3788ms | do traceroute | ||
10. Milan, Italy (IT) |
OK |
4692ms | do traceroute | ||
11. Frankfurt, Hesse, Germany (DE) |
OK |
4144ms | do traceroute | ||
12. Singapore (SG) |
OK |
4973ms | do traceroute | ||
13. Zhongzheng, Taipei, Taiwan (TP) | Test temporarily unvailable | ||||
14. Neihu, Taipei, Taiwan (NH) | Test temporarily unvailable | ||||
15. Brisbane, Queensland, Australia (AU) |
OK |
6406ms | do traceroute |