Skip to content
New issue

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

Add a "Good practice" section #8

Open
ScriptSathi opened this issue Feb 18, 2024 · 2 comments
Open

Add a "Good practice" section #8

ScriptSathi opened this issue Feb 18, 2024 · 2 comments

Comments

@ScriptSathi
Copy link

ScriptSathi commented Feb 18, 2024

Hello ! Thanks a lot for this documentation journey

I think it could be awesome to have a dedicated page(s) about all the good practices on developping eBPF programs.

For exemple :

  • Compilation good practice (the Tetragon way using clang or bpf2go
  • Tailcall usage (like handling recursivity if possible)
  • What's the best way to deal with vmlinux file or libbpf in a project
@dylandreimerink
Copy link
Collaborator

I would love to have that, but how do we actually derive these good practices? Normally these are the product of lots of opinions and then picking out the common wisdom. Can we come up with some sort of plan so this page doesn't get an edit war over time?

@ScriptSathi
Copy link
Author

I have no idea how it is usually done, but I believe there is two (not too hardcore) way of doing that.

  • Isovalent or any major eBPF company suggest its own good practices definition and let it open to suggestion by the community to initiate this.
  • Let any member of the community write something about one single good practice for him and why (for exemple : eBPF program architectural best practices), based on their experience. Then submit it for debate. (using discussion tab maybe ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants