From 0 to 1, hand in hand to teach you how to get to etcd

By kaliarch Link: https://juejin.im/post/5e02fb... Background: Recently, there are some puzzles about the function of etcd in k8s application. If we study it alone, we can better understand some characteristics of k8s. 1, Overview 1.1 introduction to etcd Etcd is an open source project launched by CoreOS team in June 2013. Its goal is to bu ...

Posted by alco19357 on Mon, 29 Jun 2020 12:25:04 +0200

Why the jar of springboot can run independently

Welcome to my GitHub https://github.com/zq2599/blog_demos Content: all original articles are classified, summarized and matched source code, including Java, Docker, Kubernetes, DevOPS, etc; jar files that can run independently When developing spring boot applications, it is a common way to start app ...

Posted by php.ajax.coder on Sun, 28 Jun 2020 04:08:50 +0200

akka-typed - cluster: group router, cluster-load-balancing

Let's start with the router actor for akka-typed.route is divided into pool router and group router.Let's first look at a demonstration of using pool-router: val pool = Routers.pool(poolSize = 4)( // make sure the workers are restarted if they fail Behaviors.supervise(WorkerRoutee()).onFailure[Exception](SupervisorStrateg ...

Posted by scnjl on Thu, 11 Jun 2020 03:02:18 +0200

Hundreds of billions of warehouse projects (warehouse theory_ Product dimension data loading (zipper table))

Product dimension data loading (zipper table) Zipper watch design: 1. Collect the full data of the day and store it in the ND (current day) table. 2. You can take out yesterday's full data from the history table and store it in the OD (last day's data) table. 3. ND-OD is the data added and changed on ...

Posted by eagle1771 on Fri, 05 Jun 2020 06:27:04 +0200

[Vue] status management

Page application needs Vuex to manage the state of global / module. If large single page components rely on events / props to communicate values, they will be coupled together. because This requires unified management of Vuex. Of course, for a small single page application, reference to Vuex will increase the complexity. Therefore, it ...

Posted by notionlogic on Sun, 26 Apr 2020 07:56:09 +0200

InnoDB consistent nonlocking reads

Consistent read Consistent read refers to that InnoDB uses multiple versions to query the snapshot of the database at a certain point in time. This query can see the changes made by the transactions submitted before this time point and will not be affected by the later changes or uncommitted transactions. However, this rule do ...

Posted by zack45668 on Mon, 30 Mar 2020 22:57:37 +0200

Architect's Inner Work, Memo Mode Details Participating in Rich Text Editor Development

Memento Pattern, also known as Snapshot Pattern or Token Pattern, captures an internal state and preserves it outside the object without destroying the encapsulation.The object can then be restored to its original saved state. In software systems, the memo mode provides us with a mechanism of "regret medicine", which allows us to roll ...

Posted by coollog on Sun, 22 Mar 2020 07:16:37 +0100

Backup of etcd data in k8s

The data stored in etcd is divided into flanned network data and k8s container data.      1. Directly backup the data directory of etcd (generally used for single node) The data of etcd will be stored in our command working directory by default. We find that the directory where the data is located will be divided into two folders: snap: store ...

Posted by dbo on Fri, 20 Mar 2020 17:57:30 +0100

Introduction to Zookeeper and construction of stand-alone and cluster environment

1. Introduction to zookeeper Zookeeper is a distributed service framework, which used to be a sub project of Apache Hadoop. Now it is an independent top-level project of Apache. It is mainly used to solve some data management problems often encountered in distributed applications, such as unified nami ...

Posted by tymlls05 on Fri, 13 Mar 2020 04:08:03 +0100

Maven scaffolding best practices

Background and objectives To develop a new project, we need to build a new project. We often copy and paste configuration from other existing projects. It is inevitable that we will step into a hole because of some detailed configuration. Especially for new employees, when they don't know the compan ...

Posted by Fabio9999 on Mon, 09 Mar 2020 09:50:01 +0100