当前位置: 首页 > 网络学院 > 网页制作基础教程 > Internet > 虚拟主机容量
Make sure you get the disk space and the traffic volume you need.
首先需要确定你有足够的磁盘空间以及你所需要通信量。
A small or medium web site will need between 10 and 100MB of disk space.
小型或中等的网站需要10 到 100MB之间的磁盘空间
If you look at the size of HTML pages, you will see that the average size is very small. Maybe even smaller than 1KB. But if you look at the size of the images (button, gif, banner, jpg) used inside the pages, you will often find images many times larger than the page itself.
如果你看看HTML页面的大小,你会发现一般值都很小,也许甚至比1K还小。但如果你看看页面里的图片大小(button, gif, banner, jpg形式),你会常发现图片比页面本身要大好多倍。
Expect each HTML page to take up between 5 and 50KB of disk space on your web server, depending on the use of images or other space consuming elements.
除了每页HTML要在网络服务器上占据5到50K的磁盘空间,还要考虑到图片和其他占据空间的元素的使用,会对整个磁盘空间使用有影响
If you plan to use lots of images or graphic elements (not to mention sound files or movies), you might be needing much more disk space.
如果你想用到大量的图片或图形元素(并不是指音频或视频文件),你也许需要更多的磁盘空间。
Make sure that you know your needs before you start looking for your web host.
在开始寻找虚拟主机之前要确保你知道需要多少空间和容量
A small or medium web site will consume between 1GB and 5GB of data transfer per month.
一个小型或中等网站每月会有1到5GB的数据转换。
You can calculate this by multiplying your average page size with the number of expected page views per month. If your average page size is 30KB and you expect 50,000 page views per month, you will need 0.03MB x 50,000 = 1.5GB.
你可以通过用平均页面大小乘以每月预期的浏览页面次数的计算,来得到通信容量。如果平均页面大小是30K,每月预期浏览是50,000页,那么你需要0.03MB x 50,000 = 1.5GB.
Larger, commercial sites often consume more than 100GB of monthly traffic.
大型商业网站通常每月通信容量超过100GB
Before you sign a contract with a host provider, make sure to check this:
在和虚拟主机提供商签合同之前,请确认下面几条:
Visitors to your web site will often connect via a modem, but your host provider should have a much faster connection.
访问你网站的用户会经常用调制解调器进行连接,但你的虚拟主机提供商应有更快速度的连接。
In the early days of the Internet a T1 connection was considered a fast connection. Today connection speeds are much faster.
在英特网的早些时期,T1连接曾被认为是快速的连接。如今连接速度还能更快。
1 byte equals to 8 bits (and that's the number of bits used to transport one character). Low speed communication modems can transport from about 14 000 to 56 000 bits per second (14 to 56 kilobytes per second). That is somewhere between 2000 and 7000 characters per second, or about 1 to 5 pages of written text.
一个字节是8比特,而8比特刚好能传送一个字符(一个字母或数字)。低速的通信调制解调器每秒能传送14 000 到56 000 比特(每秒14到56千比)。这也相当于每秒传送2000到7000个字符,或1到5页的文字文本。
One kilobit (Kb) is 1024 bits. One megabit (Mb) is 1024 kilobits. One gigabit (Gb) is 1024 megabits.
一格千比是1024比特。一兆比是1024千比特。一吉比是1024兆比。
These are connection speeds used on the Internet today:
下面是如今英特网上使用的连接器的速度
Name 名称 | Connection 连接方式 | Speed per second 每秒的速度 |
---|---|---|
Modem调制解调器 | Analog解析 | 14.4-56Kb |
D0 | Digital (ISDN) | 64Kb |
T1 | Digital数字 | 1.55Mb |
T3 | Digital数字 | 43Mb |
OC-1 | Optical Carrier光纤 | 52Mb |
OC-2 | Optical Carrier光纤 | 156Mb |
OC-12 | Optical Carrier光纤 | 622Mb |
OC-24 | Optical Carrier光纤 | 1.244Gb |
OC-48 | Optical Carrier光纤 | 2.488Gb |
Before you sign up a contract with any hosting provider, surf some other web sites on their servers, and try to get a good feeling about their network speed. Also compare the other sites against yours, to see if it looks like you have the same needs. Contacting some of the other customers is also a valuable option.
在与虚拟主机提供商签协议之前,去别的服务器上的别的网站冲冲浪,试着对他们的网速有较深体会。并且把它们与你的相比较,以看看是否你有相同的要求。和其他客户相联系也是很有意义的。