Installation and use of redis

Redis Redis Command Reference Web Site: http://doc.redisfans.com/ Introduction to Redis Redis is completely open source, free of charge, complies with BSD protocol, and is a high-performance key-value database. Redis and other key - value caching products have three features: Redis supports dat ...

Posted by jbulaswad on Thu, 01 Aug 2019 23:20:36 -0700

[Redis5 Source Learning] Integer Set intset, 2019-04-18

GrapeAll videos: https://segmentfault.com/a/11... intset is a kind of data structure in Redis. It has the status of ziplist and dict. Definition of intset? Intset is one of the underlying implementations of Redis collections. When all the data added are integers, intset is used; otherwise dict is used. In particular, Redis converts the data st ...

Posted by eruiz1973 on Wed, 31 Jul 2019 20:33:48 -0700

Beauty of Algorithms and Data Structure - Jump Table

Beauty-Jump Table of Algorithms and Data Structure Understanding Jump Tables Jump Table Query Efficiency Memory consumption of jump tables Efficient dynamic insertion and deletion Jump table index dynamic update code implementation Answer opening The bottom level of binary lookup depends on the ra ...

Posted by solar_ninja on Wed, 31 Jul 2019 18:58:17 -0700

Use Redis bitmap to sign in public numbers on a microengine

First of all, business rules can be rewarded for first signing in and for two consecutive days can be rewarded for signing in. Because openid is used instead of user's uid So the key designed here is openid and the offset to determine whether the user checks in or not is calculated at a cheaper price ...

Posted by assessino on Wed, 31 Jul 2019 04:52:37 -0700

Consistency hash algorithm and java implementation

Typical application scenarios are: N servers provide caching services, need to load balance the server, distribute requests to each server on average, and each machine is responsible for 1/N of the service. The commonly used algorithm is to take the remainder of hash result (hash() mod N): for machine numbers from 0 to N-1, according to the cu ...

Posted by CookieDoh on Sat, 27 Jul 2019 21:40:04 -0700

Deep understanding of dependency injection, Singleton, Scoped, Transient in net core

http://www.mamicode.com/info-detail-2200461.html   Related articles: Deep understanding of dependency injection, Singleton, Scoped, Transient in net core (I) Deep understanding of dependency injection, Singleton, Scoped, Transient in net core (II) Deep understanding of dependency injection, Singleton, Scoped, Transient in net core (3) ...

Posted by cheesemunger on Sat, 27 Jul 2019 03:46:17 -0700

Spring Security OAuth2 uses Redis to store token key details

1.Spring Security OAuth2 stores token values in a variety of ways, all of which implement the TokenStore interface InMemoryTokenStore:token is stored in local memory JdbcTokenStore:token is stored in the database JwtTokenStore:token will not be stored in any media RedisTokenStore:token is stored in t ...

Posted by sublimenal on Fri, 26 Jul 2019 17:47:24 -0700

SpringBoot Basic Knowledge and Project Construction

Overview of SpringBoot background Springboot uses (conventions are greater than configurations). There are a lot of configurations in the project. In addition, some customary configurations are built in, which greatly reduces our workload. Spring boot makes it easy to create a spring framework-bas ...

Posted by Javizy on Thu, 25 Jul 2019 23:58:06 -0700

Gateway gateway learning summary

An overview of microservices: Micro-service gateway is a system! By exposing the gateway system of the micro-service, it is convenient for us to carry out relevant authentication, security control, log unified processing, and easy to monitor related functions! What are the technologies to implement the ...

Posted by tejama on Mon, 22 Jul 2019 03:02:49 -0700

think-queue 3.0 Practical Course: Creating a Timing Deduction System

Preface By the time of writing, ThinkPHP 6.0 had entered RC3. ThinkPHP 6.0 is expected to be released this autumn as the last or penultimate RC version before the official version, which means that ThinkPHP 6.0 is becoming more and more perfect and stable, and is a candidate version worth trying. As a result, the thought-queue extension, which ...

Posted by candle21428 on Sun, 21 Jul 2019 03:14:47 -0700