由于lua jit的lj_bc_tgets引起的性能问题
我们当前使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论