[DGD] DGD and *dbm
Felix A. Croes
felix at dworkin.nl
Mon Jul 21 23:10:03 CEST 2008
bart at wotf.org wrote:
>[...]
> That would help to keep them small enough to prevent swapping and reallocate
> 'lag' indeed, abeit at the expense of using more objects, and imho making the
> overall design of the logging subsystem more complicated.
>
> Complexity is a concern imho since logging should be robust enough to still
> provide useful data in case of serious system failure.
You will have to weigh this against effectively running DGD/MP
single-threaded whenever logging to a file.
> Another thing alltogether is that replacing 'file' tools like grep in LPC
> seems difficult to me if it has to work on a substantial amount of data (think
> multiple session logs from multiple players for example)
Fortunately, there is parse_string. Or...
> Incidentely, my lib does provide an alternative to using files or objects for
> logging, it has a functional equivalent of a unix syslogd that can also log to
> a seperate loghost. Supposedly I could do my grepping there :)
... simply logging to a socket would probably be easiest in your case.
Regards,
Dworkin
More information about the DGD
mailing list