Production Web Architecture Optimization Solution (Dynamic to Static)

 Infi-chu:

http://www.cnblogs.com/Infi-chu/

 

1. Portal news business:

  1. Features: Once the web page is published, the chances of changing the content of the web page again are very low, and it is relatively simple to make the content of the news business static.

  2. Steps:

    a. The program needs to support the function of dynamic to static conversion of published content.

    b. After the operation editor publishes the news webpage, the background program will immediately generate a static file from the dynamic webpage.

    c. The operation and maintenance personnel publish the static webpage generated by the operation editor to the pre-built company cache cluster server through publishing or time triggering, or synchronize the static content to all the purchased CDN server nodes in the country, and then provide it to Users go to visit browsing.

 

2. Video website business:

  1. Features: Not much different from the portal news business features

  2. Steps:

    a. The user uploads the video, which needs to be transcoded.

    b. Server audit (about 1H)

    c. Some hot videos are pushed to the core nodes of CDN or all CDN server nodes in the country in advance

 

3. Blog, BBS, SNS, Weibo community business, e-commerce:

  1. Features: It is difficult for these types of services to change from dynamic to static, because after the user publishes information, it may be added, deleted, modified or checked at any time.

  2. Solution: Generally processed in an asynchronous way, such as: message middleware technology + NoSQL cluster technology to achieve conversion

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324882368&siteId=291194637