• What changes have been made to springboot?


    At present, spring boot 2.5.0 RC1 has been released, and its development team said it will officially GA on May 20. We sorted out some changes that we were interested in and compared with each other. 1、 Run endpoint changeSecure info endpointBy default, the / Info endpoint is no longer exposed to the web. In […]

  • Fuse and retry on kubernetes using istio and spring boot


    For each service grid framework, the ability to deal with communication failures in inter service communication is absolutely necessary. It includes the processing of timeout and HTTP error code. In this article, I’ll show you how to configure retry and fusing mechanisms using istio. As in the previous article using istio service mesh on kubernetes, […]

  • 30 knowledge points of springboot that must be known and learned. It is recommended to collect them directly!


    From the beginning, SSH to spring MVC, with the development of spring, it is easier and easier to develop. Springboot has become a must for Java programmers. Here are 30 relevant interview questions for small partners, which can also be used as knowledge points to learn and collect. 1. What is springboot? Spring boot makes […]

  • Druid monitoring distributed solution


    What is Druid monitor Druid is a very powerful database connection pool, but its strength is not only reflected in accelerating data access and connection management as a high-performance connection pool. It has built-in a powerful monitoring tool:Druid Monitor。 It can monitor not only data sources and slow queries, but also web applications, URI monitoring, […]

  • The most powerful performance monitoring system! A combination of powerful functions


    Skywalking is an application performance monitoring system, especially designed for micro services, cloud native and container based (docker, kubernetes, mesos) architecture. In addition to application metrics monitoring, it can also track distributed call links. Components with similar functions include Zipkin, pinpoint, cat, etc. Take a few pictures to see the effect, and then build and […]

  • What is the jamstack of the current fire?


    Author:Timothy McCallum, Miley Fu and Vivian Hu Jamstack is a technology stack for building modern Internet applications. It is widely used in edge cloud, serverless computing and big front end, and is also sought after by the capital market this year. What kind of magic does it have? This article will take you to understand […]

  • Is there a difference between proxy and gateway?


    There is a difference between proxy and gateway, but the difference is vague. If you have to, you can understand it as follows: A proxy connects two or more applications that use the same protocol. The gateway connects two or more endpoints using different protocols and acts as a “protocol converter”

  • IPv6 Multicast in windows (c + +, MFC)


      Server #include #include #include #pragma comment(lib,”ws2_32.lib”) ​ #define PORT 6060 #define IP “ff02::2” #define BUF_LEN 256 ​ int main(int argc, char* argv[]) { WSADATA wsaData; WORD wVersionRequested; // edition wVersionRequested = MAKEWORD(1, 1); // Version information WSAStartup(wVersionRequested, &wsaData); // Initialize windows socket library ​ //Use this structure to specify the local or remote endpoint […]

  • Springboot integrates Prometheus


    1、 Demand Realize a simple integration of springboot and Prometheus. 2、 Implementation steps 1. Introducing jar package <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> <scope>runtime</scope> </dependency> </dependencies> 2. Application.prometheus file configuration 1. Enable the Prometheus endpoint.2. Specify a general label for each indicator. See the screenshot below for application.3. Specify […]

  • Six practical API monitoring tools


    API monitoring examples Let’s take an ideal example to see how the API monitoring tool works. First of all, we are hereDeployment APIThe API monitoring tool is added when the system is running. We can use API monitoring tools to build test processes to check assertions, HTTP status codes, and so on. After that, the […]

  • Springboot activator permissions, custom endpoints, dynamically modify the log print level


    Part of the problem with request 404 Activator supports HTTP and JMX requests. HTTP only opens the info and health ports by default. But use include, exclude to set, use * to indicate all management.endpoints.web.exposure.include=health,info Setup verification Add spring security <dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-security</artifactid> </dependency> catalog filter @Configuration(proxyBeanMethods = false) public class ActuatorSecurity extends WebSecurityConfigurerAdapter { […]

  • Codeforces Good Bye 2020 A-D


    A – Bovine Dilemma Solution: think that the problem said is a triangle, and there is a certain point (0,1), so here only need to find two points can form a triangle, and these two points are on the X axis, so you can know (0,1) to X axis is high, X axis two points […]