Liste des Groupes | Revenir à cl python |
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:>
If it’s a snapshot of current values, that does not persist when the
collector process is not running, then why not just keep the data in
the memory of the collector process, and have it concurrently listen on
a socket for connections from readers requesting a copy of the current
data?
That's exactly the sort of solution I was wondering about. Is there a
ready made module/library for handling this sort of thing? Basically it
will just be a string of a few tens of characters that would be kept up
to date by one process and asked for by all the others.
Les messages affichés proviennent d'usenet.