What happened from the input URL to the completion of the page load (by Vczero)

Source: Internet
Author: User

First, the Primer

Just brush the microblog, see It Technology blog Big study sent this microblogging, so, want to from the perspective of web development (may be biased toward the front-end angle) to say this problem. If this is an interview question, I think it's good to use a diagram to illustrate the problem, not to mention a few hours. Of course, as a front-end & node. js, the angle will be inclined. If there is any mistake, please criticize the advice.

Second, my idea to let the diagram speak

Iii. Summary

(1) User-draw data;

(2) The server returns data based on user information & URI;

(3) The middle process and optimization is very complicated, according to the picture just painted, there are a lot of things to say;

(4) Pre-rendering or not, depending on server performance & consumption of client performance equalization as a reference indicator;

(5) Now my practice:url-> front-end (cache)->nginx load Balancing->node.js (merging request with computer room, obtaining resources based on authentication information, using multicore) + Cache-Db/cache DB

What happened from the input URL to the completion of the page load (by Vczero)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.