redis导致服务器响应慢,redis高并发导致读写变慢(redis多线程)

package com.sinosoft.prpall.pubfun.redis;

import java.util.HashSet;

import java.util.Set;

import org.apache.log4j.Logger;

import com.sinosoft.sysframework.reference.AppConfig;

import com.sinosoft.utility.string.Str;

import edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean;

import redis.clients.jedis.Jedis;

import redis.clients.jedis.JedisPool;

import redis.clients.jedis.JedisPoolConfig;

import redis.clients.jedis.JedisSentinelPool;

/**

* Redis 工具类

* @author caspar

* https://blog.csdn.net/tuposky

*/

public class RedisUtil {

protected static Logger logger = Logger.getLogger(RedisUtil.class);

//redis服务器地址

private static String redisIP = AppConfig.get("Redis.SentinelServiceIP");

//redis服务器端口

private static int redisPort =

你可能感兴趣的:(redis导致服务器响应慢)