Kubernetes implementation of master slave distributed construction scheme
catalogue
1. Defects of traditional Jenkins master slave scheme
2.Kubernates+Docker+Jenkins continuous integration architecture diagram
3. Benefits of kubernates + docker + Jenkins continuous integration scheme
4. Kubedm installation Kubernetes
5. Installation environment description
6. Install and configure NFS and harbor configuration
...
Added by jrbush82 on Tue, 08 Mar 2022 21:14:11 +0200
Seata source code analysis: a preliminary official example
Quick start
Let's start with a microservice example. The official example uses the AT mode in seata distributed transaction, that is, the example is based on:
Based on a relational database that supports local ACID transactions.Java application, accessing database through JDBC..
Use case
Business logic for users to purchase goods. T ...
Added by daiwa on Tue, 08 Mar 2022 20:26:34 +0200
Spring boot data access
Spring boot(6) data access
Learning video: https://www.bilibili.com/video/BV19K4y1L7MT?p=62&spm_id_from=pageDriver
1. Automatic configuration of data source - HikariDataSource
1.1 importing JDBC scenarios
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spr ...
Added by glenelkins on Tue, 08 Mar 2022 14:27:47 +0200
Distributed file storage - FastDFS environment installation
catalogue
1.1 preparation
1.2 download and install libfastcommon
1.3 download and install FastDFS
1.4 configuring Tracker service
1.5 configuring Storage services
1.1 preparation
Operating environment CentOS 6.4
Put all downloaded files into the package for unified management
1.2 download and install libfastcommon
1. Download ...
Added by Permutant on Tue, 08 Mar 2022 08:18:35 +0200
MySQL group replication (multi master mode)
MySQL group replication (multi master mode)
Official website: https://dev.mysql.com/doc/refman/5.7/en/group-replication.html
brief introduction
MySQL group replication is a MySQL Server plug-in that enables you to create elastic, high availability, fault-tolerant replication topologies. Based on GTID.Group replication is a technology that ...
Added by johnny on Tue, 08 Mar 2022 02:34:19 +0200
[source code analysis] multi process architecture and model of parallel distributed task queue Celery
[source code analysis] multi process architecture and model of parallel distributed task queue Celery
0x00 summary
Celery is a simple, flexible and reliable distributed system that processes a large number of messages. It focuses on asynchronous task queue for real-time processing, and also supports task scheduling. Because celery improve ...
Added by new2phpcode on Mon, 07 Mar 2022 21:27:03 +0200
Redis realizes inventory deduction of e-commerce system
In daily development, there are many similar operations of reducing inventory, such as commodity inventory in e-commerce system, prize inventory in lottery system, etc.
Solution
Using mysql database, use a field to store inventory, and update this field every time you deduct inventory. The database is still used, but the inventory is layere ...
Added by TheOracle on Mon, 07 Mar 2022 20:54:01 +0200
ZooKeeper ACL permission control
1.1 ACL permission control:
scheme, id and permission are used to identify, mainly covering three aspects:
Permission scheme: authorization policy
Authorization object (id): the authorized object
Permission: the permission granted
1.2. Features of Zookeeper ACL:
Zookeeper's permission control is based on znode nodes, and permissions need ...
Added by Highlander on Mon, 07 Mar 2022 10:09:01 +0200
Roll it up and take you to write a distributed RPC framework that middle and senior programmers will know
I summary
What is RPC?
Remote service callOfficial: the idea of requesting services from remote computer programs through the network without understanding the underlying network technologyA little more popular: without knowing the details of the call, the client calls an object that exists on the remote computer, just like calling an objec ...
Added by donald on Sun, 06 Mar 2022 16:46:07 +0200
Roll it up and take you to write a distributed RPC framework that middle and senior programmers will know
I summary
What is RPC?
Remote service callOfficial: the idea of requesting services from remote computer programs through the network without understanding the underlying network technologyA little more popular: without knowing the details of the call, the client calls an object that exists on the remote computer, just like calling an objec ...
Added by Skipjackrick on Sat, 05 Mar 2022 13:47:51 +0200