Category: Alibaba Cloud
-
Post Views: 15 The background of the accidentIn the process of debugging the WordPress multi-language tag synchronization script, the script adds batch query and deletes the logic of dirty labels in the script, and the script runs free of the script running under the massive data cycle. After the process is forced to terminate, the database is irreversible and severely…
-
Post Views: 11 1. Problem background When querying large data sets in Alibaba Cloud DMS, the problem of page turning restrictions is often encountered. When the amount of data exceeds 10,000 rows, the system will prompt ‘The result set page turning page supports up to 10,000 row records’. For example, the user displays 3,000 pieces of data per page, and…
-
Post Views: 13 Preface After completing the basic optimization of the first few rounds, my WordPress site (about 2000 articles, the number of tags is 18,000+) has been able to run stably under a certain daily visit. But as I translated Chinese articles into English (in the follow-up plan to add Japanese),Access experience for overseas usersbecome a new shortcoming. In…
-
Post Views: 19 Every time ssh root@xxx Have to enter the password? After connecting to the server for ten minutes, it gets stuck without operating it? This article shares a complete set of solutions, so that you can log in to Alibaba Cloud ECS with one-click password-free in Ubuntu terminal, and at the same time keep the connection and never…
-
Post Views: 26 Background my site www.shuijingwanwq.com It is a WordPress-based content station, with about 20,000 pages, and the average daily traffic is gradually increasing. The server uses Alibaba Cloud ECS (1 core 2GB), and the Web environment uses OneInStack (NGINX + PHP-FPM + Redis + Alibaba Cloud RDS MySQL). The website has been running smoothly until a large area…
-
Post Views: 52 1. My personal blog suddenly responded to 504’s investigation and resolution process today. as shown in Figure 1 2. 504 Gateway Timeout Description Nginx (or other reverse proxy) waits for the backend (PHP-FPM) response timeout. Check in the following order: 3. Execute the top command, the result is shown as follows: The problem is very clear, and…
-
Post Views: 15 1. When requesting Alibaba Cloud Intelligent Voice Interaction – Speech Synthesis API, its audio encoding format supports PCM/WAV/MP3 format. Default: PCM. It is hoped that the response body should be as small as possible when responding, so it is necessary to confirm the size of the response body in these three formats. 2. Request the interface in…
-
Post Views: 18 1. Decide to simulate the case of using file_put_contents() to write the same path file in the test environment at the same time, and then observe whether the read file content is empty. require.php 2. Since it is only temporarily used, the product type can be deducted from the resource package by quantity, and the experience version…