Golang net/rpc package learning
golang provides an out of the box RPC service, which is simple but not simple.
RPC introduction
Remote Procedure Call (RPC) is a kind of computer communication protocol. It allows programs running on another computer to call subroutines in another address space (generally a computer in an open network), while programmers are just like calling l ...
Posted on Sat, 27 Jun 2020 23:01:36 -0400 by lasith
Custom Codec for Netty Source Analysis
Protocol resolution is essential in daily network development. Although length-based, delimiter-based codecs are built into Netty, in most scenarios we use custom protocols, so Netty provides MessageToByteEncoder<I> and ByteToMessageDecoder Two abstract classes that encode and decode private protocols by inheriting overrides of their enco ...
Posted on Mon, 22 Jun 2020 22:05:16 -0400 by jalapena
You even go to the server to search for logs. Isn't it delicious to set up a log collection system!
abstract
ELK log collection system advanced use, this article mainly explains how to build a real and available online environment log collection system. With it, you can say goodbye to go to the server to search for logs!
ELK environment installation
ELK refers to the log collection system built ...
Posted on Mon, 22 Jun 2020 02:32:07 -0400 by ChrisF79
Common encryption methods in Java
1, Common encryption methods in Java
Base64 encryption algorithm (encoding method)
MD5 encryption (message digest algorithm, verifying information integrity)
Symmetric encryption algorithm
Asymmetric encryption algorithm
Digital signature algorithm
digital certificate 2, Classification
According to w ...
Posted on Sun, 21 Jun 2020 23:47:32 -0400 by cwheel3915
FlutterFlutter interacts with Android native activities and delivers data
Recommended reading
Flutter (2) Android integrates Flutter projects and jumps to the Flutter interface
Flutter (1) Installation, deployment and understanding of Dart language
Catalog
Preface
1. Platform Channel
2. MethodChannel
3. Flutter returns to the previous page
Preface
In the previous article, you learned about Android's nativ ...
Posted on Sat, 20 Jun 2020 23:07:21 -0400 by belaraka
LeetCode297.Serialization and Deserialization of Binary Trees
LeetCode297.Serialization and Deserialization of Binary Trees
Title Description
Solving problems
source code
LC format
Title Description
Serialization is the operation of converting a data structure or object into consecutive bits, so that the converted data can be stored in a file or in memory, ...
Posted on Tue, 16 Jun 2020 12:59:47 -0400 by massimoGornatti
springboot is a set of distributed locks based on Redisson, which supports annotation and el expression
1. Background
Recently, there is an urgent need for a set of distributed locks in the project to solve the concurrency problem of some interfaces, and various data are collected on the Internet. Combined with its own project scenario, it relies on Redis to implement a set of distributed locks, which ...
Posted on Sun, 14 Jun 2020 23:38:45 -0400 by Reviresco
Using WebRTC to transmit video in Java
introduction
In recent years, the main work is to develop a remote control function of mobile phones. The part of audio and video transmission is carried out by WebRTC technology, while our mobile phones are managed by the Agent server directly connected to them. The Agent service is written in Java ...
Posted on Tue, 09 Jun 2020 03:12:09 -0400 by monkeyj
Observability: use Elastic Stack to analyze geospatial data
Previous articles“ Observability: using Elastic Stack to analyze geospatial data (1) ”, I detailed how to import data from OpenSky Network API interface to Elasticsearch and analyze the data visually. Maybe it's enough for the right situation, because it can help us extract a lot of usefu ...
Posted on Thu, 04 Jun 2020 14:17:24 -0400 by sanstenarios
MyDLNote-Enhancment: [SR Transcription] Deep Unfolding Network for Image Super-Resolution
2020CVPR -- Deep Unfolding Network for Image Super-Resolution
[paper] : Deep Unfolding Network for Image Super-Resolution
[github] : https://github.com/cszn/USRNet
Abstract
Learning-based single image super-resolution (SISR) methods are continuously showing superior effectiveness and efficiency over traditional mod ...
Posted on Thu, 21 May 2020 23:29:34 -0400 by peri