当前位置:网站首页>2022-01-27 redis cluster cluster proxy predixy analysis
2022-01-27 redis cluster cluster proxy predixy analysis
2022-07-03 12:55:00 【a tracer】
Catalog
redis The selection basis of cluster agent :
Abstract :
in the light of redis-cluster The front-end agent of the cluster , Explain the reason for choosing this component
redis The selection basis of cluster agent :
- Stability has been verified by other companies in the industry , Mature open source components
- The performance test data meets the requirements ; TODO: The performance requirement data is ?
- Support relatively more redis command
- Batch key operation , Basic mset/mget
- Other batch commands
- Lightweight , Easy to integrate into the cloud platform , And make function customization
predixy explain :
Code address : https://github.com/joyieldInc/predixy
explain : https://github.com/joyieldInc/predixy/blob/1.0.5/README_CN.md
Support command list : https://github.com/joyieldInc/predixy/blob/1.0.5/src/Command.h
- Different cluster modes on the back end , There are differences in command support
Performance test data : https://github.com/joyieldInc/predixy/blob/1.0.5/doc/bench/redis/benchmark_with_redis_CN.md
Industry usage :
- redis The official recommendation of cluster agent : Redis
- Xiaomi cloud redis Use : millet Redis Of Kubernetes Containerized deployment practices - DockOne.io
Fault condition :
- All static in the configuration redis All nodes are offline , Will lead to predixy Agent not available
characteristic :
+ High performance and lightweight + Multithreading support + Multi platform support :Linux、OSX、BSD、Windows([Cygwin](http://www.cygwin.com/)) + Support Redis Sentinel, One or more groups can be configured redis + Support Redis Cluster + Support redis Blocking command , Include blpop、brpop、brpoplpush + Support scan command , Whether it's single redis There are still more than one. redis All instances support + many key Command support : mset/msetnx/mget/del/unlink/touch/exists + Support redis Multiple databases , You can use select command + Support transactions , Currently limited to Redis Sentinel Place an order redis Group available + Support script , Including orders :script load、eval、evalsha + Support publish subscribe mechanism , That is to say Pub/Sub Series of commands + Multi data center support , Read write separation support + Extended AUTH command , Powerful reading 、 Write 、 Management authority control mechanism , Healthy space restriction mechanism + Logs can be sampled and output by level , Asynchronous logging prevents threads from being io Blocking + Log files can be sorted by time 、 Automatic size segmentation + Rich statistical information , Include CPU、 Memory 、 request 、 Response and other information + Delay monitoring information , You can see the overall delay , Sub back end redis Instance delay |
predixy Deployment way :
- because proxy No state , Multi node deployment proxy colony
- proxy It is recommended to enable multithreading , The number of threads is set to ?
- proxy Cluster high availability solution , Existing miniSLB
- predixy Static configured in redis node , At least one must survive , Otherwise, it will lead to predixy Unavailable
边栏推荐
- [judgment question] [short answer question] [Database Principle]
- Huffman coding experiment report
- 【数据库原理及应用教程(第4版|微课版)陈志泊】【第三章习题】
- Xctf mobile--app1 problem solving
- How to get user location in wechat applet?
- Create a dojo progress bar programmatically: Dojo ProgressBar
- 2022-01-27 use liquibase to manage MySQL execution version
- Harmonic current detection based on synchronous coordinate transformation
- SSH登录服务器发送提醒
- Xctf mobile--rememberother problem solving
猜你喜欢
如何在微信小程序中获取用户位置?
Analysis of the influence of voltage loop on PFC system performance
并网-低电压穿越与孤岛并存分析
Analysis of a music player Login Protocol
【综合题】【数据库原理】
01 three solutions to knapsack problem (greedy dynamic programming branch gauge)
Solve the problem of VI opening files with ^m at the end
Xctf mobile--app1 problem solving
Low code platform international multilingual (I18N) technical solution
Glide question you cannot start a load for a destroyed activity
随机推荐
Ten workplace rules
01 three solutions to knapsack problem (greedy dynamic programming branch gauge)
[ArcGIS user defined script tool] vector file generates expanded rectangular face elements
Sword finger offer14 the easiest way to cut rope
启用MemCached的SASL认证
An example of newtonjason
GCN thinking - word2vec directly calculates text classification
Nodejs+express+mysql realizes login function (including verification code)
CVPR 2022 图像恢复论文
2022-01-27 research on the minimum number of redis partitions
Sqoop1.4.4原生增量导入特性探秘
Xctf mobile--app2 problem solving
Project video based on Linu development
Ali & ant self developed IDE
C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep268
Node.js: express + MySQL的使用
【習題五】【數據庫原理】
剑指 Offer 15. 二进制中1的个数
Grid connection - Analysis of low voltage ride through and island coexistence
Social community forum app ultra-high appearance UI interface