Introduction and Use of the SpringCloud-Service Registry "Eureka"

Two components of Eureka (vi)Eureka Server: Provides service registration services After each micro-service node is started by configuration, it will be registered in Eureka Server, so that the service registry in Eureka Server will store information of all available service nodes, and the information of service nodes can be visualized in the ...

Posted by Erik-NA on Mon, 20 Apr 2020 03:06:11 +0200

spring boot integrated zookeeper registry

ZooKeeper is a distributed service framework and a sub project of Apache Hadoop. It is mainly used to solve some data management problems often encountered in distributed applications, such as: unified naming service, state synchronization service, cluster management, distributed application configuration item management, etc ZooKeeper is a tr ...

Posted by ph0ngwh0ng on Thu, 16 Apr 2020 11:54:18 +0200

Spring Boot integrates Log4j2 logs and pressure tests performance

Performance test of 1/ Log4j2 It is not difficult to see from the figure that the performance is the best when the number of online processes is between 2 and 16, and synchronous and asynchronous logger s are used to print logs. 2/ target Mixed sync/async Color log Classification output to different files Automatically compress and archive lo ...

Posted by etrooper on Wed, 15 Apr 2020 20:14:49 +0200

Timed call in java code

(1) There are three methods of timing call in java code: Method 1: use thread Create a thread and keep it running in the while loop. Use the sleep method to achieve the effect of timing tasks. The code is as follows: public static void main(String[] args) {       final long timeInterval = 1000;       Runnable runnable =  ...

Posted by dancer on Mon, 13 Apr 2020 18:23:11 +0200

Which is the best way to schedule jobs? Quartz was chosen

*With the advent of cloud platforms, big data, etc., users or potential visitors increasingly want to experience products for free, especially to apply for a system (such as turning on virtual machines, starting docker, etc.). However, the system hardware resources are limited. How can users actually operate cloud platform resources? That is a ...

Posted by nigeledge on Fri, 10 Apr 2020 18:47:52 +0200

Error log alarm practice

1. Error log alarm practice 1.1. demand In order to understand the system error in real time more conveniently, I began to look for the alarm solution 1.2. thinking 1.2.1. No bad plan If there is no shortage of money and a more systematic and perfect solution, the first thing I think of is CAT. It can not only realize error alarm, but also be m ...

Posted by kentopolis on Fri, 10 Apr 2020 09:43:50 +0200

Spring Boot Integrates Thymeleaf View Layer

Catalog Spring Boot Integration ThymeleafProject steps for integrating Thymeleaf with Spring Boot Thymeleaf syntax details Spring Boot Integration Thymeleaf Spring Boot integrates Thymeleaf (the official view layer technology recommended by Spring Boot) Thymeleaf feature: Thymeleaf renders html tags through specific syntax. Project steps ...

Posted by Stephen68 on Tue, 07 Apr 2020 20:54:18 +0200

springboot uses logback to generate log files by date and size

Change from: https://www.ericgg.com/archives/3848.html The default log files of springboot will not be automatically divided by day, so the log files of the production environment are getting larger and larger, which is not conducive to troubleshooting. After checking a lot of data, the final configuration is as follows. The log files can be d ...

Posted by jklanka on Mon, 06 Apr 2020 10:22:10 +0200

Introduction to visualization tool D3.js (Chapter 12) - force oriented graph

The concept of force oriented graph is not discussed in detail here. It is suitable for drawing relational information; Here are a few knowledge points about the force guide diagram: 1,d3.forceSimulation([nodes]) Create a new force map; 2,simulation.force(name[, force]) If force is specified, the force (mechanical model) of the specified name i ...

Posted by Chris Mayo on Sun, 05 Apr 2020 14:43:00 +0200

Recommend 4 MySQL tuning tools, which are used by Daniel!

Author: Lao Wang Tan operation and maintenancehttps://www.toutiao.com/a6691523026984370699/ What is the performance of mysql running? Is the parameter setting reasonable? Is there any hidden danger in the account setting? As the saying goes, if you want to be good at something, you must first make use of the device. Regular physical examinati ...

Posted by rachel2004 on Sun, 05 Apr 2020 11:34:14 +0200