Centos installs docker and uses docker to install mysql and redis

1, Install Docker Official installation documentation: https://docs.docker.com/engine/install/centos/ Refer to the official documentation for a simplified installation process: Step 1: uninstall (ensure that docker is not included in the system) sudo yum remove docker \ docker-client \ docker-cUTF-8...

Posted by raytri on Tue, 12 Oct 2021 12:15:15 +0530

Interviewer: why does Redis implement SortedSet using jump table instead of red black tree?

What is a jump watch The jump table was invented by William Pugh. In his paper Skip lists: a probabilistic alternative to balanced trees, he introduced the data structure, insert and delete operations of the jump table in detail. The paper introduces the jump table as follows: Skip lists are a UTF-8...

Posted by andrin on Tue, 12 Oct 2021 23:33:24 +0530

Distributed lock learning

summary Distributed lock is a way to control synchronous access to shared resources between distributed systems. In distributed systems, it is often necessary to coordinate their actions. If different systems or different hosts of the same system share one or a group of resources, they often neUTF-8...

Posted by dgny06 on Wed, 13 Oct 2021 03:42:29 +0530

redis analysis - overview of dynamic memory fragment recovery

Dynamic recovery of memory fragments In redis4, a new feature of dynamic memory fragment recovery is added. This feature supports dynamic memory fragment recovery. The main function of this feature is to run redis to compress some small space and unused free space, so as to allow memory recoverUTF-8...

Posted by emmbec on Wed, 13 Oct 2021 08:18:36 +0530

Advanced use of Redis - Redis cluster

Redis cluster is an installation facility that can share data among multiple redis nodes. The Redis cluster does not support Redis commands that need to process multiple keys at the same time, because executing these commands requires moving data between multiple Redis nodes, and under high loaUTF-8...

Posted by FormatteD_C on Thu, 14 Oct 2021 05:50:49 +0530

Setting up linux environment and deploying java project

linux build environment If you want to deploy your project in a Linux server, you must first have a server. You can buy services from Alibaba cloud, Tencent cloud or other clouds, or build a Linux server using a VM virtual machine. I am currently using CentOS / 8.4 x86_ The 64 (64bit) server isUTF-8...

Posted by cdxrevvved on Thu, 14 Oct 2021 07:47:40 +0530

windows environment uses InnoSetup to package and deploy spring cloud microservice project (JDK + MySQL + redis + Mini + Nacos + nginx)

preface The springcloud microservice project requires many components. It is quite convenient for us to deploy using docker in the Linux environment. However, in view of the fact that docker is not very friendly to the windows environment, the traditional deployment method needs to install manUTF-8...

Posted by skot on Thu, 14 Oct 2021 11:43:17 +0530

Crazy Redis learning notes

Nosql Nosql = Not Only SQL It generally refers to non relational databases. With the birth of web2.0 Internet, traditional relational databases are difficult to deal with web2.0. In particular, large-scale and highly concurrent communities have exposed many insurmountable problems. Nosql is devUTF-8...

Posted by mkarabulut on Fri, 15 Oct 2021 09:23:41 +0530

SpringBoot+Redis: simulate 10w people, second kill and grab orders!

SpringBoot+Redis: simulate 10w people, second kill and grab orders! Note: article is taken in official account: Architect column. This article mainly explains redis Distributed lock, which is almost necessary for interviews in major factories, is used in combination with the scenario of simulatUTF-8...

Posted by mccdave on Mon, 18 Oct 2021 06:52:24 +0530

redisTemplate distributed lock evolution and redismission distributed lock implementation

Source: blog.csdn.net/zhangkaixuan456 /article/details/110679617 Evolution of distributed locks Basic principles We can go to a place to "occupy the pit" at the same time. If we occupy it, we will execute logic. Otherwise, you must wait until the lock is released. "Zhankeng" can go to redis, daUTF-8...

Posted by cent on Mon, 18 Oct 2021 10:43:45 +0530