Saturday, April 3, 2010

HARDWARE LOAD BALANCING LIGHTENS SERVER LOAD

Load balancing is the even distribution of computer processing and communication activities so that a server is not overwhelmed. Load balancing is especially important for networks where it is difficult to predict the number of requests that will be issued to a server.

Busy Web sites typically employ two or more Web servers in a load-balancing scheme. If one server starts to get swamped, requests are forwarded to another server with more capacity. Load balancing is therefore a service that is employed on more sophisticated site deployments.

Most service providers that offer managed hosting will provide load balancing services to their clients if they experience constantly heavy traffic on their Web sites. Multiplexing traffic amongst several servers permits better site availability. Load balancing therefore distributes traffic efficiently among network servers so that no individual server is overburdened.

In the early days of the technology, many load balancing solutions where implemented through customized domain name server configurations. This approach called “DNS round robin,” rotated incoming requests from Web browsers to multiple Web servers. The result was that all requests to the particular Web site were evenly distributed among all of the machines in the cluster.

The advantage of this system was that it was inexpensive, as a system administrator only needed to make a few changes in order to implement it. Its major disadvantages however was that DNS round robin did not support server affinity or high availability.

Server affinity is a load-balancing systems ability to manage a users requests, either to a specific server or any server, depending on whether session information is maintained on the server or at an underlying, database level. Without server affinity, DNS round robin could not by itself exercise control over incoming traffic without the aid of cookies, hidden fields or URL rewriting.

Due to its very nature of not being able to exercise this type of control, DNS round robin could not natively handle browser caching, since incoming requests were randomized. DNS round robin also had tremendous difficulties dealing with high availability, since the DNS system requires a large amount of time of propagate information and cache it throughout the network. As a result, DNS round robin is a more antiquated approach toward managing server load. Load balancing, however, is much more sophisticated today, because it is mainly implemented through appliances such as smart switches.

Hardware load balancers solve many of the problems faced by the round robin software solution through virtual server addressing. A load balancer shows a single, virtual server address to the outside world, which maps to the addresses of each server within the cluster. When a request comes to the load balancer, it rewrites the requests header to point to other machines in the cluster. If a machine is removed from the cluster, the request does not run the risk of hitting a dead server, since all of the machines in the cluster appear to have the same IP address. This address remains the same even if a node in the cluster is down. Moreover, cached DNS entries around the Internet are not a problem. When a response is returned, the client sees it coming from the hardware load balancer machine. In other words, the client is dealing with a single machine, the hardware load balancer.

Because one machine is dealing with the management of an entire cluster, server affinity and high availability is actually integrated into the hardware load balancer solution. Indeed, with the hardware solution, a service provider can offer fail-over services, cluster management, traffic routing and geographic load balancing across multiple sites and points of presence.

Hardware also is a much faster traffic routing solution because it is solid-state device that more efficiently processes requests than software on a server deployment can

Link load balancing is a key element in the overall network Intrusion Prevention effort. Expert Link Load Balancing guards the network against internal and external attacks such as viruses, worms, Trojans, anti-scanning and protocol anomalies. Above all hovers the ultimate link load balancing challenge and network threat – DOS - Denial of Service.

DNS Load Balancing

How DNS load balancing works
When the request comes to the DNS server to resolve the domain name, it gives out one of the several canonical names in a rotated order. This redirects the request to one of the several servers in a server group. Once the BIND feature of DNS resolves the domain to one of the servers, subsequent requests from the same client are sent to the same server.

DNS load balancing implementation (Multiple CNAMES)
This approach works for BIND 4 name servers, where multiple CNAMES are not considered as a configuration error. Assuming there are 4 web servers in the cluster configured with IP addresses 123.45.67.[1-4], add all of them to the DNS with Address records (A Names) as below. The srv[1-4] can be set to any name you want, such as foo[1-4], but should match the next step.

