We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
据我所知,b站已有一套开源的go微服务框架kratos,里面的功能也比较完备。 请问,为何不使用kratos这套框架,而要重新造个“轮子”呢? 期待答复
The text was updated successfully, but these errors were encountered:
你这是引战帖呀~
首先,你需阅读《sniper 的前世今生》,了解 sniper 的设计背景。然后,你还得根据 README 完成一个 demo。最后,你还得使用 kratos 完成一个 demo。到此,你自己才会有一个直观的感受。
sniper 功能太少,少到你用不了一个下午就能完全吃透。所以,sniper 可能都算不上一个框架,而是一种思路,是一个原型。你可以对 sniper 做任何改造,你甚至还能在完全消化 sniper 的基础上设计自己的框架。
最后说一下服务治理的问题。kratos 造了很多服务治理相关的轮子。我们认为,这些功能应该由 Envoy 等中间件完成(我们也在生产环境引入了 Envoy)。不然只有两种结果,一是每种语言各造一套,一是强制所有人都用 Go 语言。这都不是我们想要的结果。
Sorry, something went wrong.
No branches or pull requests
据我所知,b站已有一套开源的go微服务框架kratos,里面的功能也比较完备。
请问,为何不使用kratos这套框架,而要重新造个“轮子”呢?
期待答复
The text was updated successfully, but these errors were encountered: