当前位置:网站首页>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
边栏推荐
- A large select drop-down box, village in Chaoyang District
- [ArcGIS user defined script tool] vector file generates expanded rectangular face elements
- 剑指 Offer 16. 数值的整数次方
- 【Colab】【使用外部数据的7种方法】
- 剑指 Offer 15. 二进制中1的个数
- C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep271
- 【习题七】【数据库原理】
- Xctf mobile--app2 problem solving
- The solution to change the USB flash disk into a space of only 2m
- Swift bit operation exercise
猜你喜欢
Xctf mobile--rememberother problem solving
Analysis of the influence of voltage loop on PFC system performance
GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
【数据库原理及应用教程(第4版|微课版)陈志泊】【SQLServer2012综合练习】
Public and private account sending prompt information (user microservice -- message microservice)
When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number
Application of ncnn neural network computing framework in orange school orangepi 3 lts development board
并网-低电压穿越与孤岛并存分析
最新版抽奖盲盒运营版
随机推荐
initial、inherit、unset、revert和all的区别
Brief introduction to mvcc
Swift return type is a function of function
SLF4J 日志门面
[network counting] Chapter 3 data link layer (2) flow control and reliable transmission, stop waiting protocol, backward n frame protocol (GBN), selective retransmission protocol (SR)
context. Getexternalfilesdir() is compared with the returned path
Keep learning swift
Summary of error prone knowledge points: Calculation of define s (x) 3*x*x+1.
【数据库原理及应用教程(第4版|微课版)陈志泊】【第四章习题】
Quickly learn member inner classes and local inner classes
The upward and downward transformation of polymorphism
Enable SASL authentication for memcached
高效能人士的七个习惯
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
Kung Fu pays off, and learning is done
Idea packages the web project into a war package and deploys it to the server to run
(最新版) Wifi分销多开版+安装框架
It feels great to know you learned something, isn‘t it?
【习题七】【数据库原理】
Quick learning 1.8 front and rear interfaces