lablup / lablup/backend.ai

Add systemd notify helper module to common

Open
#254 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Let's add a new module that wraps the systemd's notification channel.

References:

- Python wrappers\* https://github.com/bb4242/sdnotify
- https://github.com/stigok/sd-notify/blob/master/sd_notify.py
- We need to rewrite as an asyncio version.

- https://www.freedesktop.org/software/systemd/man/sd_notify.html# - detailed functionality documentation
We could use it to provide detailed status information to systemd and potentially the new watcher framework (OP#1058).Applying of the new module will be tracked with new issues.

JIRA Issue: BA-293

Contributor guide

Open the contributing guide

Research direction

Start in the repository's common package and read the linked sdnotify and sd-notify Python wrappers alongside the systemd sd_notify documentation. Implement the requested asyncio-based notification module, with detailed status reporting as the target behavior; follow-up application work is explicitly tracked separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.