The DNS server will resolve the www.domain.com to one of the listed servers in a rotated manner. That will spread the requests over the group of servers.

Note: The requests sent to http://domain.com (without www) should be forwarded to http://www.domain.com in this case to work. For BIND 8 name servers, the above approach will throw an error for multiple CNAMES. This can be avoided by an explicit multiple CNAME configuration option as shown below.

DNS load balancing implementation (Multiple A Records)

This above approach with multiple CNAMES for one domain name is not a valid DNS server configuration for BIND 9 and above. In this case, multiple A records are used.

Server Load Balancing: Introduction

Why is load balancing of servers needed?

If there is only one web server responding to all the incoming HTTP requests for your website, the capacity of the web server may not be able to handle high volumes of incoming traffic once the website becomes popular. The websites pages will load slowly as some of the users will have to wait until the web server is free to process their requests. The increase in traffic and connections to your website can lead to a point where upgrading the server hardware will no longer be cost effective.

In order to achieve web server scalability, more servers need to be added to distribute the load among the group of servers, which is also known as a server cluster. The load distribution among these servers is known as a href= http://www.xrio.com/xrionet/TechnologySolutions/ISPLoadBalancing/tabid/83/Default.aspx target= _blank load balancing. Load balancing applies to all types of servers (application server, database server), however, we will be devoting this section for load balancing of web servers (HTTP server) only.

About load balancing mechanism - IP Spraying

When multiple web servers are present in a server group, the HTTP traffic needs to be evenly distributed among the servers. In the process, these servers must appear as one web server to the web client, for example an internet browser. The load balancing mechanism used for spreading HTTP requests is known as IP Spraying. The equipment used for IP spraying is also called the load dispatcher or network dispatcher or simply, the load balancer. In this case, the IP sprayer intercepts each HTTP request, and redirects them to a server in the server cluster. Depending on the type of sprayer involved, the architecture can provide scalability, load balancing and failover requirements.

Grinding Coffee is Never a Grind.

After years of collecting all the kitchen gadgets and labour-saving devices you could care to mention, I’m still prize my coffee grinder above all else. I drink gallons of coffee a week – a habit that really puts my coffee grinder through the mill, as it were, on a daily basis. You just can’t beat the taste of coffee brewed from freshly ground beans. Even the very act of grinding the beans myself is something I look forward to. It has become a ritual that connects me to my kitchen and stimulates every sense. The aroma is released, my mouth begins to water, my hands tingle as they grip the body of the grinder, my eyes are hypnotized by the whirling beans, and… well the noise is pretty awful actually. In our fast-track lives in which we often eat on the fly and seldom make the time to cook, it is a privilege to enjoy such as sensual feast in your kitchen every day.

I’m sure I’d be healthier if I drank less coffee, but I belong to a long line of coffee connoisseurs. I started my coffee drinking devotion long before I should have. I had watched my parents in the middle of a heated ‘discussion’ stop and purr as the first wonderful elixia reached made contact with the tips of their tongues. I came to associate that wonderful aroma with a sense of well-being and close-knittedness. I wanted to be part of the grinding and brewing process; I wanted to be the magician that made a brew that made everything perfect. I have my coffee, like the Japanese have their tea. If you’ve seen ‘Karate Kid,’ you’ll know where I’m coming from.

I can’t understand why coffee grinders seem to be overlooked as gift ideas. They may not make the most glamorous presents, but they always make an impact on the lives of those who use them. What could be better than a coffee grinder for Christmas? It fits snuggly into a decent-sized stocking, and just a few hours later, leaning back in your chair after dinner, you can be breathing in the aroma of freshly ground coffee as you sample your first cup. Grinders can be found at any major store or mall. There’s a grinder out there for you no matter whether you have 5 dollars to spend or fifty. My own modest grinder was bought about four years ago for 10 bucks. It has never let me down.

