June 13, 2008 · DNS category.
From our own experience, not many folks keep up their named.ca or root.hints file for the DNS service. Fetching this file every month is recommended if you run a busy recursive DNS service, for example, an ISP provider DNS or medium to large corporation DNS servers.
You can easily fetch this file with a dig utility:
dig [...]
Read full article...
March 1, 2008 · Hardware category.
Avoid Realtek network cards as their technical support is simply none. We have RTL-8110SC/8169SC based NIC cards (built in) on quite a few test servers and the performance is quite low.
We have been trying to find the problem as it looks the driver or NIC card performance for Linux kernel. Realtek support department doesn’t reply [...]
Read full article...
February 10, 2008 · Architecture category.
If you are planning architecture for a very large online service or website, it’s recommended you avoid control panel software from the very beginning. If you intend to run a web-based service, why do you need running email, DNS and many other services on the same server? How about scalability and performance tuning when load [...]
Read full article...
February 5, 2008 · Applications, OS performance category.
We performed Bind 9.4.2 benchmarking using our Gigabit network and Linux server nodes. The following performance was easily recorded using one zone and doing IN A requests using queryperf tool.
DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.8.192.4 2007/09/05 07:44:57 marka Exp $
[Status] Processing input data
[Status] Sending queries (beginning with 192.168.3.20)
[Status] Testing complete
Statistics:
Parse input file: once
Ended [...]
Read full article...
February 4, 2008 · Hardware category.
Lately, we have been testing our server environment and setting up our Linux powered lab where all servers are connected to 1Gbps managed switches.
One of the first tests we had was testing Ethernet cables - CAT 5e and CAT 6 category cables. CAT 6 is the standard for Gigabit Ethernet and backward compatible with CAT [...]
Read full article...
January 16, 2008 · Applications, Databases category.
The less data your website pulls from the back-end MySQL server, the faster it is. Imagine you need to display just 3 rows from a table with 2,500 records, but your code is looping through all 2,500 records generating extra, unnecessary load.
For example:
SELECT name,lastname from UserTable;
Optimized SQL query would be:
SELECT name,lastname from UserTable Limit 3;
Or, [...]
Read full article...
January 14, 2008 · Applications, Architecture, Storage category.
I bet you have already heard about MogileFS if you are reading this article. MogileFS is an open-source and distributed file system that offers many good properties and features that are hard to find in some of the expensive and proprietary file systems currently available.
MogileFS is a perfect choice for your next storage system if [...]
Read full article...
January 10, 2008 · Load balancing category.
IPv4 anycast is actually a very old technique, and it works as follows. One set of address space is announced in multiple physical locations using BGP. All data sent to this IP address block will travel to the “nearest” location BGP hop-wise, because the router will do BGP balancing and choose the path that has [...]
Read full article...
January 8, 2008 · Applications category.
Who does run Wordpress without a single plug-in? Not many, I guess. If you run a popular blog using a few plug-ins, it’s time for quick CSS file optimization.
To speed up the blog loading time a little, you should serve less hits - this provides lower latency and server network stack usage. You should found [...]
Read full article...
January 7, 2008 · Caching category.
Today many folks use memcached for fast memory data access because RAM is cheap. However, for some heavyweight websites, 16GB of RAM or even 32GB is not enough, and keeping a lot of data in the RAM becomes expensive. It’s time to cache your content and data to hard disk using Tugela cache a “clone” [...]
Read full article...