ES backup recovery

@[toc] 1, ES backup 1.1 basic concepts โ€ƒโ€ƒ Elasticsearch replica provides high reliability; partial node loss can be tolerated without service interruption. However, replicas do not provide protection against catastrophic failures. In this case, it is necessary to back up for processing.โ€ƒโ€ƒ backup Elasticsearch clusters can us ...

Posted by Naez on Mon, 29 Jun 2020 00:38:26 -0700

Akka typed - cqrs read write separation mode

Event source and cluster are introduced earlier. Now it's time to discuss CQRS. CQRS is the mode of separation of reading and writing, which is composed of independent writer program and reader program. The specific principle has been introduced in previous blogs. Akka typed should naturally support ...

Posted by dustbuster on Thu, 25 Jun 2020 19:26:59 -0700

Super detailed practical tutorial: multi scenario analysis how to migrate Rancher Server

From Rancher Labs About the author Wang Hailong, technical manager of Rancher China community, is responsible for the maintenance and operation of Rancher China technology community. With 6 years of experience in the field of cloud computing, it has experienced the technological transformation from OpenStack to Kubernetes. No matter the underl ...

Posted by anon_amos on Sun, 14 Jun 2020 23:59:41 -0700

Mongodb backup restore common commands

Mongodb's export mongodump is used in combination with mongorestore import tool. Can be used for database backup and restore. mongodump is a utility for creating binary exports of database content. mongodump can export data from mongod or mongos instances; that is, it can export data from independent, replica set and shard cluster deployment.I ...

Posted by rmbarnes82 on Wed, 27 May 2020 06:10:35 -0700

What is layered jar in Spring Boot 2.3

background In our actual production containerization deployment process, we often encounter the situation that the Docker image is large and the deployment and release are slow There are three main factors that affect the image size of docker: The size of the underlying mirror. Try to choose Apache as the basic image to reduce the built-in sof ...

Posted by mattr on Wed, 27 May 2020 01:43:37 -0700

guava EventBus learning two source codes

Part I This paper introduces the use of event bus in guava package, and deeply understands the implementation details in the source code EventBus understand First of all, we need to look at the EventBus class. There are many comments on the class, which are summarized as follows: Eventbus ensures that subscribers will not be accessed at the sam ...

Posted by porta325 on Mon, 25 May 2020 18:25:41 -0700

Custom View - Scan dial with rotation animation

In general, many APP s have a novice-guided process after the first installation starts, but each uses a different approach.Recently, when I did this, I no longer made wheels [I couldn't actually make it myself...) Find a more beautiful framework for beginners'guidance layer. Introduction to TourGuide A framework ...

Posted by auro on Sat, 23 May 2020 10:31:27 -0700

Spring Cloud cognitive learning: the use of Spring Cloud Config in configuration center

catalog Spring Cloud Config effect: Simple example Create configuration center Pull configuration test Add: ๐Ÿ’ก In the previous article, we introduced a new component Zuul, which is a gateway component. It receives Api requests uniformly. Based on the gateway, we can process all requests, log records, request authorization and other ope ...

Posted by pradeepss on Fri, 15 May 2020 02:28:10 -0700

Spring Cloud cognitive learning: the use of Zuul gateway

catalog zuul effect: Simple example: 0. Create module 1. Import dependency: 2. Add notes to the main program: 3. Configure application.yml: 4. test Configuration syntax:route Add: ๐Ÿ’ก The previous article introduced a new component, hystrix. Hystrix is a fuse, which can be used to solve the problem of service fuse and service degradat ...

Posted by BradZynda on Fri, 15 May 2020 00:58:16 -0700

Laobaixue programming - Trace -ftrace

Ftrace and its functions brief introduction Ftrace is a tracker of the kernel, which helps developers to check the operation of the kernel, so as to better analyze performance problems. Ftrace can help us analyze kernel specific events, track dynamic kernel functions, call stacks and stack usage. It can also help us track delays, such as when i ...

Posted by [n00b] on Thu, 14 May 2020 07:02:44 -0700