Giving a coffee grinder at Christmas, perhaps along with a carefully wrapped sample of premium beans, is the best gift I could imagine. I’ve given grinders to nearly all my family members over the years. As I’ve said, I come from a family of coffee drinkers, but I’ve also given coffee grinders as wedding gifts housewarming parties and even a college graduation. Funnily enough, nobody has ever bought me one. I guess they assume it’s something I don’t lack. My kitchen is more like my own cafĂ© than a food production area, and my coffee grinder holds centre stage on the counter.


Eoin Beckett is a freelance writer and editor. He writes both short fiction and non-fiction for both online and print publications. Although he stems from Ireland, since his teens he has lived in countries all over the world and has forgotten many - but not all - of the Irish songs he grew up with. He currently lives and works in Copenhagen, Denmark.

A wonder of the modern age

Are you sick of having no room on your computer table, if so here are a few tips that might help you on your way?

If you still own one of those HUGE CRT monitors maybe it’s now a good idea to purchase one of the new more modern looking TFT monitors, they are a fifth of the size of cumbersome CRT monitors and much more aesthetic looking in the process.

Prices for a good CRT monitor have dropped considerably over the last 12 months and a 17” monitor which I find big enough for most uses can be purchased for around $200.

Other great purchases which are now the much smaller are compact keyboards, even a smaller than normal mouse can be bought for only a few dollars and are often more preferred for the female pc user.

Also you could always turn to a laptop which would be much more portable and you could have it anywhere in the home, making wireless networking a great idea, if you have broadband.

Being wireless enabled is now very cost effective and now the best thing about it is how simple it all is to put together, most laptops already come with the WIFI card built in.

Also if you travel a lot a laptop computer is a very indispensable bit of kit, they are also very versatile and extremely lightweight the Apple G4 iBook probably being the lightest one around at the moment.

I suppose the only downside to a laptop compared to a desktop is that if you are really into gaming it maybe doesn’t quite cut the mustard like the laptop, Laptops usually share memory between the CPU(central processing unit) and the GPU(graphics processing unit), saving a lot of space and helping reduce power consumption.

Organize Disk Drive Partition

1. What Is Disk Partitioning?

Partitioning creates a logical file structures on your hard disk so as to divide various potions of a hard disk to be used for different purposes such as a dual operating systems, storage or organizational purposes.

2. Why Partition Your Disk?

Partitioning your hard disk helps to categorize your files into logical groupings so that you can search for files and make changes more effectively. Folders are made for the same reason too. But partitioning provides better security.

a. Security

Most default primary partition is the C drive. This is the drive which your operating system and most other software applications are installed in. A useful way of protecting your data is to store your personal information into a separate disk partition. For example, if you are using a 80GB hard disk, you might want to partition it into two drives - drive C & drive D. Drive C will contain your operating system files and software applications such as your Microsoft Office Suite, Adobe Acrobat, Antivirus, Photoshop etc. While drive D can be configured as a storage drive to store all your document files, JPEG, MP3 and other personal data.

It is understood that your most important files are those that are difficult or virtually impossible to replace. For example, if Microsoft Word would to crash, you can always reinstall the application to make it work again. However, if your document files are corrupted by a virus or worm you may need to spend money and precious time trying to recover your data. In some case, you may not be able to recover them if the damage is too severe. Statistics have shown that most viruses and worms are more likely to infect executable and system files compared to your MP3 or excel spreadsheets. Therefore, if one partition corrupts, only that partition suffers and hopefully not the whole drive.


b. Convenience

Another reason for storing your document files in a separate drive is the ease of manageability. Say in a scenario which your computer needs to be reformatted due to severe corruption, you can easily reformat drive C and be assured that all your documents in drive D remains intact. This will save you quite a bit of time trying to backup your documents, then restoring them back in your local drive after your computer is reformatted and working. In this way, should you decide to refresh your operating system or application, the stored data is not affected.

c. Dual Operating System

You may wish to install more than one operating system into your computer. For example you need to a Windows and Linux operating system. But both are unable to be installed in the same partition. By partitioning the disk, you separate two logical spaces to include each individual OS.


3. Evaluating Your Needs

Before you start, ask yourself the following questions to help you determine the kind of partitions to create:

1. Do you work more on documents than on software?

2. Does your job require you to install multiple software applications?

3. Does the size of your software exceed that of your documents?
The point here to is to study the ratio space to allocate for each partition. The choice of how you partition your disk is important because it affects both disk performance and efficiency. If you are a designer or sound engineer given a computer with 80GB of disk space, you probably would want to assign 25GB of capacity to your primary disk and 55GB to a secondary drive to contain all your media files. You can always adjust this ratio according to your needs. On the other hand, if you are a software tester or a hardcore gamer you would probably choose to assign 50GB to your primary disk and 30GB to the secondary drive for storage. Again, there is no fixed rule or a standard template and much is directly dependent on your needs and how you operate.


4. Understanding Partitions

The master boot record is the first record that resides in your hard disk. It is located at the first sector of the disk and the first program that runs each time you power up your computer. The master boot record contains 2 important structure - the master boot code and the master partition table. Both of which provides instructions and information to how your computer boots up. Due to its structure, a single hard disk is limited to 4 primary partitions. One of it will be assigned as the active partition to contains your operating system. Simply, You can create 4 primary partitions, or 3 primary partitions and 1 extended partition which can be subdivided into multiple logical partitions.

For example, you may want to spilt your 80GB disk as follows:
„h 40GB primary partition for your OS and software applications

„h 10GB for MP3 files

„h 15GB for Document files

„h 5GB for Miscellaneous files

„h 10GB for Archival files

A Brief History of Rugs and Carpets

Rugs and carpets have a rich history, only part of which is known. Ancient rugs are very rare because the earliest rugs were made of organic fibers. Organic fibers disintegrate speedily over time, thus preservation over thousands of years is extremely rare. What we do know is that the art of weaving is very old and dates back thousands of years.

Weaving began with rough, simple mats and baskets made of grasses, reeds, leaves, and other natural materials. The first true ‘rugs’ were probably rough cured skins used as floor coverings in the homes of early hunters. With tough, flexible backing and generally soft material (called ‘pile’), these rugs served to keep the home more warm and insulated.

There is evidence for weaving and the existence of rugs in ancient Mesopotamia and Turkey as far back as 7000 and 8000 B.C.E., and in Egypt (wool and cotton) as early as the third millennium B.C.E. Mongolia and China were also main players in the textile industry, and nomadic herders and Chinese weavers were among the first to develop and weave wool rugs.

Weaving developed in many other parts of the world in addition to Europe, including parts of the Americas as far back as 5500 B.C.E. Weavers began to use natural colors and gradually transitioned to using vegetable, flower, and insect materials.

Silk development in China, the ornate, intricate embroidery and designs of Turkey and Mongolia, and the development of more sophisticated looms and weaving techniques throughout the world lifted rug-making from necessity to art form.

Italian merchants first brought oriental rugs to Europe, where they were used as wall hangings and coverings. By 1600, France had developed a dominant weaver’s guild, and England wasn’t far behind. The 1700’s marked England’s emergence into the weaving industry, and by about 1830, a good portion of the wool produced in England was used for carpets.

Various machines were created to aid the process of weaving, and looms have become so sophisticated today that they run off of computer algorithms. Rugs were not widely available in the US and Europe until the onset of mass production and the invention of industrial grade machines.

The first steam-powered loom appeared in 1787, and by 1876, the invention of the Axminster loom, a machine that permitted unlimited use of color and design, boosted the production of carpets. The advent of synthetic fibers and tufted carpet (carpet manufactured by the insertion of tufts of yarn through a carpet-backing fabric) made mass production and purchase of carpets easier, faster, and less expensive.