How do I increase the concurrency of spring boot projects by ten times

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best practices extracted from many successful cases help you to make cloud decision! background Occasionally, there are some slow requests in the production environment, resulting in system performance de ...

Posted by tomhoad on Thu, 20 Feb 2020 03:13:33 -0800

Spring boot 2. X Foundation: packaging applications as executable jars

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot After the application ...

Posted by khanuja.sunpreet on Thu, 20 Feb 2020 00:12:35 -0800

Asynchronous thread pool usage specification

brief introduction spring The interface class of asynchronous thread pool, whose essence is Java.util.concurrent.Executor Spring has implemented exception thread pool: 1. SimpleAsyncTaskExecutor: it is not a real thread pool. This class does not reuse threads. Each call will create a new thread.   2. SyncTaskExecutor: this class does not ...

Posted by angel1987 on Wed, 19 Feb 2020 20:08:32 -0800

Lightweight RPC Design and Implementation 4th Edition

SPI mechanisms have been introduced in this release, as described in previous articles on Java and Dubbo. Port: The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo Because RPC frameworks are designed based on Spring, dependency injection issues are frequently encountered.There is also a SPI mechanism in Spring ...

Posted by Snatch on Wed, 19 Feb 2020 10:50:16 -0800

The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo

Starting today, you will learn more about DUbbo.First, give a brief overview of DUbbo. Summary Dubbo is the core framework for SOA (Service Oriented Architecture) service governance solutions.Used for distributed calls with a focus on distributed governance. Simply put, it can be divided into four roles.Provider s, Consumer s, registration cent ...

Posted by Boom.dk on Wed, 19 Feb 2020 10:42:21 -0800

Spring boot integrates WEB Development -- start task system

Introduction: There are some special tasks that need to be performed when the system starts, such as the loading of configuration files, database initialization and other operations. If spring boot is not used, these problems can be solved in the Listener. Spring boot provides two solutions: CommandLineRunner and ApplicationRunner. The two diff ...

Posted by LucienFB on Wed, 19 Feb 2020 06:36:46 -0800

What's the use of Collection and Iterable interface

From today on, I want to sum up again what java has to do with collections. It's convenient for me to review. Besides, spring moves are also here. It's terrible. I want to learn them seriously. I can't learn from the epidemic. It's beautiful. Well, there's no more nonsense. Let's take a look at a pictur ...

Posted by IronicSoul on Wed, 19 Feb 2020 03:12:52 -0800

6, spring boot tutorial -- integrating swagger

spring boot tutorial -- integrating swagger 1, About swagger 2. How to use swagger 1. Introduce the jar package of swagger 2. Write swagger configuration class 3. Code in controller 3, Operation effect 1, About swagger Swagger is a standardized and complete framework for generating, describing ...

Posted by geetakhurana on Wed, 19 Feb 2020 02:04:24 -0800

fastDFS is built by Docker

fastDFS is built by Docker Step 1: build a docker on the ECS https://blog.csdn.net/wjyyhhxit/article/details/83582588 It's almost the same with this blog. This blog uses Centos 7 Step 2: use Docker to pull the required image docker pull morunchang/fastdfs Because I use other methods to insta ...

Posted by Rabea on Tue, 18 Feb 2020 02:24:48 -0800

Spring takes notes the next day

Spring Learning Notes 1. Implementation of AOP based on aspect annotations Step 1, Create Bean s for Objects <!-- create object --> <bean id="book" class="com.itcast.aop.Book"></bean> <bean id="myBook" class="com.itcast.aop.MyBook"></bean> Step 2: Open AOP operations ...

Posted by Smruthi on Mon, 17 Feb 2020 17:35:45 -0800