Decentralized open source social platform – misskey
I can't bear to see the leaders deploy mammoths. In fact, I also want to have my own district centered social platform... hmmm, but mammoths eat too much memory. Is there a better source program? So I found this high color value and low occupancy program misskey on github
##Program int ...
Posted by saltwater on Sun, 26 Sep 2021 12:10:45 +0200
Introduction to Codis
Codis is a distributed Redis solution. For upper tier applications, there is no obvious difference between connecting to the Codis Proxy and connecting to the native Redis Server (unsupported command list). Upper tier applications can be used like stand-alone Redis. The lower tier of Codis will handle r ...
Posted by rulinus on Wed, 22 Sep 2021 15:26:29 +0200
For example, hot data cache (such as reports and star cheating), object cache and full page cache can improve the access data of hot data.
2. Data sharing distributed
String type, because Redis is a distributed independent service that can be shared among multiple applications
For example: distributed Session
Posted by KoshNaranek on Wed, 22 Sep 2021 14:12:56 +0200
Deeply understand the underlying data structure of Redis List queue
CentOS 7 installs redis6.25 in combination with the docker image configuration method (redis.conf file is attached)
list underlying data structure:
linkedList linked list Zip list zip list quickList
Linked list: LinkedList
The two-way linked list of the leading nod ...
Posted by petersro on Mon, 20 Sep 2021 12:32:35 +0200
The reason why you need to create a media class to store tokens is that the filter interface to be used later.
1, Create ThreadLocalToken class
Purpose of creating ThreadLocalToken class:
Create the ThreadLocalToken class in com.example.emos.wx.config.shiro. Write the following code:
import org.sp ...
Posted by jmarcv on Sun, 19 Sep 2021 07:12:10 +0200
In an App login scenario, there are two important information: account and device number
The device number identifies an installed App and is generated when the App is installed. If it is uninstalled and reinstalled, a new device number will be generated.
Suppose there is a demand, it is necessary to check whether the active account and equip ...
Posted by provision on Fri, 10 Sep 2021 11:32:31 +0200
1.redis client tool jedis
1.1 Introduction and preparation of jedis
Introduction to 1.1.1 jedis
Jedis is a client in Java that operates on redis, similar to accessing the mysql database through jdbc.
To implement jedis in java's mevan, you need to import the following dependencies:
Posted by btubalinal on Mon, 06 Sep 2021 20:18:42 +0200
This paper mainly introduces the design of redis high availability scheme using official sentinel.
Sentinel is a highly available solution officially provided by redis for clusters. In actual projects, sentinel can be used for automatic redis failover to reduce the workload of manual intervention.
In a ...
Posted by psychowolvesbane on Mon, 06 Sep 2021 03:23:37 +0200
1. First two files
<1> Tasks (general name fixed)
from celery import Celery
# app = Celery('tasks')
app = Celery('celery_name',
broker='redis://127.0.0.1:6379 / 2 ') # configure the backend and broker of the celery
# app.config_from_object('tasks') #Co ...
Posted by Robin M on Sat, 04 Sep 2021 19:14:29 +0200
spring has defined Cache and CacheManager interfaces since 3.1 to unify different caching technologies. It also supports the use of JCache(JSR-107) annotations to simplify our development The implementation of Cache interface includes RedisCache, EhCacheCache, ConcurrentMapCache, etc
Each time a method requiring caching is called, spr ...
Posted by hitman6003 on Wed, 01 Sep 2021 20:14:23 +0200