Get the App
SLTechnology News&Howtos  ›  Servers  › 

Win and Linux series

Shulou Source: shulou.com Published: 2022-06-03 10:13:11 09月21日 Update

1) operating system

a. The operating system is divided into Win and Linux series; of which Win is commonly seen as IIS, there are so many programs that can be supported by "ASP+PHP+ZEND+GD+ASPJPEG+MYSQL"; and Linux is used as PHP programs, generally, the most common one we use is the programming website of PHP+Mysql database.

b. The difference between the two is that the virtual host, then the WIN host is generally unable to open GZIP compression, while the Linux host can use .htaccess files for compression, cache development, direct 301 jump and other website functions, so as to improve the website opening speed and access speed, so in these two hosts, I personally prefer the Linux host, using PHP+Mysql procedures.

2) Space capacity + database capacity

To determine the size of the space and database, if you want to make a website, you should first estimate the size of the website. The general space capacity of 1G is a bit large, while the database 300m is already very large. I remember that when I used wordpress, database 50m could hold thousands of blog articles. And you should first understand whether your website uses dynamic database calls, or whether your site is statically placed locally like the cms system function, so as to take up space and reduce the pressure on the database.

Generally, dynamic database files are called directly, and if there are a lot of visits, cards may occur; generally, I suggest that static pages be generated to reduce database calls and release this pressure; so at the beginning of the construction of the website, you should make sure how you plan to do the site.

3) monthly traffic limit

At this point, many hosts have monthly traffic restrictions to prevent excessive host traffic from affecting the normal use of other users. in fact, according to the website, if your website weight will continue to rise, you can estimate in advance how much traffic range you need for a month to ensure no downtime. Generally, the monthly traffic of a website with a space of 30G is very good. Can support good flow control.

Tags: Website data database host traffic that is space program capacity system yes operating system function dynamic pressure size file speed static generation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Redmi Microsoft MySQL