You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by hui li <yo...@apache.org> on 2022/07/21 07:51:30 UTC

[DISCUSS]Do we need to create a new subproject of the Apache APISIX for profiling

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

Re: [DISCUSS]Do we need to create a new subproject of the Apache APISIX for profiling

Posted by YuanSheng Wang <me...@apache.org>.
I will vote it too.

^_^


On Fri, Jul 22, 2022 at 10:40 AM Zexuan Luo <sp...@apache.org> wrote:

> > 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
>


-- 

*MembPhis*
My GitHub: https://github.com/membphis
Apache APISIX: https://github.com/apache/apisix

Re: [DISCUSS]Do we need to create a new subproject of the Apache APISIX for profiling

Posted by Jintao Zhang <zh...@apache.org>.
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 <sp...@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
>

Re: [DISCUSS]Do we need to create a new subproject of the Apache APISIX for profiling

Posted by Zexuan Luo <sp...@apache.org>.
> 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

Re: [DISCUSS]Do we need to create a new subproject of the Apache APISIX for profiling

Posted by Chao Zhang <to...@apache.org>.
Hi,

Vote +1 from me :)

Best regards
Chao Zhang

https://github.com/tokers

On Thu, Jul 21, 2022 at 3:51 PM hui li <yo...@apache.org> wrote:
>
> 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