apache / apache/servicecomb-java-chassis

服务启动时,有什么机制能控制先不注入流量,等服务配置加载初始化都完成后,再注入流量吗?

Open
#3,174 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

现在主要是在一种动态扩容场景,比如A调用B,现在需要增加一个B服务的实例B1,由于B1启动时,需要拉取很多配置信息,需要耗费一定的时长,若这个时候A来调用B1,则会出现请求调用失败,想看看ServiceComb有没有机制来避免这种问题,比如B1启动完成时,再通知服务中心A可以调用B1了。

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing service startup, configuration loading, and service-center registration for a newly added instance; define how readiness should prevent traffic before initialization completes. Done means a B1 instance is not discoverable or callable until its configuration is loaded and startup is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.