About concurrent request consulting all of a sudden

Source: Internet
Author: User
Ask about concurrent Requests

User page
1. a1-a10000 simultaneous access to/a1.htm
2. b1 simultaneous access to/b1.htm/b2.htm .../b10000.htm

Explain:
1, 10,000 users request 1 pages at a time
2, 1 users request 10,000 pages at a time


Do these 2 kinds of pressure on the server are the same? Or which is faster?

Share to:


------Solution--------------------
See what you are page, if it is a dynamic page, usually the server is a cache, such as 1 PHP pages, it is necessary to compile, compile good after the cache, the concurrency is equivalent to compile only once, and you 10,000 different pages this place cost is 1 1W times.
There is to look at your page content, the page size of different costs are different, the picture is also different costs, and so on many other aspects, but the basic situation is 1 pages than 10,000 pages of pressure points.
------Solution--------------------
If 1 users request 10,000 pages at the same time this situation is present (should not exist)
The cost of both is the same for the server!

  • 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.