Sentinel: Wanzi explains the sentinel mechanism of microservice, I kneel

1. What is sentinel? With the popularity of microservices, the stability between services becomes more and more important. Sentinel takes traffic as the entry point, and protects the stability of services from multiple dimensions such as traffic control, fuse degradation, system load protection, etc. Sentinel has the following characteristics: ...

Posted by chomps on Wed, 12 Feb 2020 04:31:46 -0800

The simplest spring boot integrated Spring Data JPA tutorial

At the beginning of using the spring boot development project, the Spring Data JPA used by the ORM framework was only used intermittently for more than a year, without making some summary. Taking advantage of the current serious epidemic situation and little work, I will take a note and record the gener ...

Posted by midge1970 on Tue, 11 Feb 2020 23:53:38 -0800

Learning and arrangement of RabbitMQ -- integration of Spring AMQP and RabbitMQ

Preface In the previous blog, I sorted out some advanced features of RabbitMQ, such as confirm message confirmation mechanism, consumer side flow restriction, etc. Today, this blog is mainly about the integration of Spring AMQP and RabbitMQ, mainly about the use of some common components. It's rela ...

Posted by roughie on Tue, 11 Feb 2020 06:58:07 -0800

Spring cloud bus auto refresh configuration

Problems solved To solve the problem that the project needs to be restarted after the configuration file changes After changing the configuration file in git, push the configuration to the corresponding project to complete the configuration update without restarting Framework Modify the archite ...

Posted by vasoftwaresolutions on Tue, 11 Feb 2020 06:25:18 -0800

SpringBoot+Security dynamic configuration permission

Preface In today's web development, the authentication of security rights has always played an important role, so Spring has also produced its own security module, but this is a relatively heavy framework, configuration is quite cumbersome. Later, shiro, a lightweight security framework, emerged. The ...

Posted by spaze on Tue, 11 Feb 2020 05:32:51 -0800

Pit log (asynchronous thread disappears abnormally & RequestContextHolder)

In a spring MVC project, we can usually use the following code to obtain the HttpServletRequest object bound to the current thread: HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest(); In the recent project development of the company, m ...

Posted by Chamza on Tue, 11 Feb 2020 04:40:19 -0800

Spring Cloud advanced Road 16: service gateway integrated circuit breaker monitoring (zuul + Hystrix Dashboard)

  Preface Last article Spring Cloud advanced Road 15: service gateway integrated circuit breaker (zuul + hystrix) In, describes how the service gateway integrates the circuit breaker. However, like other service integrated circuit breakers before, we still can't see the relevant information of circ ...

Posted by r3n on Tue, 11 Feb 2020 00:09:22 -0800

Microservice framework: building of Leyou mall project

Leyou mall project construction Learning objectives 1. Understand the e-commerce industry 1.1. Project classification 1.1.1. Traditional projects 1.1.2. Internet Project 1.2. Development of e-commerce industry 1.2.1. money scene 1.2.2. data 1.2.3. Technical characteristics 1.3. Common e-commerce ...

Posted by Sam on Mon, 10 Feb 2020 22:10:48 -0800

Initial experience of XXL job distributed task scheduling

brief introduction XXL-JOB Is a lightweight distributed task scheduling platform, its core design goal is to develop quickly, learn simple, lightweight, easy to expand. Open source code and access to a number of companies online product line, out of the box. The official documents are very complete, so there is no need to elaborate. This paper ...

Posted by jonah on Mon, 10 Feb 2020 08:24:36 -0800

Spring security failed to properly catch UsernameNotFoundException exception

Preface In Web application development, security has always been a very important aspect. In the huge spring ecosystem, the authority verification framework is also very perfect. Among them, spring security is very easy to use. Today, I'd like to record a spring security related problem encountered in development. Problem description When using ...

Posted by V-Man on Mon, 10 Feb 2020 08:07:01 -0800