[RPC] Implementation of RPC framework based on netty+zookeeper step by step

The last one implements service registration discovery and basic string communication functions. This one implements the functions that we usually invoke using classes of RPC framework. Implementing consumer end to call remote services through inte ...

Posted by phynias on Tue, 03 Sep 2019 05:59:50 -0700

82 days break through 1000star, the project team sorted out eight aspects of open source software must pay attention to

Recently, we have opened source SIA-TASK on GitHub, and have harvested 1000 + star s in 82 days. Since this is the first open source project of SIA team, the related work of open source, the team did not have much experience before, so we have sorted out the various records of this open source project, hoping to provide reference for future op ...

Posted by Jeroen_nld on Mon, 02 Sep 2019 20:51:44 -0700

SpringBoot2 integrates FastDFS middleware for distributed file management

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to FastDFS 1. Function of FastDFS FastDFS is an open source, lightweight, distributed file system that manages files, including file storage, file synchronization, file upload, file download, and so on. It solves the problems of mass storage and load balancin ...

Posted by faraco on Mon, 02 Sep 2019 17:35:44 -0700

mall Integrates RabbitMQ to Implement Delay Messages

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract This article mainly explains the process of mall integrating RabbitMQ to implement delay message, taking sending delay message to cancel timeout order as an example. Project Usage Framework Introduction RabbitMQ RabbitMQ is a widely used open sou ...

Posted by v4g on Mon, 02 Sep 2019 09:17:33 -0700

Spring Security Resolution-Development of Short Message Logon

Spring Security Resolution (4) - Development of Short Message Logon When learning Spring Cloud, when encountering the related content of authorized service oauth, he always knows half of it, so he decided to study and collate the content, principle and design of Spring Security, Spring Security Oauth2 and other permissions, authentication-relat ...

Posted by PHPThorsten on Mon, 02 Sep 2019 08:06:33 -0700

Java Description Design Patterns (06): Builder Patterns

This article source code: GitHub. Click here || GitEE. Click here I. Life Scene Based on the builder model, the software development process is described. 1. Code Implementation /** * Software development based on builder pattern description */ public class C01_InScene { public static void main(String[] args) { BuilderSoft builde ...

Posted by tbuzz on Mon, 02 Sep 2019 07:34:23 -0700

Do you really use the singleton mode?

Singleton mode can be written as long as it is a qualified development, but if you want to go deeper, a small singleton mode can involve many things, such as: Is multithreading safe?Is it lazy to load?Performance, etc.Do you know how to write several singleton modes?How do I prevent reflection from destroying the singleton mode? 1. Single Case ...

Posted by php_blob on Sun, 01 Sep 2019 10:41:33 -0700

Homepage Video of "Small Program JAVA Actual Warfare" (49)

Video display content is video screenshots, user's avatar, user's nickname, all need a combination. Source code: https://github.com/limingios/wxProgram.git in wx-spring boot and No.15 Getting System Information Introduction to Official Websi ...

Posted by mouse02 on Sun, 01 Sep 2019 05:39:44 -0700

Koa - Upload files using koa-multer (upload restrictions, error handling)

Preface Uploading files is a very common operation in development. Today I choose to use koa-multer middleware to achieve this function. In addition to uploading files, I will also restrict file upload and handle upload errors. Since the original koa-multer has stopped maintenance, we need to use the latest @koa/multer. This module is a branc ...

Posted by Penelope on Sun, 01 Sep 2019 03:41:19 -0700

Sp Efficiency Analysis and Understanding

Introduction to Catalogue 01.Sp Brief Introduction 1.1 Sp Action Analysis 1.2 Case Analysis 02.Sp Initialization Operation 2.1 How to get sp 2.2 Shared Preferences Impl Construction 03.edit method source code 04.put and get method source code 4.1 put method source code 4.2 get method source code 05.commit and apply 5.1 commit source ...

Posted by Zanne on Fri, 30 Aug 2019 01:00:49 -0700