Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

钩子-解决循环依赖 #41

Open
AnsonCode opened this issue Jan 1, 2024 · 0 comments
Open

钩子-解决循环依赖 #41

AnsonCode opened this issue Jan 1, 2024 · 0 comments

Comments

@AnsonCode
Copy link
Contributor

Fireboom服务和钩子服务是两个独立服务。

  • 钩子服务的启动依赖于Fireboom先生成代码。
  • FIreboom服务又依赖钩子服务的正常启动。

因此,两个服务间经常会出现循环依赖的情况,导致开发体验极差。

本次优化,采用钩子主动上报心跳的方式来解决循环依赖,即钩子服务上线后主动通知Fireboom服务。

该机制极大的提升了Fireboom服务的稳定性!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant