Posts Tagged ‘established’

Php:Keep-Alive

Tuesday, July 1st, 2008

When a keep-alive request is granted the established socket is kept open after each keep-alive
response. Note that a keep-alive response is only possible when the response includes a
content-length header.

request 1
request 2
request 3
request 4
20 bytes
120 bytes
60 bytes
?? bytes
You cannot rely on the keep-alive feature for any sort of application-level session state maintenance.

Using Output Buffering to get content-length
<?php
ob_start();
echo “Your Data”;
$l = ob_get_length();
Header(”Content-length: $l”);
ob_end_flush();
?>
You will have to weigh the trade-off between the extra cpu and memory that output buffering takes
against the increased effciency of being able to use keep-alive connections for your dynamic pages.

Starting A Web Hosting Company

Thursday, June 26th, 2008

Rather than use the services of a web hosting company to host your web site you could start your own web hosting company. If your business is successful this could provide secondary income and lower the hosting costs for your own site(s).

Basically, there are two ways to start selling web hosting. The first way involves leasing business space, buying equipment, setting up servers, leasing T1 or T3 lines to connect to the Internet, finding clients, and hiring staff to provide 24 hour support. Quite complicated and not recommended for anyone without the technical know-how.

The second way is to become a re-seller for an established host. For a monthly fee you can have an allotment of disk space and bandwidth which can be used to sell to other people. Re-selling is usually anonymous – there is no visible connection to the parent host and you are free to set your own prices and develop your own ‘brand’.

All that is needed to become a re-seller is the ability to pay the monthly fee. All the technical details are handled by the parent company. The re-seller package usually includes everything – even name servers under your own name. All you have to do is to sign up customers and watch the money roll in. Easy – right?

Signing up customers, though, may not be as easy as you imagine. There are literally thousands of hosting companies competing for customers, and making your web hosting business stand out from the crowd is no mean feat. Just think about the process you went through in choosing your own web host. You probably visited several hosting web sites, maybe asked for personal references from your friends or business acquaintances, and then after narrowing down your choices, perhaps did more in-depth research on each of the companies. Or perhaps you just signed up with the first host you saw.

So, in order for your own hosting company to be successful it has to build up a good reputation or be easy to find.  Advertising can make your company more visible, but advertising is expensive – especially in a competitive market like web hosting.

A re-seller account, however, may be ideal for certain situations. If you already have several websites of your own, your monthly costs may be similar to a re-selling account.  For the same amount of money you could switch all your accounts to your own hosting company. Sign up a few friends or associates and you are ahead of the game.

If this sounds attractive, make sure you are going with a reputable hosting company. You will be entirely dependent on them for technical support. This relieves you of many of the headaches of running a hosting company but you are still responsible to your clients if their sites go down.

There are many types of re-seller packages. Some require you to operate under the name of the hosting company while others allow you to set up a shop under your own business name. Pay attention to the billing aspect of the package. Some re-seller accounts have everything you need to get started immediately, while others require you to set up your own billing gateway.

What Does Google Look for in Links?

Saturday, June 21st, 2008

Reading Google’s patent filing it appears that they rely heavily on web site links and anchor text in their algorithm. The items below were some of the items the patent said they look for:

* Tracking of the appearance and disappearance of links over specific times
* Tracking of growth rates of links in other web sits
* Tracking of anchor text and dates established and how they change over time
* Older established links get a higher rating than newer less established links
* Fresh pages might be considered more important
* New web sites don’t normally have a lot of links, but if they come from established web sites they will be tolerated
* Older pages that don’t change very often but have incoming links growth over time can be considered fresh
* Burst link growth may indicate spamming of the index
* Anchor text should vary and not be the same from all incoming sources
* Web site link growth should be consistent and slow

Advertising

Thursday, June 19th, 2008

I hate AdSense on blogs. Usually, I ignore it, but I also cast a sharp eye towards the quality of the posts and professionalism of the content when I see AdSense. That’s not to say that contextual advertising can’t work well in some blogs, but it needs to be well integrated into the design and layout to help defer criticism. Don’t get me wrong - it’s unfair to judge a blog by its cover (or, in this case, its ads), but spend a lot of time surfing blogs and you’ll have the same impression - low quality blogs run AdSense and many high quality ones don’t. I always recommend that whether personal or professional, you wait until your blog has achieved a level of success before you start advertising. Ads, whether they’re sponsorships, banners, contextual or other, tend to have a direct, negative impact on the number of readers who subscribe, add to favorites and link - you definitely don’t want that limitation while you’re still trying to get established.