In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
First of all, the conclusion: do not engage in promotional activities casually without being evaluated by the technical operations team. Even some small promotions drained by official accounts may cause a surge in network traffic and lead to failures.
Traffic surged at 10:00
Some people say that they are engaged in an activity today, snapping up a so-and-so financial product. Quickly find someone to understand the entry url, Firefox F12 analysis, found that there are more than 600 KB js files, as follows:
CDN is not enabled for this domain name. The script checks and verifies the previous F12 data again. The origin server traffic is mainly eaten up by several large js files.
Prepare to enable CDN
After analysis, the back end for php, has done a static separation, static resources in one project, dynamic resources in another project, using the same domain name.
You only need to start CDN for static resources, and you cannot cache dynamic APIs. The caching strategy is as follows:
When observed again at 10: 00 the next day, the traffic on the origin server dropped sharply, and CDN blocked most of the traffic:
The cache hit rate is also above 95%.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.