Hi community! My name is YuSheng Zheng and I am an Open Source Promotion Plan 2022 student working with hui li(yousa). This Apache APISIX Profile tool is a OSPP project and the initial content will be developed by us.
Currently we already have a prove-of-concept demo repo for this tool, which can be the initial content for this project in the future: https://github.com/yunwei37/nginx-lua-ebpf-toolkit This POC is written in C/C++ with libbpf, and can be used as a binary cmd tool run on any supported Kernel versions. More details about how it works can be found in this POC repo. I would like to hear comments and suggestions from the community. Thanks very much! Jintao Zhang <zhangjin...@apache.org> ??2022??7??23??(??????) ????11:17?????? > Hi, hui > > I'm also looking forward to see such a project. > > But I have a few questions: > > * Where did the initial content for this project come from? > * Who will develop the initial content for this project? > > Also, from the description I don't see the relevant design of this project, > if there is more detailed information, I will upvote +1 > > Zexuan Luo <spacewan...@apache.org> ??2022??7??22?????? 10:40?????? > > > Do we need to create a new subproject of the Apache APISIX for profiling > > Yes, I will vote for it. I am looking forward to such a project! > > hui li <yo...@apache.org> ??2022??7??21?????? 15:51?????? > > > > The current Apache APISIX Profile tool is based on systemtap, which can > > draw flame maps for Apache APISIX, but the original project is no longer > > continuously maintained, and Systemtap is not friendly to new versions of > > the kernel support, the tool is more complicated to use (you need to > > install systemtap, debug symbol, etc.) > > > > So I would like to discuss that, 'Do we need to create a new subproject > of > > the Apache APISIX for profiling?' > > > > Considering the functionality of the project, I think it is more > > appropriate to call the subproject 'apisix-profile'. > > > > Subroject Function List: > > 1. Use eBPF to capture and parse lua call stack information in Apache > > APISIX, summarize it and generate cpu flame graphs. > > 2. Use eBPF to capture and parse both C and Lua mixed call stack > > information, summarize it and generate cpu flame graph. > > 3. Support fetching Apache APISIX processes running in Docker > > 4. Support to get Apache APISIX Openresty luajit 32/luajit 64 mode ></yo...@apache.org></spacewan...@apache.org></zhangjin...@apache.org>