Redis cluster mode high availability practice
1, PrefaceThis paper builds Redis cluster service.<img src="https://www.altitude.xin/typora/image-20211108171613912.png" alt="image-20211108171613912" style="zoom:33%;" />2, Single machine simulationSingle machine simulation refers to simulating operation on a single physical machine or virtual machine to maximize the restoration of the i ...
Posted by fI_Ux on Mon, 14 Feb 2022 10:40:56 +0100
Microservices have everything from code to k8s deployment (v. home stay service)
We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring.
The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...
Posted by herando on Mon, 14 Feb 2022 10:30:27 +0100
Use three in Vue JS create a 3D conference room drag and rotate
Chapter III
Although the basic models have been created now, the main purpose of our 3D conference room is to place the items in the conference room and set the layout by ourselves. Therefore, we need to be able to drag the position and rotate the angle of the model in the conference room to achieve this highly free effect.
drag
DragCont ...
Posted by BizLab on Mon, 14 Feb 2022 10:21:40 +0100
Design and implementation of Redis 7.0 Multi Part AOF
Introduction: This paper will explain in detail some shortcomings of the existing AOF mechanism in Redis and the design and implementation details of Multi Part AOF introduced in Redis 7.0.As a very popular in memory database, Redis can have very high read and write performance by saving data in memory. However, once the process exits, all Redi ...
Posted by Thoaren on Mon, 14 Feb 2022 10:18:08 +0100
Superset localization under Windows
1. Install python environment
Superset is a report system developed based on python. It needs a python environment to run, and anaconda is very convenient to manage the package management of Python. Therefore, anaconda is recommended to help configure the python environment.
1.1 installation of anaconda
Install anaconda using Tsinghua im ...
Posted by judgy on Mon, 14 Feb 2022 10:15:46 +0100
Selected algorithm problem -- odd and even data separation
Author: Zhai Tianbao Steven Copyright notice: the copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source
Title Description:
Input an integer array and implement a function to adjust the order of numbers in the array, so that all odd numbers a ...
Posted by Nulletz on Mon, 14 Feb 2022 10:03:52 +0100
for while until loop
for loop
In practical work, we often encounter the situation that a task needs to be executed multiple times, and each time it is executed, only the processing objects are different and other commands are the same. For example, create a system account according to the name list in the address book, and check the survival status of each h ...
Posted by plsanders on Mon, 14 Feb 2022 10:00:17 +0100
MySQL learning notes (Advanced)
1, Restraint
1. Foreign key constraints
Foreign key constraint concept
Make the relationship between tables, so as to ensure the accuracy of data! Add foreign key constraints when creating tables
Why foreign key constraints
-- establish db2 database
CREATE DATABASE db2;
-- use db2 database
USE db2;
-- establish user User t ...
Posted by sniperscope on Mon, 14 Feb 2022 09:55:10 +0100
Understand the principle of webpack hot update
catalogueWhat is HMRUsage scenarioConfigure to use HMRConfigure webpackParsing the contents of the file packaged by webpackConfigure HMRHMR principledebug server source codeSimple implementation of serverServer debugging stagedebug client source codeSimple implementation of clientClient debugging phaseproblemsummaryWhat is HMRHMR (Hot Module Re ...
Posted by matt.sisto on Mon, 14 Feb 2022 09:53:52 +0100
1008 circular right shift of array elements
Novice Xiaobai is here again. Write a blog to record his problem making process.
I find that blogging will make me more motivated to do questions. Now it's a holiday. I write about two or three questions every day. I hope I can stick to it after school starts. I don't say two or three questions every day. I wish I could stick to one question e ...
Posted by staggman on Mon, 14 Feb 2022 09:23:42 +0100