csredis
csredis copied to clipboard
Questions about using CSRedis.CSRedisClient
Hello, This redis access help class, I have a few questions, please help me answer: Question 1: The singleton pattern is recommended, what are the benefits? My application scenario is only used to read the data in redis. In the case of multi-threaded access, will the use of singleton cause blocking, that is, each time the data is accessed serially, which reduces the access efficiency? Question 2: Every time a redis access instance object is created, does it mean that a new socket connection is created, and when is it destroyed? Question 3: What is the relationship between socket link and connection pool? thanks
see #460