[Twisted-Python] Client/Server to stream text logfiles?
johan.rydberg at edgeware.tv
Wed Sep 28 02:34:00 EDT 2011
On 9/28/11 1:19 AM, Glyph Lefkowitz wrote:
> Hi Victor,
> This /should/ be pretty easy to accomplish; this kind of thing is
> generally very straightforward using Twisted. Obviously you'd have to
> implement a protocol for talking to Gamin, but I think the protocol
> involved is well-documented and very straightforward.
I would say that streaming logs in a _reliable_ fashion is a non-trivial
If you want to make sure that you do not miss any log lines, you cannot
push them over the connection. You will never know what messages was
received on the
other side after a loss of the connection.
That's why people have developed things like
I guess it all depends on your requirements.
I would also like to point out that Twisted would be a perfect match for
such a thing.
Mäster Samuelsgatan 56
SE-111 21 Stockholm, Sweden
More information about the Twisted-Python