Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Mica2.4.5 publishes and perfects the example analysis of Druid good Undertow Metrics

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Today, I will talk to you about the example analysis of Mica2.4.5 release and improvement of Druid good Undertow Metrics, which may not be well understood by many people. In order to make you understand better, the editor summarized the following content for you. I hope you can get something according to this article.

1. Mica (Mica)

Mica is a set of micro-service components, but not just components. We focus on the micro-service ecology and continuous evolution, trying to make it easy to use out of the box, simplify use and drain holes. There are a total of 40 + components, and many components have been opened.

Mica open source component atlas

II. Version Notes

Note: 2.4.5 began to remove the GA suffix, mica-v2.0 branch only do bug repair, no longer do functional updates.

Latest version mica version spring boot version spring cloud version 2.4.5mica 2.4.x2.4.x20202.1.1-GAmica 2.0.x~2.1.x2.2.x ~ 2.3.xHoxton III. Update record

V2.4.5-2021-04-28

Add mica-jetcache (second-level cache) module to facilitate use.

Add a mica-lite module to facilitate the use of Spring boot projects.

Mica-metrics reconstructs UndertowMetrics to expose more useful metrics.

Mica-metrics perfects DruidMetrics and exposes more useful indicators.

Mica-redis adjusts the bean name redisTemplate to micaRedisTemplate to reduce conflicts.

The cache in mica-captcha is changed to each read, and the caffeine is refreshed, causing the reference to be null.

Mica-captcha optimizes the bean name and adds the generateBase64Vo method.

Mica-logging reduces reflections logs, and readme adds access links to Ali Cloud and Tencent Cloud log services.

Mica-qrcode adds the base64 image method.

Mica-core add gateway generic code.

Mica-core add CollectionUtil computeIfAbsent method to avoid bugs JDK-8161372 under jdk8

The default BLOCK_SIZE for mica-core Pkcs7Encoder has been changed to 16 github # 35 compatible with more programming languages.

Mica-caffeine is more than cache name Times wrong.

Upgrade spring boot to 2.4.5

Upgrade mica-weixin to 2.1.0 (optimize support for mica-caffeine)

IV. Mica-metrics

Mica-metrics solves the problem that there are no monitoring indicators for druid and undertow, and makes the first launch of the network, and then pr will be given to Druid and Spring boot officials.

4.1 druid metrics

Before mica 2.4.5, only DruidDataSourcePoolMetadata has been implemented for druid, and only three metrics starting with jdbc are supported, as shown below:

Druid indicators before mica 2.4.5

Mica 2.4.5 has been adjusted to add 10 Druid metrics and supports multiple data sources.

4.2 undertow metrics

The undertow index has been reconstructed thoroughly in mica 2.4.5, and the data statistics of xwork, session and connector have been collected, and 22 indicators have been supported.

5. Mica ecology

Mica-auto (Spring boot starter weapon): https://gitee.com/596392912/mica-auto

Mica-weixin (spring boot starter of jfinal weixin): https://gitee.com/596392912/mica-weixin

Mica-mqtt (mqtt component based on t-io): https://gitee.com/596392912/mica-mqtt

Spring cloud Micro Services http2 solution (H3C): https://gitee.com/596392912/spring-cloud-java11

Mica-security (vue transformation of mica authority system): https://gitee.com/596392912/mica-security

After reading the above, do you have any further understanding of Mica2.4.5 's example analysis of releasing and perfecting Druid good Undertow Metrics? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report