[redis5 source code analysis] analysis of dump of redis command
Grape
Official documents
DUMP keySerialize a given key and return the serialized value, which can be deserialized to the Redis key using the RESTORE command.The values generated by serialization have the following characteristics:
It has a 64-bit checksum for error detection, and RESTORE checks the checksum before deserializing it.
The encodi ...
Posted by shinyo on Thu, 19 Sep 2019 20:31:49 -0700
Solve thoroughly the problems of time conversion and serialization in Spring mvc
Pain spot
When developing with Spring mvc, we often encounter that the time strings in some format passed from the front end can not be directly received with the specific type parameters under the java.time package, a new feature of Java 8. We use encapsulation types with java.time
Parametric reception also reports deserialization problems, a ...
Posted by jwoo on Wed, 18 Sep 2019 03:55:11 -0700
Redis Common Operations
Redis introduction
Redis is a fully open source, free, high-performance Key-Value database with the following characteristics:
Redis supports data persistence, saves data in memory to disk, and reboots can be loaded again for use.
Redis not only supports simple Key-Value type quantitative data, but also provides storage of list, set, zset (ord ...
Posted by thepip3r on Tue, 17 Sep 2019 00:43:25 -0700
Spring Security Analysis: Development and Principle Analysis of Single Sign-on (SSO) Based on JWT
Spring Security Analysis (6) - Development and Principle Analysis of Single Sign-on (SSO) Based on JWT
When learning Spring Cloud, when encountering the related content of authorized service oauth, he always knows half of it, so he decided to study and collate the content, principle and design of Spring Security, Spring Security Oauth2 and othe ...
Posted by nootkan on Mon, 16 Sep 2019 04:13:25 -0700
12. Renewal of Registered Directory Introduced by Services and Connection of Services
The last section talks about the configuration and parameter subscription of service introduction. After parameter subscription, the consumer obtains the provider url, the configurer url, and the routing URL under the corresponding interface classifi ...
Posted by rtown on Mon, 16 Sep 2019 01:24:09 -0700
SpringBoot implements distributed session
Implement distributed session
Implement redis-based distributed session
principle
Replace the Session implementation class obtained from request based on HttpRequestWapper by providing a Session implementation class that gets data from redis
rely on
Introduce spring-boot-starter-data-redis, spring-session-data-redis; Introducing kr ...
Posted by frosero on Sun, 15 Sep 2019 19:15:18 -0700
Analysis of connection pool of golng mysql Library
Analysis of connection pool of golng mysql Library
0x1 background
Goang's protocol is useful, but sometimes the bottleneck is not in the language, but in the data sources behind it, such as mysql, redis, etc. When a backend serves many requests, the language can hold, but
mysql produces errors, such as too many connections, too many time_wait, ...
Posted by Dathremar on Sun, 15 Sep 2019 01:04:35 -0700
Redis source analysis: master-slave replication
Original Link: https://my.oschina.net/zipu888/blog/549581
Source Version: 2.4.4 Update 2014.3.17, base 2.8.7
The master-slave replication of redis is simple but powerful with the foll ...
Posted by ragefu on Fri, 13 Sep 2019 21:40:00 -0700
Problems encountered in the construction of redis master-slave replication and two other methods of redis replication
The problems that redis will encounter when building: 1. On the same machine, you need to use unused ports to achieve master-slave replication. When you set up IP from the slave server of the loop network, you also use the loop network. If you im ...
Posted by UQ13A on Fri, 13 Sep 2019 05:47:26 -0700
Introduction to Redis and Simple Operations
Introduction to Redis
Redis is a key-value-oriented memory database for data types, which can meet our needs for fast reading and writing of massive data.
Is a nosql non-relational database
Redis keys can only be string-type values that can be of ...
Posted by billynastie on Mon, 09 Sep 2019 06:05:01 -0700