Suitability of Python for daemon processes

Ben Boeckel MathStuf at gmail.com
Sun Oct 25 22:14:14 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I am working on a project designed to mirror large, changing archives of
software in a manner that ensures data integrity and atomic updates using a
peer-to-peer protocol.

My team and I would like to design this software such that it provides a
suitable replacement for rsync.  As Fedora is among the leading
distributions, I would like to solicit your opinions on the implementation. 
We have designed much of the architecture, but have not implemented anything
yet.  One issue we wish to address currently is that of interpreted vs.
compiled languages.

My team and I would like to know whether the community would be accepting of
such a project (which includes a daemon) if it were written in Python rather
than C or C++.  If so, it would greatly simplify the implementation and
allow it to be more robust.  Python's built-in libraries and facilities
provide much of the path and network manipulation that the daemon requires. 
Using the Python standard libraries allows us to rely upon a well-tested
base and focus on higher-level issues.

What are your opinions, as system administrators, on using Python for
long-running daemon processes when the developers are explicitly mindful of
memory considerations?

- --Ben Boeckel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJK5M22AAoJEKaxavVX4C1XwQcQAMfGLeQiWSwz67WZ0BkuURUf
Nlb/mHcXvR4toR0p90+LLuzOhnXhcifzXFby9URdERcS8fSbUsI8L+6WyviYjC8k
WGBlIEabIO82kIU/BIuV2yQyCxbPWPTIv5qhB6oUMmzjteBWDmjXjWFyDnhUtyPG
K3GeJC0W/b0pN8BzByNndvh+eBR6/IBEPTC7CMaxx/Pyj8092D6dtDLxyFs9+ozF
NmfHERFcoPuh8InpS/IYXMlEGj5QJwsuUidZ8xlxXgI7CsmRi3iq26jVAP5uMXUa
ffv2y9k5bHtBlLQ4/0cvSlCdSz41zRxwsTIAH3uKQv3fG6AZa0ZA4IWO2C6PPLal
rUHtGUP5p1OHOyrMf3ZW9g2L3hcTBhsBOT/F50CHuu9lhLaEP4CJ3T6Tk8iAbbfT
yCbyMn73gPlvYZf6VHuCt4jz4lDpp6Ucch6Ujra7yW5IL72+0Gcy8Z+dzja7STz9
G0FR+7KHX6GHaWzyF9XudkPfHUHoM2bw21JEbVS5FCGu0o+SrUlmAJR1x5bMZ8ck
++SDotXMG5LwJdMNbbud2XTOpr2eujkKZFHZltp3e4EiiPGrgcUGv9XQb+JJmDQ+
wa6+T2EpEmQKTuRK410EbNnw87eXELlVwtWa1GnsJTdIuUzZup21quTTdC/z+Sik
2764+MNdS6eurUJP5fe4
=kumw
-----END PGP SIGNATURE-----





More information about the infrastructure mailing list