Monitoring user's online status based on connection pool monitoring component Druid implementation

Source: Internet
Author: User

Source: Monitoring user's online status based on connection pool monitoring component Druid implementation

Source code: Http://www.zuidaima.com/share/1550463574248448.htm

I'm going to share a code, too. Recently in the monitoring of users online status, handling the abnormal unexpected exit of clients (such as direct shutdown, sudden power outage, etc.) encountered some problems, find a lot of methods are not very good. Yesterday saw a new connection pool management tools feel very good ~ should be said to be the best---druid here do not introduce more, give everyone a connection, want to learn to see, open source. In Http://code.alibabatech.com/wiki/display/Druid/Home Druid, there is a way to get real-time information about the session in the current project.

Now that we can get the real-time situation of the session, it's good to deal with. Here are a few key configuration files and a one-time share of the docks. Find me in a group you don't understand.



Monitoring user's online status based on connection pool monitoring component Druid implementation

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.