Virtual Machine Management and Snapshot Generation

Replication and Recovery of Virtual MachinesDuplicating a virtual machine is actually duplicating his hard disk and hardware information. /var/lib/libvirt/images/xxxx.qcow2 ##Storage Path of Hard Disk /etc/libvirt/qemu/xxxx.xml ##Hardware Information File Storage Path For example, to replicate a vir ...

Posted by SuNcO on Wed, 24 Jul 2019 21:34:02 -0700

mac installation zookeeper pseudo cluster

Catalogue 1. Configuration 2. Start all servers of zookeeper pseudo cluster 3. Access Client 4. Writing startup scripts 1. Configuration zookeeper download address: http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.4.6/  Deploy three servers on a machine, create a folder zookeeperLab under the specified folder, create three folders server ...

Posted by Hitch54 on Thu, 11 Jul 2019 14:23:51 -0700

Drawing Basic Shape of Custom View Canvas (Reprint) - 5

Drawing Basic Shape of Custom View Canvas (Reprint) - 5 Author: Gcs Sloop Links to the original text In the last article Custom View Classification and Process We know the basic knowledge about custom View, but it's still a theory, not a Zhuang (B). This time we'll learn something about Zhang (B). In this article, we first learn the basi ...

Posted by nankoweap on Wed, 10 Jul 2019 16:42:38 -0700

Preliminary study of java SPI mechanism

Preliminary study of java SPI mechanism 1. SPI mechanism The full name of SPI is Service Provider Interface. Most developers may not be familiar with this because it is for vendors or plug-ins. More detailed information is provided in the documentation of java.util.Service Loader. A brief summary of the idea of java spi mechanism. There are m ...

Posted by curtm on Tue, 09 Jul 2019 12:00:02 -0700

HAWQ Data Warehouse Practice (9) - Degraded Dimensions of Dimension Table Technology

Degraded dimension technology reduces the number of dimensions and simplifies the dimension data warehouse model. Simple schemas are easier to understand than complex ones and have better query performance.Sometimes, there is nothing in the dimension table except the business primary key. For example, in this sales order example, the order dime ...

Posted by Das Capitolin on Thu, 27 Jun 2019 18:56:54 -0700

Handler Thread for Android Threads

Summary HandlerThread is a subclass of Thread and another thread form provided in Android. Handy class for starting a new thread that has a looper. The looper can then be used to create handler classes. Note that start() must still be called.This is the description of the official class. Say that this class is a thread with Looper, the looper ...

Posted by ballouta on Thu, 27 Jun 2019 16:25:33 -0700

Under Windows, complete the gRPC Java example step by step

This paper gives a Java example of using Google RPC (grpc) to complete rpc step by step under Windows.~ This article will explain from the following parts. Generate code automatically according to proto - Write proto file, and automatically generate code required by gRPC under window s according to tools Code Composition - Gives the ...

Posted by emceej on Thu, 27 Jun 2019 13:00:02 -0700

Git Understanding Two Git Foundations

Git Foundation Read this chapter and you can start using Git.This chapter introduces the basic and most common Git commands, which will be used most of the time.After reading this chapter, you can initialize a new code repository, make some appropriate configurations, start or stop tracking certain files, temporarily save or submi ...

Posted by rooky on Wed, 26 Jun 2019 09:42:32 -0700

Mysql Innodb transaction isolation level understanding

Mysql has four transaction isolation levels, as follows: 1.Read Uncommitted allows you to read dirty data that has been changed by other transactions but has not been submitted. It also causes unrepeatable and hallucination problems. 2.Read Committed can avoid reading dirty data, and still cause unrepeatable and hallucination problems. 3. Th ...

Posted by mrcodex on Tue, 25 Jun 2019 14:01:43 -0700

HAWQ Replacing Traditional Number Warehouse Practice (17) - Accumulative Measurement of Fact Table Technology

Cumulative Measures refer to aggregating data from the first element in the sequence to the current element, such as statistics of cumulative sales from January to the current month of each year. This article explains how to realize the cumulative monthly sales volume and amount in the sales order example, and makes corresponding modifications ...

Posted by carleyvibe on Sun, 23 Jun 2019 16:31:35 -0700