Home >CMS Tutorial >WordPress >Is wordpress suitable for large websites?
With the popularity of WordPress, more and more webmasters like to choose the fool-proof WordPress as the program choice for their website. However, many webmasters have no practical experience and basically I heard that WordPress is so good, so convenient and simple. Installing a theme and a plug-in is just a matter of clicking a mouse.
WordPress has many benefits, and I can’t give examples of its advantages one by one. However, here I must advise all fellow webmasters who are about to start a website. If you want to have a website with large traffic, do not Use WordPress as your program of choice.
As a blogging program, WordPress was originally designed to be prepared for people who write blogs, but the website is different. The website is for a higher click-through rate, and more articles are very important. Necessary. Just think about it, have you ever seen anyone who has blogged and written articles worth tens of thousands or even millions? Unless there's something wrong with this person's brain. . . Most WordPress that can reach the level of tens of thousands of articles are either large-scale multi-person blogs or collected garbage dumps.
As a person who has been here, maybe you have not experienced my troubles, maybe you think I am trying to please others, but this is the fact. My website, Luobo.com, and Xiao .me), are all hosted on independent servers, with a daily PV of about 200,000. I have been communicating with Xiao Under such circumstances, it is already difficult to support it with one server.
After several days of research by my royal technician WooDragon, the bottleneck lies in MySQL. A large number of queries and a large number of databases are frequently written and written, resulting in a large number of hard disk writes. The direct result is As a result, the memory is full, the CPU is racing, and the server load is extremely high. Then, access to the front and backends is extremely slow. This happens like an aunt every day when there are a lot of visitors.
On the official WordPress optimization suggestion page (Link #1 #2), the official also has this article:
In high-traffic situations, many simultaneous connections to the database can cause excessive load on the server. In this case, connections to the server may not complete, causing the typical “Connection timed out” response in the visitor’s browser.
Even the official admitsIn high access situations, MySQL Concurrency is unavoidable, so what is a good solution?
I found that there are many large websites using WordPress in foreign countries. After a few days of research, I found that almost all of them use multiple servers for load balancing (Load Balanced Servers). US dollars, which is indeed a very large cost for small and medium-sized domestic websites.
The same number of visits, take Luobo.com as an example, 200,000 PV per day. If it is an English site, I can buy Load Balanced Servers leisurely and contentedly, and then spend money to hire server administrators to solve these problems. question. But in China, among the domestic IDCs, very few people understand Linux servers (the good ones go to big websites and big companies), and even fewer know Load Balanced Servers, unless the daily traffic is too big, so big that you think that in It is more than enough to purchase Load Balanced Servers in China.
Cup, pure cup, so my point is:
1, WordPress is just a blog program, not a content management program (CMS). When it was originally designed It is designed for blogs, not for high-traffic websites.
2. Every time WordPress updates a version, it becomes more and more bloated. Can’t help but remind me of that fat domestic penguin.
3. No matter how optimized WordPress is, no matter how secondary development is done, it still cannot withstand the most critical bottleneck of MySQL.
4. If you are running a Chinese website, get rid of WordPress as soon as possible. Think about how fast it is to use a domestic server to automatically update the latest version of WordPress; think about how much you can pay for it with a year’s advertising fees. It is not as good as the three-month advertising fee for an English website with the same traffic; think about the same cost, the quality of the servers you can buy at home and the quality of the servers you buy abroad, think about the day when the number of visits suddenly increases and the server crashes Let it go when you are at your wits' end.
5, If you plan to build a high-traffic website, avoid using WordPress. It is recommended to use domestic mature CMS that can generate HTML, such as dedecms, empire CMS, phpcms, php168, etc.
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of Is wordpress suitable for large websites?. For more information, please follow other related articles on the PHP Chinese website!