Previous: project structure and description
In this paper, we build a real project environment of spring cloud Alibaba. Based on the micro service project of nacos, we use openFeign client and the default Ribbon of openFeign to achieve load balancing
1. Environment use of this article
Nacos: Registr ...
Posted on Sat, 18 Jan 2020 06:37:36 -0800 by Tyche
Integration of Java+Selenium+TestNG automatic test framework
1. Simplified code
Encapsulates a class for locating elements, of type ElementLocation
* Call the same method every time you locate an element
* Encapsul ...
Posted on Thu, 16 Jan 2020 08:03:30 -0800 by Nightslyr
1. Download the official equipment network sdk_java64 of Dahua, https://www.dahuatech.com/service/downloadlists/836.html
2. There are examples in the sdk. Try to use the things packaged by Dahua. The following java classes are used to obtain access card records:
Posted on Thu, 16 Jan 2020 06:57:14 -0800 by maverickminds
For reprint, please indicate the author and source:
Author: Galactic architect
Original link: https://blog.csdn.net/liuminglei1987/article/details/104003890
Zuul is the front door for all requests from devices and web sites to the backend of the Netflix ...
Posted on Wed, 15 Jan 2020 23:52:20 -0800 by Design
Stateful job and stateless job
@Use of PersistJobDataAfterExecution annotation
A stateful job can be understood as holding some state information during multiple job calls, which is stored in the jobdatamap. The default stateless job creates a new jobdatamap every time it is called
Add setter and getter ...
Posted on Wed, 15 Jan 2020 22:51:36 -0800 by accu
Maven Archetype can be understood as the template of Maven project. I believe you have used it more or less. When we first started to learn how to create a project with maven, we often used regular Maven project templates, such as Maven Archetype QuickStart and Maven Archetype webapp. You only need to ...
Posted on Wed, 15 Jan 2020 22:27:19 -0800 by shortysbest
The concept and reason of avalanche effect
Using the Hystrix processing strategy
This chapter is no longer a configuration file as before, but a case study of how to deal with avalanche effect.
Because avalanche effec ...
Posted on Sun, 12 Jan 2020 05:56:34 -0800 by shaitand
Recently, I saw that servers on didi cloud are very cheap, 2G for one core, only 68 yuan for one year. Here is my process of deploying Java Web services based on Docker. At present, the cheapest server I have ever seen is not so cheap when alicloud discounts. Start decisively. If necessary, you can buy it through the following link.
Didi cloud ...
Posted on Sat, 11 Jan 2020 23:41:15 -0800 by jariizumi
Ribbon load balancing of spring cloud and Feign consumer call service
1. Get to know the Ribbon
Microservice calls Ribbon
2. Ribbon load balancing
Ribbon load balancing
3. Feign introduction and Application
1. Get to know the Ribbon
Ribbon is a load balancer published by Netflix, which helps to ...
Posted on Sat, 11 Jan 2020 05:46:35 -0800 by cbcampbell
Spring REST Docs helps you to document RESTful services. It combines hand-written documentation written with Asciidoctor and auto-generated snippets produced with Spring MVC Test. This approach frees you from th ...
Posted on Fri, 10 Jan 2020 07:45:34 -0800 by businessman332211