当前位置:网站首页>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
边栏推荐
- Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward
- 对业务的一些思考
- 【数据库原理及应用教程(第4版|微课版)陈志泊】【SQLServer2012综合练习】
- Enter the length of three sides of the triangle through the user, and calculate the area of the triangle, where the length is a real number
- I'm too lazy to write more than one character
- 最新版盲盒商城thinkphp+uniapp
- The upward and downward transformation of polymorphism
- 2022-01-27 research on the minimum number of redis partitions
- Glide 4.6.1 API initial
- SQL learning notes (I)
猜你喜欢

【数据库原理及应用教程(第4版|微课版)陈志泊】【SQLServer2012综合练习】

Four problems and isolation level of MySQL concurrency

Alibaba is bigger than sending SMS (user microservice - message microservice)

Low code platform international multilingual (I18N) technical solution

Dojo tutorials:getting started with deferrals source code and example execution summary

initial、inherit、unset、revert和all的区别

Xctf mobile--rememberother problem solving

(latest version) WiFi distribution multi format + installation framework
![[review questions of database principles]](/img/c3/81d192a40bcc4f5d72fcbe76c708bb.png)
[review questions of database principles]

电压环对 PFC 系统性能影响分析
随机推荐
Do you feel like you've learned something and forgotten it?
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - cases without asynchronous
studio All flavors must now belong to a named flavor dimension. Learn more
Pytext training times error: typeerror:__ init__ () got an unexpected keyword argument 'serialized_ options'
[judgment question] [short answer question] [Database Principle]
启用MemCached的SASL认证
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - using asynchronous
GCN thinking - word2vec directly calculates text classification
自抗扰控制器七-二阶 LADRC-PLL 结构设计
Redhat5 installing socket5 proxy server
When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
剑指 Offer 11. 旋转数组的最小数字
Idea packages the web project into a war package and deploys it to the server to run
Integer case study of packaging
Dojo tutorials:getting started with deferrals source code and example execution summary
Everything comes to him who waits
ImportError: No module named examples. tutorials. mnist
【数据挖掘复习题】
[exercise 6] [Database Principle]
An example of newtonjason