Python reliability

Jp Calderone exarkun at divmod.com
Mon Oct 10 01:17:48 CEST 2005


On Sun, 9 Oct 2005 23:00:04 +0300 (EEST), Ville Voipio <vvoipio at kosh.hut.fi> wrote:
>I would need to make some high-reliability software
>running on Linux in an embedded system. Performance
>(or lack of it) is not an issue, reliability is.
>
>The piece of software is rather simple, probably a
>few hundred lines of code in Python. There is a need
>to interact with network using the socket module,
>and then probably a need to do something hardware-
>related which will get its own driver written in
>C.
>
>Threading and other more error-prone techniques can
>be left aside, everything can run in one thread with
>a poll loop.
>
>The software should be running continously for
>practically forever (at least a year without a reboot).
>Is the Python interpreter (on Linux) stable and
>leak-free enough to achieve this?
>

As a data point, I've had python programs run on linux for more than a year using both Python 2.1.3 and 2.2.3.  These were network apps, with both client and server functionality, using Twisted.

Jp



More information about the Python-list mailing list