Lightweight RPC Design and Implementation 2nd Edition

In the previous version, netty was used to implement a simple one-to-one RPC, which required manual service address setup and was more restrictive. In this article, using zookeeper as a service registry, local service information is registered in zookeeper at service startup. When a client initiates a remote service call, the address of the ser ...

Posted by wilzy1 on Wed, 19 Feb 2020 18:51:56 +0100

Zookeeper's practice and principle analysis of distributed topic-04 distributed coordination service

Directory navigation Preface data storage Using zookeeper based on Java API Event mechanism How to register event mechanism watcher event type What kind of operation will produce what kind of event? Implementation principle of transaction In depth analysis of the implementation principle of Watcher ...

Posted by jordz on Wed, 19 Feb 2020 15:25:28 +0100

[Camera]Android:Camera2/HAL3 Framework Analysis

This article was reproduced from the sheldon_blogs blog at https://www.cnblogs.com/blogs-of-lxl/p/10651611.html This article is for study and research purposes only. Please attach the original author's name and web address if you want to reproduce it 1. Treble mechanism on Android O In Android O, w ...

Posted by ixos on Sun, 16 Feb 2020 03:06:59 +0100

Example of JS using cookie to save user login information

This article describes how JS uses cookie s to save user login information. To share with you for your reference, as follows: Generally, cookies and session s are used to store information in web development. Sessions exist in the memory of the server, while cookies exist in the client. Therefore, js ca ...

Posted by epp_b on Fri, 14 Feb 2020 16:53:50 +0100

IOS docking CC video interface

IOS docking CC video interface On demand interface document Live interface document Docking process: 1. Implementation of HTTP communication encryption: The request parameter hash of CC video interface needs to be composed of other request parameters and api key with salt value hash. First, the common query parameters (in ...

Posted by mysterbx on Thu, 13 Feb 2020 23:07:41 +0100

Spring boot project integrates websocket to realize connectivity

Spring boot project integrates websocket to realize connectivity brief introduction pom.xml introduces dependency Create websocket configuration file for spring boot project websocketServer core code An entity class not understood, annotated to be solved js of front-end page, creating websocket for ...

Posted by aahh on Wed, 12 Feb 2020 16:30:55 +0100

Function introduction of MySQL8 role

The role function is not special for Oracle database. However, for MySQL, the role function added in MySQL 8.0 is quite novel, which is also what many users of MySQL have been expecting The role function added in MySQL 8.0 allows DBAs to create roles, grant permissions to them, and authorize users. Using roles can greatly reduce the work of DB ...

Posted by wblati on Mon, 10 Feb 2020 12:31:48 +0100

2. Spring integrates Spring data jpa complex query

Article directory Environment creation and simple query, see the previous article 1Specifications dynamic query 1.1 query single object according to conditions 1.2 multi criteria query 1.3 fuzzy matching, sorting 1.4 paging query 2. Relationship between multiple tables and operation steps of multip ...

Posted by SpaceLincoln on Fri, 07 Feb 2020 13:21:16 +0100

ORA-00600 KGLDELETEALLPINSONOBJ1 a BUG crossing 10g/11g/12c

A friend on motianlun encountered a rare ORA-600 error. The first error parameter is KGLDELETEALLPINSONOBJ1. From the naming of KGLDELETEALLPINSONOBJ1, we can quickly guess the basic situation: KGL - Kernel Generic Library cache, which means that the problem lies in the Library Cache level; DELET ...

Posted by Ind007 on Thu, 06 Feb 2020 09:03:03 +0100

[SSH] SSH's hibernate framework: initial knowledge of Hibernate

What is Hibernate: Hibernate is an open-source object relational mapping framework, which encapsulates JDBC with very lightweight objects. It establishes the mapping relationship between POJO and database tables. It is a fully automatic ORM framework. Hibernate can automatically generate SQL statement ...

Posted by myshoala on Thu, 06 Feb 2020 08:28:54 +0100