1, Why use a gateway
2, Gateway entry case
1. Create project
1.1 add coordinates
<?xml version="1.0" encoding="UTF-8"?>
Posted on Mon, 24 Feb 2020 09:57:27 -0500 by james_cwy
Pay attention to the official account number: CoderBuff, reply to "redis" and get the complete version of Redis5.x tutorial PDF.
Redis5.x tutorial directory
Chapter I preparation
Chapter II data types
Chapter III orders
Chapter IV configuration
Chapter 5 Java client (I)
Chapter VI affairs
Chapter 7 distributed lock
Chapter 8 Java cl ...
Posted on Mon, 24 Feb 2020 09:52:56 -0500 by rcarr
1. Reflection refers to a class that can be loaded, probed, and used at run time, completely unknown during compilation.
2. In the running state of the program, you can dynamically load a class with only a name. For any loaded class, you can know all the properties and methods of the class;
For any object, you can call any of its ...
Posted on Mon, 24 Feb 2020 09:48:32 -0500 by benrussell
1, The role of Ribbon in microservices
1. What is Ribbon
1.Ribbon is a client load balancing tool based on HTTP and TCP, which is implemented based on Netflix Ribbon
2. it is not deployed independently like the Spring Cloud service registry, configuration center and API gateway, but it exists in alm ...
Posted on Mon, 24 Feb 2020 09:23:14 -0500 by hasanpor
MyBatis one-to-one association query
In the previous article, it was said that the relationship between user and account is one to many. In turn, the relationship between account and user is actually one to one. Because an account can only belong to one user, the user table and account table are still ...
Posted on Mon, 24 Feb 2020 07:29:54 -0500 by Gonwee
##3.1 sequence vessel
Generally, an array can be created to store data. An array is a kind of container. Because of the limitation of an array, once it is created, its size cannot be changed, we can use a sequential ...
Posted on Mon, 24 Feb 2020 06:06:44 -0500 by 14zero
1, Application scenario of agent mode
In our life, we often see such scenes, such as: rental and sales agency, marriage agency, broker, express delivery, etc., which are the real life embodiment of agent mode. Proxy Pattern refers to providing a proxy for other objects to control access to this object. The proxy object plays an intermediary rol ...
Posted on Mon, 24 Feb 2020 04:39:03 -0500 by MattWeet
<!-- Swagger2 start-->
Posted on Mon, 24 Feb 2020 03:35:47 -0500 by rsmarsha
As we know, Map is used to store key value mapping. For the object acting as key, it cannot be repeated, and the equals method and hashCode method need to be overwritten correctly
If we only need to store non duplicate key s and do not need to store mapped value s, then we can use set.
Set is used to st ...
Posted on Mon, 24 Feb 2020 03:29:47 -0500 by hometoast
In the process of a program execution, the execution order of each statement has a direct impact on the result of the program. In other words, the process of the program has a direct impact on the running results. Therefore, we must be clear about the execution process of each statem ...
Posted on Mon, 24 Feb 2020 03:02:46 -0500 by dubrubru