MySQL Master-Slave Synchronization-Principle-Practice

What is mysql's master-slave replication? MySQL master-slave replication refers to the replication of data from one MySQL database server master node to one or more slave nodes.MySQL replicates asynchronously by default, so that the master server is not always accessed by the slave node to update its own data, which can be updated over a remote ...

Posted on Wed, 15 Jan 2020 20:55:58 -0500 by Cinquecento

Wallet development experience sharing: BTC

[TOC] BTC node building The first step of BTC is to build nodes. Because BTC is the most popular and popular, there are many articles about BTC node building on the network, or problems in synchronizing nodes. I won't go into details here (mainly there is no environment for building nodes). Here is an article: Building Bitcoin test node under b ...

Posted on Wed, 15 Jan 2020 03:54:32 -0500 by jmboblee

4 python module instances

exp_1 class Person(object): '''people''' def __init__(self, name, age): self._name = name self._age = age @property def name(self): return self._name @property def age(self): return self._age @age.setter def age(sel ...

Posted on Wed, 15 Jan 2020 03:22:21 -0500 by chrisdburns

[spring] AOP learning notes

[spring] AOP learning notes I. Preface 1. Take a chestnut 2. Transaction control 2, Dynamic agent 1. JDK agent 2. CGLIB agent 3, Here comes the point 1. concept 2. Relevant terms 3. dependence 4. Steps of AOP configuration based on XML 5. Writing of pointcut expression 6. Five notification types ...

Posted on Wed, 15 Jan 2020 03:04:52 -0500 by bluejay002

Deep understanding of JVM - fault diagnosis tools

jps (JVM Process Status Tool): displays all HotSpot virtual machine processes in the specified system jstat (JVM Statistics Monitoring Tool): users collect all aspects of the operation data of the HotSpot virtual machine jinfo (Configuration Info for Java): view and adjust parameters of virtual machine in real time, and integrate into jhsdb ...

Posted on Tue, 14 Jan 2020 23:49:41 -0500 by komquat

Illustration of kubernetes scheduler ScheduleAlgorithm core implementation learning framework design

ScheduleAlgorithm is an interface responsible for selecting a suitable node for pod. This section mainly analyzes how to implement an extensible and configurable general algorithm framework to achieve general scheduling, how to uniformly register and build algorithms, how to transfer metadata and scheduling process context data 1. Design consid ...

Posted on Tue, 14 Jan 2020 22:08:16 -0500 by mortal991

JVM-Memory Structure-Method Area

  Note: Although the method area is discussed in this article, knowledge about Class file structure and Class loading is also involved in order to answer some questions. java7 and before, method area implementations were permanent, and after java8, method area implementations were Metaspace 5.1 D ...

Posted on Tue, 14 Jan 2020 20:51:50 -0500 by Gho

ByteBuddy manipulating Java bytes example: automatically removing spaces on both sides of a string

I learned a little bit about ByteBuddy today. Its official warehouse address is: https://github.com/raphw/byte-buddy. Official description: Runtime code generation for the Java virtual machine.   Anyone who has written Java knows that Java only supports interface based dynamic proxies. If your class does not implement an interface, and yo ...

Posted on Tue, 14 Jan 2020 06:07:37 -0500 by FidelGonzales

11 of scala programming learning - set operation

11.1 mapping map operation of set elements 11.1.1 look at a real demand Requirement: Please * 2 all elements in List(3,5,7), and return the result in a new collection, that is, return a new List(6,10,14). Please write a program to implement it 11.1.2 using traditional methods to solve //Traditional wri ...

Posted on Tue, 14 Jan 2020 03:33:57 -0500 by ashok_bam

Getting started with Netty

Introduction to Netty Netty introduction Netty is a widely used Java network programming framework. Characteristics of Netty technology and method Design Unified interface for multiple transport types - blocking and non blocking Simple but more powerful threading model True connectionless datagram socket support Link logic supports reuse Ea ...

Posted on Tue, 14 Jan 2020 02:09:49 -0500 by colesw