Lambda, AWS, and Python Automation Management Operations - Automatically create snapshots, delete snapshots

This section looks at how to manage EC2 snapshots through boto3. In the actual production environment, beans use the solution EBS Snapshot Scheduler provided by AWS, import the stack of Cloudformation directly, automatically configure Lambda function and DynamoDB database, and then we can set it up by label. From a learning point of view, let' ...

Posted by vonnero on Thu, 10 Oct 2019 02:12:24 -0700

Analysis of the Principle of Go map

In the process of using map, two problems are often encountered: read-write conflict and traversal disorder. Why is this so? How is the bottom achieved? With these two problems, I have a simple understanding of the map add-delete check and traversal implementation. structure hmap type hmap struct { // Note: the format of the hmap is also en ...

Posted by shurrupak on Wed, 09 Oct 2019 12:06:35 -0700

Spring Cloud: Building Eureka Service Registry

I: Introduction to Eureka Eureka, like Constul and Zookeeper, is a component of user service discovery and service registration, initially mainly used for Amazon's cloud computing service platform AWS. Eureka is divided into Eureka Server (Service Registry) and Eureka Client (Client). Eureka advantages 1: Completely open source, and after thre ...

Posted by Agtronic on Tue, 08 Oct 2019 08:18:53 -0700

Source Code Analysis of CopyOnWriteArraySet of Dead java Sets

problem (1) Is the CopyOnWriteArraySet implemented with Map? (2) Is the CopyOnWriteArray Set orderly? (3) Is the CopyOnWriteArraySet concurrently secure? (4) How does the CopyOnWriteArraySet ensure that elements are not duplicated? (5) How to compare whether the elements in the two Set s are identical? brief introduction CopyOnWriteArraySet use ...

Posted by Dumps on Sun, 06 Oct 2019 09:22:16 -0700

jar Exploration of Springboot Source Analysis

Abstract: Using IDEA and other tools to pack will appear springboot-0.0.1-SNAPSHOT.jar,springboot-0.0.1-SNAPSHOT.jar.original, have said the relationship between them before, next we will find out, what is the relationship between them? Document comparison: Enter the target directory and unzip springboot-0.0.1-SNAPSHOT.jar-d jar command deco ...

Posted by jeevan_y21 on Fri, 04 Oct 2019 03:21:15 -0700

Redis source code analysis: snapshot

Links to the original text: https://my.oschina.net/zipu888/blog/549579 redis 2.4.4 snapshot of redis achieves persistence by writing all data in memory to files. It should be noted ...

Posted by ScottRiley on Wed, 02 Oct 2019 01:16:05 -0700

Activiti Guidelines (Creating and Setting Maven Projects)

Create and set up Maven projects Create a Java project called "Activity Developer QuickStart" (hereinafter referred to as $quickStart Java Project Name), which contains the following Maven dependencies: Document: $mvnProject/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta ...

Posted by chamal on Wed, 02 Oct 2019 00:04:38 -0700

Yitaifang Mining Source Code: clique Algorithms

Chain customer, specially for developers, there are questions to answer! This article is from Block Chain Technology Community No reprinting without permission. cliqueThe official consensus algorithm of ETF is ethash algorithm, which has been analyzed in detail in the previous article. It is based on POW consensus mechanism. Miners need to calc ...

Posted by rosegarden on Fri, 27 Sep 2019 02:29:28 -0700

Openstack Cinder Ceph(RBD) backup recovery process (backup/restore)

Summary: In this section, we discuss the openstack cinder volume rbd-driven backup/restore operation. Backup is a backup of volume s elsewhere (backup devices) that can be restore d in the future. Backup VS Snapshot Both Backup and snapshot can save the current state of the volume for later recover ...

Posted by Cantaloupe on Mon, 23 Sep 2019 19:13:26 -0700

Nacos Configuration Service Principle

Nacos Client configuration mechanism spring Load Remote Configuration Before we understand the NACOS client configuration, let's see how spring loads the remote configuration. Spring provides an extended interface for loading remote configurations, PropertySourceLocator. Here's a simple example: Implementing Property Source Locator public class ...

Posted by ShiloVir on Mon, 16 Sep 2019 21:46:19 -0700