Detailed descriptions of IIS connections and online users

Source: Internet
Author: User


Recently, some customers have reported that the number of online users (number of IIS connections) purchased does not match the actual number.

First, understand what is the number of IIS connections.
The number of IIS connections refers to the number of concurrent connections. What does this mean?
There are several situations: (taking 50 persons online in M space as an example)
User A downloads your files from A single point of time and is normally disconnected after the end. These connections are calculated in an instant. That is to say, your 50-person website can be instantly downloaded at 50 points at the same time.
User B opens your page. Even if the page does not send any request to the server, it will be considered online within 15 minutes after the user opens the page, that is to say, the website of 50 users can open 50 pages for different users within 15 minutes.
C In the case of B above, the user continues to open other pages of the same website, so the number of online users is calculated based on the 15 minutes after the last click (Send request) of the user, in this 15-minute period, no matter how users click (including opening a new window), they are still online.
D. When an Iframe exists in your page, every multiple frameworks will be online more than twice! This means that the user requests multiple pages to the server at the same time.
E. When the user opens the page and closes the browser normally, the number of online users will be cleared immediately.

Then you can learn about the number of online users in the Forum.
Online forums only count the number of active users within a certain period of time.
You can set the time here (to delete non-active users). The default value of this parameter is 40 minutes.

According to the above description, the concepts of online and IIS connections in the Forum are obviously different.
Why is there any inconsistency between the number of IIS connections and online forum?
The specific analysis is as follows:

1: You have used the plug-in edition Forum!
The current plug-ins are very spam, which not only occupy server resources, but also slows down Forum operations (no plug-ins can be more than doubled). At the same time, it accounts for a large number of online users. Some plug-ins call many frameworks, there are 2 or 3 fewer, and 4 or 5 more! There are even online music playing, so that a person is online with a lot of people!

2: your website is in the form of homepage + Forum!
In this way, the homepage and Forum will compete for the number of online users!

3: You have a player in your forum!
One person is online, and then he plays music online, so two people are online!

4: Your forum has a webpage in the form of a framework!
Every framework is doubled online!

5: the online time set for your forum is too short!
The default value of mobile network is 40 minutes. Under this default value, we generally have about 50 learning-type hosts for 20 IIS, because online forums only count the number of active users within a certain period of time, when you set a small amount of time, it seems that the number of online users on the forum is naturally less. Change the time for deleting non-active users to the default value of 40 minutes!

6: Your space has multiple forums!
Some customers upload multiple forums in one space, such as bbs bbs1 bbs2.
There is no doubt that such a forum will compete for the number of people on the road!

7: Your forum images and other files are stolen!
For example, if your forum has an image file, it will be pasted (note that it is not uploaded) to another forum!
When users in other forums browse this file, the number of online users is also counted!
Especially when connecting the LOGO, you must upload your LOGO to his space!

8: You have downloaded files in your space!
If you use ant financial software on the internet, every thread will be online!
----------------------------------

Solution:

1: remove the junk plug-in version. Use the pure version!
2: When connecting the LOGO, ask the other party to upload your LOGO to his space!
3: Try not to create a page in the form of a framework!
4: Do not play any music, movies, or downloads!
5: Prevent Unauthorized Connection!

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.