In-depth analysis of Java Web Technology Insider Reading notes-chapter I

Source: Internet
Author: User
Tags java web

The first chapter, the Deep Web request process

The b/S architecture brings 2 benefits.

1, the client uses a unified browser.

2, the service side based on unified HTTP.

1.1 b/S Network architecture overview

b/S network architecture has been simplified from front to back end, all based on Unified Application layer protocol HTTP to interact with the data, and most traditional CS Internet applications using long-connected interactive mode,

HTTP uses a non-stateful, short-link communication method, typically a single request completes a data interaction, usually a business logic, and then the communication connection is disconnected.

Reason: This way is to be able to serve more users at the same time, because the Internet user volume is large, it is not possible for each user access to keep this connection, or fry.

When a user enters a URL in the browser, a lot of things happen.

First, he will ask DNS to resolve the domain name to the corresponding IP address, and then based on the IP address on the Internet to find the corresponding server,

A GET request is made to this server, which decides to return the default data resource to the user who accessed it.

On the server side there is actually a very complex business logic: The service side may be a number of stations, in the end specify which servers to process the request, which requires a load balancing device to evenly distribute the user's request;

In-depth analysis of Java Web Technology Insider Reading notes-chapter I

Related Article

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.