Redis Cluster Testing - java

Another article on cluster environment construction https://blog.csdn.net/dongzhongyan/article/details/100141898 Connection pool tool class, which uses Redis connection pool internally, can be seen from the source code that when the cluster operates data, it gets the connection through Redis connection ...

Posted on Fri, 04 Oct 2019 20:04:48 -0700 by blackcell

Redis from Cognitive Installation to Implementing CURD

Redis knows nothing but knows a little. Redis is an open source, support network, memory based and optional persistence key value pair storage database written by ANSI C. Simply put, Redis is a high-performance NOS QL database What is NoSQL? The MySQL database we learned before is a typical SQL database, that is, the traditional relational dat ...

Posted on Fri, 04 Oct 2019 13:17:19 -0700 by jroodman

Jedis in Redis

jedis is the Redis client tool jar Use the non-clustered version of the sample code: pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> ...

Posted on Tue, 01 Oct 2019 19:57:50 -0700 by thecard

Implementation of Principle Source Parsing with @Configuration Properties Annotation in Spring Boot

Recommendation of Open Source Projects Pepper Metrics is an open source tool developed by me and my colleagues( https://github.com/zrbcool/pepper-metrics) By collecting the running performance statistics of jedis/mybatis/httpservlet/dubbo/motan, and exposing them to prometheus and other mainstream time series database compatible data, it shows ...

Posted on Wed, 25 Sep 2019 20:34:14 -0700 by LuAn

The Installation of redis and Its Cluster and the Use of Jedis

Introduction of 1 redis NoSql database is a database solution to solve the problems of high concurrency, high scalability (cluster), high availability (not downtime), and large data storage. NoSql database: full name not only sql, non-relational database. It can be a good supplement to relational data ...

Posted on Thu, 19 Sep 2019 03:27:39 -0700 by SwiftlyTilting

Redis database usage tutorial

1. Introduction to Redis 1.1 concept Redis is developed in C language. redis is a memory-based database (data is stored in memory). data in redis is stored in the form of KEY-VALUE, and there are abundant data types in redis. In distributed clust ...

Posted on Wed, 18 Sep 2019 02:08:07 -0700 by Strings

Use scan instead of keys in RedisTemplate

Keys * This command should never be misused in production environments.Especially in the case of large data.Keys can cause Redis locks and increase Redis CPU usage.Many companies prohibit this order You can use the scan command when you need to scan keys to match your own keys Helper implementation of scan operation import java.io.IOException; ...

Posted on Thu, 29 Aug 2019 19:13:24 -0700 by sONOCOOLO

Analysis of Redis Cache Penetration, Cache Avalanche and redis Concurrency

It is common to use redis as a cache, but there may be a series of problems after using redis, especially when the amount of data is large. Some classical problems are as follows: (1) Data consistency between caches and databases Distributed environments (not to mention stand-alone) are very prone ...

Posted on Wed, 14 Aug 2019 02:24:21 -0700 by Rodis

Redis Cluster Data Migration Single Instance Scheme

Catalog Preface install Configuration file changes Start migrating Preface There are many methods for synchronous migration of Redis cluster, such as redis-port,redis-migrate-tool and other tools. This paper mainly talks about the migration of CentOS from cluster to single instance through redis ...

Posted on Thu, 01 Aug 2019 23:13:15 -0700 by raghavan20

[Redis] Java Redis Tool Class

I won't tell you what Redis is. (Tool classes written a month ago, have been forgotten to share, is a relatively complete Java-Redis tool class) Go straight to the code. The code for configuring Redis in spring is given first. When you use other classes, just use annotations to inject automatically. redis.properties ##Access address ...

Posted on Sat, 29 Jun 2019 12:42:47 -0700 by possiblyB9