Using redis transaction in SpringBoot

This article is based on springboot 2 X Transactions are often used in the development of relational databases. In fact, non relational databases, such as redis, also support transactions. This paper mainly discusses how to use redis transactions in SpringBoot. Please refer to the following for the relevant introduction of transactions: 0. Cau ...

Posted by pmcconaghy on Wed, 09 Mar 2022 13:21:01 +0100

Redis from zero to advanced knowledge summary

1, What is Redis Redis is an open source component based on memory data structure, which is used as database, cache and message agent Redis provides data structures such as string, hashes, lists, sets and sorted sets as Interval query, bitmap, overweight logarithm, spatial index, data stream Redis includes built-in replication, Lua scr ...

Posted by girlzz on Tue, 08 Mar 2022 01:00:31 +0100

Redis learning notes

NoSQL getting started overview MySQL database application history The beautiful era of stand-alone MySQL In the 1990s, the number of visits to a website was generally small, which could be easily handled with a single database. At that time, there were more static pages and less dynamic interactive websites. DAL: abbreviation of databa ...

Posted by nrerup on Mon, 07 Mar 2022 23:52:20 +0100

Linux server-side application installation

Install JDK Uninstall the JDK pre installed in the system. Linux comes with java, but it cannot be compiled without javac, so it needs to be uninstalled and reinstalled rpm -qa | grep openjdk Perform uninstall. Use -- nodeps to ignore dependencies during uninstall [root@localhost ~]# rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.161-2. ...

Posted by PHP-Editors.com on Mon, 07 Mar 2022 03:28:14 +0100

[redis series] redis learning 7. Details of redis configuration files you don't know

Detailed explanation of Redis configuration file Company When redis is started, it will read the configuration file redis conf 1k => 1000 bytes 1kb => 1024 bytes 1m => 1000000 bytes 1mb => 1024*1024 bytes 1g => 1000000000 bytes 1gb => 1024*1024*1024 bytes Units in redis are not case sensitive. For example, 1GB, 1GB and ...

Posted by marting on Sun, 06 Mar 2022 12:11:18 +0100

[redis series] redis learning 7. Details of redis configuration files you don't know

Detailed explanation of Redis configuration fileCompanyWhen redis is started, it will read the configuration file redis conf1k => 1000 bytes 1kb => 1024 bytes 1m => 1000000 bytes 1mb => 1024*1024 bytes 1g => 1000000000 bytes 1gb => 1024*1024*1024 bytesUnits in redis are not case sensitive. For example, 1GB, 1GB and 1GB all mea ...

Posted by erikwebb on Sun, 06 Mar 2022 11:52:32 +0100

Redis - detailed analysis

Redis 1. Know Redis 1.1 what is Redis Redis is stored in the form of key value, which is different from the traditional relational database It does not necessarily follow some basic requirements of traditional databases (non relational, distributed, open source, scalable) advantage: Highly concurrent data reading and writing (directly in mem ...

Posted by CyclopsCED on Sat, 05 Mar 2022 17:22:51 +0100

Redis cluster usage example

Today, I learned about the use of redis cluster. Here, I will record the problems encountered in the process 1, Environment construction (docker needs to be installed first) Here, docker will be used to deploy four redis instances (node1-3 as the primary node and node4 as the standby node of 1) Here, four redis instances are deployed on th ...

Posted by drag0n on Sat, 05 Mar 2022 16:34:21 +0100

Redis distributed lock Analysis & source code analysis

summary Distributed locking has always been a topic that needs to be focused after the emergence of distributed systems. When it comes to distributed systems, we have to think of distributed locks and distributed transactions. In the past single application scenarios, using the built-in lock of jvm can solve the thread safety problem, but ...

Posted by frans-jan on Sat, 05 Mar 2022 05:54:46 +0100

helm3 installation and redis deployment

Helm2's problem One of the main problems of Helm2 is that it needs to run a server in the k8s cluster, which needs to expose the tiller port to the outside world, which will lead to security risks. The tiller introduced in helm 2 is mainly because at that time k8s there was no RBAC mechanism, so the server tiller was introduced. Later k8s, the ...

Posted by Ben Cleary on Sat, 05 Mar 2022 02:32:22 +0100