mysqld-bpf

By shuhaowu

Mysqld-bpf Alternatives

Similar projects and alternatives to mysqld-bpf

  • ebpfsnitch

    Linux Application Level Firewall based on eBPF and NFQUEUE.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better mysqld-bpf alternative or higher similarity.

mysqld-bpf reviews and mentions

Posts with mentions or reviews of mysqld-bpf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-02.
  • Notes on BPF and eBPF
    2 projects | news.ycombinator.com | 2 Jan 2022
    BPF is indeed a pretty interesting technology. As the knowledge about it becomes more widespread, I anticipate that we will unlock some new capabilities both in terms of tracing. Brendan Gregg's book (https://www.brendangregg.com/bpf-performance-tools-book.html) serves as a good intro to this, although you probably only need to read a small chunk of it as a lot of it is reference-book-style material.

    The author's mentioned that you can trace MySQL with USDT, which is a tracepoint inserted by the developer at select locations in the code. Unfortunately, this feature has been removed in MySQL 8.0. This makes it significantly more difficult to trace MySQL, although it's not impossible. I've done a proof of concept of this in this repo with uprobe[1], which indeed allow you to hook into any userspace function. This is not stable tho, as any MySQL upgrade risks incompatibilities, while USDT would be stable. My appeal to Oracle to re-add this functionality[2] has been unfortunately rejected, which I think is a mistake.

    [1]: https://github.com/shuhaowu/mysqld-bpf

    [2]: https://bugs.mysql.com/bug.php?id=105741

    Another thing that I've been recently thinking of is using BPF to validate programs written for real-time Linux (via PREEMPT_RT). To my understanding, one of the main thing to avoid is page faults [3]. With the proper BPF tracing scripts, I think we can validate that programs indeed avoids page faults in integration testing. I'm not sure if it is super useful yet, but as I'm trying to write a few RT programs, it's something that came to my mind.

    [3]: https://lwn.net/Articles/837019/

    In addition to tracing (so bpftrace-based/bcc-based tools), I've recently discovered that there there are:

    1. ebpfsnitch (https://github.com/harporoeder/ebpfsnitch): which is an application-level firewall without kernel modules.

    2. ebpf-traffic-monitor (https://source.android.com/devices/tech/datausage/ebpf-traff...): which appears to be using BPF to account for traffic for different apps on Android.

    There are apparently also use cases in the context of security, but I'm not familiar with it.

Stats

Basic mysqld-bpf repo stats
1
3
2.6
over 2 years ago

The primary programming language of mysqld-bpf is Python.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com