由于lua jit的lj_bc_tgets引起的性能问题

发布于 2025-02-02 03:31:11 字数 515 浏览 3 评论 0原文

我们当前使用kong作为API网关,将流量路由到我们的后端服务。 维护约3000条路线,其中大多数是Regex Route

最近,在连接到kong的几个API之后,我们经历了大量的CPU使用率,

以诊断问题,我们使用flame Graph在警报为时采样CPU触发,这是火焰图: “

从上图中,我怀疑lj_bc_tgets wase lj_bc_tgets是但是,问题的根本原因很少,除了lj_bc_tgets之外,几乎没有信息,此外,我们对lj_bc_tgets在屏幕后面的了解不多,有什么想法吗?

We currently using Kong as API Gateway, to route the traffic to our backend service.
About 3000 routes is maintained and most of them is regex route.

Recently, we experienced a significant increment of CPU usage after we several API connected to Kong

In order to diagnostic the issue, we use flame graph to sample the CPU usage when alarm was triggered, here is the flame graph:

From the graph above, I suspected that the lj_BC_TGETS was the underlying cause of problem ,however ,there is little information except lj_BC_TGETS ,moreover, we don't know much about lj_BC_TGETS behind the screen, any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文