Use and analysis of [Netty] Recycler

Article directory Preface Experiment code: Follow up source code Introduction to Recycler inner class Recycler creation and some properties Get object from Recycler Stack creation and some properties Pop pop up object Recycle objects to Recycler Same thread recycle Control frequency Different thr ...

Posted on Thu, 20 Feb 2020 03:24:08 -0500 by kannjihyun

New posture of spring boot2. X operation cache

I. Introduction spring cache is a technology introduced after spring 3, which can simplify the operation of the cache layer. spring cache is similar to spring cloud stream, which is based on the abstract layer, and can switch its implementation arbitrarily. Its core is the two interfaces of CacheManager and cache. All the caches integrated by ...

Posted on Thu, 20 Feb 2020 02:45:03 -0500 by hasanpor

Chapter three object oriented (Overview)

3.1 object oriented features Characteristic **Encapsulation: * * hides interfaces in the class that do not need to be opened to the public. **Inheritance: * subclass can inherit the public member variables and member functions of the parent class. **Polymorphism: * * the ability of the same behavior ...

Posted on Thu, 20 Feb 2020 01:21:25 -0500 by juminoz

Introduction to Stream syntax

1, About Stream Stream is a key abstract concept in Java 8 to deal with collections. It can specify the operations you want to perform on collections, and can perform very complex operations such as finding, filtering, and mapping data. Using Stream API to operate on collection data is similar to database query using SQL. You can also use the ...

Posted on Wed, 19 Feb 2020 21:51:01 -0500 by shonuff

Bitcoin real-time market application practice [Swift code]

In this article, we will learn how to use websocket to develop a Swift application that can receive and display Bitcoin / Bitcoin prices in real time. Let's take a look at our final results: Bitcoin development links: Java bitcoin docking tutorial C-bitcoin docking tutorial PHP bitcoin docking tutorial Bitcoin data analysis ETL tool Bitcoin ...

Posted on Wed, 19 Feb 2020 20:53:21 -0500 by OmegaB

Deploy Maven and Nexus

Blog Outline:1. Introduction to Maven1) Maven's functions:2) Maven usage scenarios (from a maintenance perspective):3) Maven WarehouseII. Deployment of Maven1) Configure the jdk environment2) Deploy Maven3. Deploy Nexus Private Service1) Introduction to Nexus2) Deploy Nexus4. Maven configures nexus private services and sets up cost-effective ...

Posted on Wed, 19 Feb 2020 14:52:04 -0500 by hejgelato

Service Registration for Dubbo

In the previous article, Dubbo's Service Exposure Analysis described that when remotely exposed, if there is a registry, services need to be registered with the registry after they are exposed.This article describes the steps for this functionality. Starting point for registration The RegistryProtocol.export() method contains logic for service ...

Posted on Wed, 19 Feb 2020 14:11:56 -0500 by davey10101

The function of uploading and compressing pictures implemented by Java [equal proportion compression or original size compression]

The example of this paper describes the function of uploading and compressing pictures in Java. To share with you for your reference, as follows: First look at the effect: Original: 1.33M   After treatment: 27.4kb   Key code: package codeGenerate.util; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt. ...

Posted on Wed, 19 Feb 2020 13:01:56 -0500 by snapy

AbstractRegistry of Dubbo-Service Registry

In dubbo, the implementation of Registry registry is encapsulated in the dubbo-registry module.Providers and consumers use the Registry to schedule resources.When a service starts, the provider invokes the register method of the Registry to publish its services to the Registry via a url, whereas consumer subscribes to other services by sending ...

Posted on Wed, 19 Feb 2020 12:51:41 -0500 by ejaboneta

Lightweight RPC Design and Implementation Fifth Edition (Final Edition)

Over the past few years, a lightweight RPC has been designed, named lightWeightRPC, by collecting relevant data and adding your own understanding.It has a common basic function of RPC.The main functions and features are as follows: Dependent Injection and Parameter Configuration Using Spring Using Netty to implement remote communication betwee ...

Posted on Wed, 19 Feb 2020 12:42:24 -0500 by webAmeteur