apache / apache/brpc

brpc添加redis sentinel支持

Open
#2,188 7 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

brpc支持从redis sentinel获取redis server, 提高可用性
目前想到的是新增 NamingService, 可以是订阅频道的方式, 也可以是周期性获取的方式, 但是sentinel一般是ip/url:port的形式提供, 这样好像无法传入load_balancer, 同时也就无法使用naming_service? 我看只有有load_balancer时才用naming_service, 好像陷入了矛盾

Contributor guide

Open the contributing guide

Research direction

Start by tracing brpc's NamingService and load_balancer integration, which the issue identifies as the central constraint. Compare the proposed subscription and periodic-fetch approaches for Redis Sentinel; done means Sentinel endpoints can provide a usable Redis server while fitting brpc's naming and load-balancing model.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, redis
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.