java version of spring cloud microservice architecture b2b2c e-commerce platform -- basic configuration of Hystrix
1. [microcloud provider Dept Hystrix-8001] modify pom.xml configuration file, and add Hystrix configuration class:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-hystrix</artifactId>
</depend ...
Posted by LeslieHart on Tue, 22 Oct 2019 22:48:59 +0200
Mybatis environment construction: self study essay
Environment: IDEA MySQL
1. Build maven project, import coordinates: edit pom.xml, and create mybatis constraint.
stay https://mybatis.org/mybatis-3/zh/getting-started.html View the latest version of mybatis and the beginning of the constraint.
<!-- x.x.x by mybaits Version number -->
<dependency>
<groupId>org.mybatis& ...
Posted by arhunter on Tue, 22 Oct 2019 16:56:18 +0200
Google,Guava local efficient cache
Guva is an open-source public java library of google, similar to Apache Commons. It provides a collection, reflection, caching, scientific computing, xml, io and other tool class libraries.Cache is just one of the modules. Using Guva cache can build local cache conveniently and quickly.
[TOC]
Building the first cache using Guava
First, we need ...
Posted by wgh on Sat, 19 Oct 2019 08:11:04 +0200
Android 7.1 navigation bar adds keys, shutdown menu adds sleep option
platform
rk3288 + Android 7.1
Requirement specification
1. Add the power button in the navigation bar and click it to open the shutdown menu.
2. Add sleep item in shutdown menu item and click backward sleep
Related documents
//modify
modified: frameworks/base/core/java/android/view/WindowMana ...
Posted by faswad on Tue, 15 Oct 2019 19:14:55 +0200
TestLink Associates JIRA to Improve Test Bug Efficiency
We deployed TestLink on the server; then we learned that TestLink can be related to the bug management system JIRA, which is just the JIRA platform used by our company, so we tried it. This article is arranged for your reference.
Environment: TestLink 1.9.19, JIRA v7.13.0, personal testing is effective! ...
Posted by chriswheat on Mon, 14 Oct 2019 17:03:37 +0200
2. hdfs architecture
[TOC]
I. Overview of HDFS System Composition
This is a distributed file system that is suitable for scenarios where multiple reads are written at one time. Contains the following roles:
NameNode(nn):
Store metadata of files, such as file name, file directory structure, file attributes and so on, as well as block list of each file and DataNode ...
Posted by Nilanka on Mon, 14 Oct 2019 05:24:03 +0200
Configuration and use of MyBatis (add, delete, change, check)
- Restore content to start
Introduction to Mybatis
Introduction to MyBatis
What is MyBtis?
MyBatis is an open source framework that simplifies and implements the Java data persistence layer. It abstracts a lot of JDBC redundant code and provides a simple and easy-to-use API and database interaction.
MyBatis's predecessor was iBATIS, which ...
Posted by mcdsoftware on Sun, 13 Oct 2019 08:47:03 +0200
Spring Boot: Spring Boot Timing Task
In the actual project development work, we often encounter the work that needs to do some timing tasks, so how to achieve in Spring Book?
1. Adding dependencies
In the pom.xml file, only spring-boot-starter dependencies need to be introduced:
List of code: spring-boot-scheduler/pom.xml
<dependencies>
<dependency>
<g ...
Posted by krelian on Sat, 12 Oct 2019 03:13:58 +0200
Spring 5 Source Parsing 7-Configuration Class Post Processor
Configuration ClassPostProcessor inherits the BeanDefinitionRegistryPostProcessor interface, which implements the postProcessBeanDefinitionRegistry and its parent BeanFactoryPostProcessor#postProcessBeanFactory method.
For an analysis of the postProcessBean Definition Registry method, see: Spring 5 Source Learning (5) Configuration Class Post P ...
Posted by mrbill501 on Thu, 10 Oct 2019 06:29:08 +0200
Nepxion Discovery [Exploration] Enterprise Solutions for Micro Services
Nepxion Discovery [Exploration] Enterprise Solutions for Micro Services
Nepxion Discovery is based on Spring Cloud Greenwich, Finchley and Hoxton. Users need to modify the Edgware version by themselves. The main functions of the guide include:
The gateway is the trigger point of the whole link gray level routing based on Header transmission. ...
Posted by smnovick on Thu, 10 Oct 2019 05:59:27 +0200