Add Baidu Sharing Plug-in to the website
Preface
If we want to share the web pages on our own websites, we can only send them to our friends by copying links. Here we will introduce how to use Baidu's official sharing plug-in to share. Documents can't be found on the official website, but the plug-in can still be used.
I. Code structure
Sharing code can be divided into three parts: ...
Added by orange08 on Sat, 28 Sep 2019 17:41:40 +0300
Serialization of Dry Cargo Series Performance Chapter
Serialization scheme
Java RMI uses Java serialization
Spring Cloud uses JSON serialization
Although Dubbo is compatible with Java serialization, Hessian serialization is used by default.
Java serialization
principle
Serializable
JDK provides the input stream object ObjectInputStream and the output stream object ObjectOut ...
Added by llanitedave on Wed, 25 Sep 2019 13:43:18 +0300
Log replication (propagation) of source code analysis RocketMQ DLedger
This article follows Log Addition Process for Source Analysis RocketMQ DLedger Continue Leader's process of handling client append requests, one of the most critical aspects: log replication.
DLedger multi-copy log forwarding is implemented by DLedger Entry Pusher, which will be described in detail next.
Warm Tip: Due to the length of this art ...
Added by TheIceman5 on Tue, 24 Sep 2019 06:45:21 +0300
The best retries are exponential regression and jitter
1. overview
In this tutorial, we will explore how to use two different strategies to improve client retry: exponential regression and jitter.
2. retry
In distributed systems, network communication between multiple components may fail at any time.
Client applications handle these failures by implementing retries.
Imagine that we have a client ap ...
Added by gethinw on Sun, 22 Sep 2019 17:46:15 +0300
Linux Interprocess Communication (Pipeline, Named Pipeline, Message Queue, Semaphore, Shared Memory, Socket)
What is a process?
In Linux system, process is the basic process to manage transactions. Processes have their own independent processing environment and system resources. The whole life of a process can be simply divided into three states:
Ready state:
The process has all the conditions for execution an ...
Added by faizanno1 on Sat, 21 Sep 2019 17:22:11 +0300
kubeadm of Kubernetes Series Builds k8s Cluster
Kubeadm Builds k8s Cluster
Note: The Kubernetes series uses 1.15 versions of kuberntetes.+
1 Master Node Installation
1.1 System Environment Configuration
1.1.1 Setting Host Name
hostnamectl set-hostname kmaster-01
hostnamectl set-hostname knode-01
hostnamectl set-hostname knode-02
vi /etc/ho ...
Added by kingnutter on Sat, 21 Sep 2019 10:00:01 +0300
Create Users, Delete Users, Modify Passwords in Mysql Series
Article directory
1. Log on to mysql
1.1 Remote login mysql
2. Creating Users
2.1 Creating Local Users
2.2 Creating Accessible Users on Extranet
2.3 Refresh Authorization
3. Modify user password
3.1 Modify Local User Password
3.2 Modify the password of the users in the external network
3.3 Refresh ...
Added by aboali on Sat, 21 Sep 2019 09:15:58 +0300
Build LVS (DR mode) +Keepalived High Available Cluster, can follow!!!
Keepalived's design goal is to build a highly available LVS load balancing cluster that can call the ipvsadm tool to create virtual servers and manage server pools, not just as a dual hot standby. Using Keepalived to build LVS cluster is more convenient and easy to use. The main advantages are hot standby switching and availability improvement ...
Added by Radon3k on Thu, 19 Sep 2019 07:10:15 +0300
iOS Initial Knowledge of MVC Mode - (Containing Simple Login Interface)
MVC mode
The full name of MVC is Model View Controller. It is the abbreviation of Model View Controller, which separates the input, processing and output of the program. It consists of three parts. The functions are as follows.
Model Data Processin ...
Added by ILYAS415 on Wed, 18 Sep 2019 15:16:02 +0300
How do I optimize my APP from 400 k to 2B?
Preface
This article focuses on the size optimization of Android APK in Android performance optimization.
Although the network speed is very fast and the user traffic is very large now, it is necessary to optimize our Android apk file. The user experience is still very bad even though the size of tens or hundreds of megabytes is fixed. Let's ...
Added by gunslinger008 on Tue, 17 Sep 2019 16:15:05 +0300