1, What is Feign
Feign is a lightweight open-source Rest client of Netflix company. Spring cloud encapsulates feign. Feign integrates Ribbon by default to realize client load balancing calls. To use feign, you only need to define an interface and configure it with annotations (just add annotations o ...
Posted on Sun, 16 Feb 2020 05:23:45 -0800 by ManInBlack
Constant time operation: if an operation has nothing to do with the amount of data, each operation is completed in a fixed time, which is called constant operation.
Time complexity is an indicator of the number of constant operations in an algorithm process. It is often expressed by O ...
Posted on Sun, 16 Feb 2020 00:29:56 -0800 by dadamssg
When it comes to distributed systems, we have to say centralized systems. In the traditional centralized system, everything in the whole project is in one application. A website is an application. When the system is under great pressure, it can only expand horizontally, add multiple servers or ...
Posted on Sun, 16 Feb 2020 00:26:05 -0800 by scottchr226
for loop in shell
1. The usage and running process of C-style for loop
General form of for loop
2. Example of C language style for loop
1. Calculate the sum of 1 to 100
2. Omit initialization conditions
3. Omitting judgment conditions
4. Omit auto increas ...
Posted on Sat, 15 Feb 2020 19:51:59 -0800 by saunders1989
Classification of sets:
List: the stored objects are orderly (the order of the elements is the same as the order of adding) and can be repeated
ArrayList: the underlying data structure is array. The thre ...
Posted on Sat, 15 Feb 2020 10:47:56 -0800 by amo
Spring events provide support for message communication between Bean and Bean. After a Bean finishes processing a task, we hope that another Bean knows and can handle it accordingly. Then we need to let a Bean listen to the events sent by the current Bean.
Spring events need to follow the following process:
Custom events, integrating Applicati ...
Posted on Sat, 15 Feb 2020 09:40:53 -0800 by mikevarela
Please pay attention to the version before using. My tomcat is version 9.0, and the notes in it are less, which may be more laborious for novices.
First, create a demo database and then a user table in Mysql. The code is as follows
create database Demo default charset=utf8;
create table user ...
Posted on Sat, 15 Feb 2020 08:24:16 -0800 by Webbyturtle
Summary of pain points
When we are de bug ging and need to see the complete sql, we can get the sql as shown in the figure in the console
Then manually replace the question mark placeholders one by one and go to MySQL to see if there is any problem with sql. If the sql is simple, it's easier to say. If it's a complex sql, manually replace N qu ...
Posted on Sat, 15 Feb 2020 08:17:40 -0800 by nilansanjaya
Hadoop cluster installation
Server Hadoop 101
Server Hadoop 102
Server Hadoop 103
Posted on Sat, 15 Feb 2020 07:15:54 -0800 by patrickcurl
Recently, in the Java Web exercise, there is a requirement to delete the data checked in the table. At this time, you need to obtain which check box is checked and submit it to the servlet to call the method to delete, as shown in the figure
Two, train of thought
Here, you can add a form label to the outside of the whole form, and ...
Posted on Sat, 15 Feb 2020 06:37:54 -0800 by 99degrees