Detailed instructions on the number of IIS connections and number of online _jsp programming

Source: Internet
Author: User


Recently, individual customers have reflected the number of online purchases (IIS connections) and the actual discrepancy, which is now described as follows

First you know what the number of IIS connections is.
IIS connection number refers to the number of concurrent connections, what do you mean?
To be divided into several situations: (Take 100M space 50 people online for example)
A user to download your files, the end of normal disconnect, these connections are calculated in an instant, that is to say that you 50 of people's Web site can be accepted at the same time 50 points to download
B users open your page, even if you stay on the page does not make any request to the server, then the user opened a side of the next 15 minutes will also be counted as an online, that is to say that you 50 people's web site within 15 minutes to accept different users to open 50 pages
C in the case of the above B users continue to open the other pages of the same site, then the number of online users in accordance with the user's last click (issued a request) after the 15-minute calculation, in this 15 minutes no matter how users click (including new windows open) are still a person online.
D when your page has a frame (Iframe), then each more frame will be one more times online! Because this is equivalent to a user requesting more than one page to the server at the same time.
E when the user opens the page and then closes the browser normally, the number of users online will also be cleared immediately.

Then learn what the number of forums online is.
Forum online only calculates the number of active users within a certain period of time.
Here the time users can set their own (delete inactive user time), the Dynamic Network forum defaults to 40 minutes of relatively accurate values.

According to the above instructions, it is clear that the Forum online and IIS connection number concept is different
Why does the number of IIS connections and forums online not match?
The specific analysis is as follows:

1: You use the plugin version of the forum!
Now the plug-in is garbage, not only the server resources, but also make the forum run slowly (no plug-ins can be faster than one time), while very accounted for the number of online, some plug-ins call many frameworks, less 2, 3, more then 4, 5! Even have to play music online so that a person online is quite with a lot of people online!

2: Your website is the homepage + forum form!
So home and forum to compete for your online number!

3: There is a player inside your forum!
One person online, then he plays music online, it accounts for two people online!

4: Within your forum there is a frame form of the Web page!
Every frame, just one more times online!

5: Your forum set online time is too small!
Dynamic network defaults to 40 minutes, this default value, the general our 20IIS learning host can reach about 50 people, because the forum online only to calculate the number of active users within a certain period of time, when you set a smaller time, it seems that the number of online forum is less natural, Please change the deleted inactive user time to the default 40 minutes!

6: There are many forums for your space!
Some customers in a space to upload multiple forums, such as BBS bbs1 BBS2 and so on
There is no doubt that such a forum is to compete for the number of lines!

7: Your forum pictures and other documents have been hotlinking!
For example: Your forum has a picture file, pasted (note is pasted is not uploaded) to other forums!
Other forums for users to browse the file is also counted as an online number!
Especially when the logo connection attention, must be the other side of your logo upload to his space!

8: Your space to put a download file!
If the user uses the network ant class software, each thread will represent one on-line, very formidable!
——————————————————————————————————

Solution:

1: Remove the garbage plug-in version, with the pure version!
When 2:logo Connect, ask the other party to upload your logo to his space!
3: Try not to use the form of a framework to make the page!
4: Do not put any music, movies, downloads!
5: Prevent the occurrence of the theft of the company!

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.