I also do not consider websites or smartphone apps to be serious software, despite the huge amount of work that happens to be done there.
You know the rule, 99% of everything is crud.
You know the rule, 99% of everything is crud.
Rewriting it in C++, leveraging the platform-specific APIs for disk I/O (sync_file_range on Linux, not even wrapped by a Python module) would yield not only much better performance, but also much higher reliability.
As it is this daemon is a recipe for page thrashing. Not that I would expect a Python dev to actually know how a kernel works.
You ship C code which is extensively tested by Python code.
Python is simple to use, got good C interop and the performance of your test frameworks hardly matters.