Uplift your Linux systems programming skills with systemd and D-Bus Practical examples and best pra…

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024
  • Uplift your Linux systems programming skills with systemd and D-Bus Practical examples and best practices on how to leverage systemd and D-Bus in Go
    by Leonid Vasilyev
    At: FOSDEM 2020
    video.fosdem.o...
    Systemd is a de-facto standard process manager in all mainstream Linux distributions for almost a decade.
    D-Bus is most widely used inter-process communication on a local host. It's used in many core apps on Linux Desktop.
    Yet both systemd and D-Bus are undervalued.
    Very often, programs that are only intended to run on Linux attempt to re-implement (with bugs) what systemd and D-Bus already provide
    (for example: watchdog function, reliable process termination, notifying another program about some event, coordination between multiple processes).
    The goal of this talk is to shift perspective on systemd and D-Bus (using concrete practical examples in Go),
    and show how basic building block these systems provide can be re-used in software you write for modern Linux system.
    This is an exploratory talk. Then intent is to look at systemd and D-Bus from a different angle.
    Most of current tutorials about systemd focused on operating a service like apache, nginx or redis.
    D-Bus tutorials are very abstract, basic and lack any concrete useful use-cases.
    I plan to present few recent additions to systemd, such as portable services and resource control.
    As well as re-introduce few existing concepts, like sd-notify, watchdogs and transient units.
    On D-Bus I plan to show how to use bus abstraction and few neat features,
    like passing file descriptors and receiving notifications.
    The focus is on how to not re-invent things that systemd and D-Bus do much better.
    Examples are given as a few simple Golang programs, with full source available on ❮a href="github.com/lvs..."❯github❮/a❯.
    The indented audience is anyone who write and operate Go code on Linux.
    Preferred experience of the audience: basic knowledge of Linux and Golang, familiarity with systemd and D-Bus concepts would be useful as well.
    Room: UB2.252A (Lameere)
    Scheduled start: 2020-02-02 13:30:00

ความคิดเห็น • 11

  • @catch.2022
    @catch.2022 3 ปีที่แล้ว +25

    Nice intro to DBUS. Note to viewers - The PPT is shown in full screen from the 5 minute mark onwards.

  • @MrSc1entist
    @MrSc1entist 3 ปีที่แล้ว +18

    Can you please put the slides on the large screen... there's absolutely no chance that it's readable on the small thingy, that's where the speaker belongs, not the content

    • @reeldeelz2940
      @reeldeelz2940 3 ปีที่แล้ว +10

      Did you watch past 5 minutes? the slides are placed on large screen after 04:45 .. geez

    • @FluidITGuy
      @FluidITGuy 3 ปีที่แล้ว

      @@reeldeelz2940 IKR?

  • @dhawaljoshi8392
    @dhawaljoshi8392 3 ปีที่แล้ว +17

    The video snippet should be swapped

  • @ami6packs
    @ami6packs 2 ปีที่แล้ว +1

    Excellent

  • @oyinboman
    @oyinboman 3 ปีที่แล้ว +4

    dbus looks way less cool than I had expected lol

  • @nirjharjajodia7169
    @nirjharjajodia7169 3 ปีที่แล้ว

    Very junior photographer.

    • @estanforth6754
      @estanforth6754 2 ปีที่แล้ว

      what exactly do you mean. gopher is right in centre frame. no problems there.

  • @Taklsdjw093
    @Taklsdjw093 3 ปีที่แล้ว +2

    How old are this? Pre covid?

    • @rdius4822
      @rdius4822 3 ปีที่แล้ว +1

      The date is given at the beginning of the video. This was held on 2nd February 2020.