Explore Java non reflection mechanism and how to save startup memory resource consumption!

As Java updates new features, such as architectural decisions and their requirements. At present, cloud computing usually requires applications to have better bootability in addition to less initial memory. Therefore, it is necessary to redesign the manufacturing method of the framework to eliminate the bottleneck of reflection. Reflection pla ...

Posted by unibroue on Tue, 08 Mar 2022 02:00:46 +0100

Problems encountered in 2022 work II

1. Two way binding does not take effect The drop-down box has three options: A, B and C, but after selecting B, it still displays A. in fact, the value selected in v-model has become B, but the display has not changed. Cause of problem: queryParams. Attribute of v-model binding xxx and queryParams are attributes declared in data. xxx is not w ...

Posted by Rustywolf on Tue, 08 Mar 2022 01:44:56 +0100

Elasticsearch+Logstash+Kibana log collection service is built and simply integrated

ELK introduction ELK is the abbreviation of Elasticsearch+Logstash+Kibana Elasticsearch is a distributed search and analysis engine, which can be used for full-text retrieval, structured retrieval and analysis, and can combine the three. Elasticsearch is based on Lucene and is now one of the most widely used open source search engines. Logst ...

Posted by astricks on Tue, 08 Mar 2022 01:41:20 +0100

Java thread: thread creation and startup, static proxy, Lambda expression

catalogue preface thread Thread creation and startup Inherit Java Lang.Thread class Implement Runnable interface Implement Callable interface Static proxy Lambda expression Functional interface last preface I don't know if you have ever thought about why so many people can play together at the same time when we play the glory of t ...

Posted by discorevilo on Tue, 08 Mar 2022 01:23:39 +0100

Vue learning notes (self use, incomplete)

Vue summary Is a progressive JavaScript framework for building user interfaces. Vue is designed to be applied layer by layer from the bottom up. Vue's core library only focuses on view layers to facilitate integration with third-party libraries or existing projects. Soc separation of concerns principle UI framework Ant design, produced by ...

Posted by dmschenk on Tue, 08 Mar 2022 01:22:45 +0100

SpringBoot Admin2.0 integrated Java diagnostic artifact Arthas practice

The project initially used Arthas for two purposes: Through arthas, we can solve the problem of realizing the performance problem analysis tool of test environment, performance test environment and production environment. By using the combination of jad, mc and redefine functions, the ability of hot update of some node codes in the prod ...

Posted by graziano on Tue, 08 Mar 2022 00:33:21 +0100

SpringBootAdmin build Tutorial 9: microservice development Zookeeper registry integration SpringBootAdmin

In the previous article, we learned how to integrate SpringBootAdmin for monitoring and other operations by using Consul registration discovery in microservices. In this article, we learn how to integrate SpringBootAdmin in Zookeeper registry. Introduction to Zookeeper ZooKeeper is a software project of Apache Software Foundation. It provides ...

Posted by rdub on Mon, 07 Mar 2022 23:46:28 +0100

Java enumeration based on Java

Ramble Yesterday, I happened to encounter a small problem with enumeration, and then found that I am not so familiar with it. Then in development, enumeration is used very much, so I have today's article. What is enumeration Enumeration in Java is a type, just as the name suggests: it is enumerated one by one. Therefore, it generally represe ...

Posted by ben2k8 on Mon, 07 Mar 2022 23:22:58 +0100

JDK - principle of blocking queue and non blocking queue

preface Among the queues provided by jdk, there are blocking queues and non blocking queues Blocking queue refers to: when adding elements, if the queue is full, the currently queued thread will be blocked, and the queued thread will be put into the synchronization condition queue of AQS. After the queue element is out of the queue, it will tr ...

Posted by akabugeyes on Mon, 07 Mar 2022 23:04:36 +0100

JDK8: HashMap source code analysis: hash method

1, Overview We know that in HashMap, the location of a key value pair stored in the internal data of HashMap is related to the hashCode value of K, which is also because the hash algorithm of HashMap is based on the hashCode value. Three concepts should be distinguished here: hashCode value, hash value, hash method and array subscript hashCo ...

Posted by kidintraffic on Mon, 07 Mar 2022 22:59:18 +0100