On Wed, 16.04.14 12:46, Bill Nottingham (notting(a)splat.cc) wrote:
Zbigniew Jędrzejewski-Szmek (zbyszek(a)in.waw.pl) said:
> On Mon, Apr 14, 2014 at 04:20:16PM -0400, Bill Nottingham wrote:
> > Jaroslav Reznik (jreznik(a)redhat.com) said:
> > > = Proposed Self Contained Change: Remote Journal Logging =
> > > https://fedoraproject.org/wiki/Changes/Remote_Journal_Logging
> > >
> > > Change owner(s): Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
> > >
> > > Systemd journal can be configured to forward events to a remote server.
> > > Entries are forwarded including full metadata, and are stored in normal
> > > journal files, identically to locally generated logs.
> > What's the future of gatewayd if this becomes more widely used?
> gatewayd works in pull mode. Here I'm proposing a push model, where the
> "client" (i.e. machine generating the logs) pushes logs to the server
> at the time of its own chosing. gatewayd is probably better for some use
> cases, this for others.
I understand the pull vs push distinction ... I'm just not clear why pull
would ever be a model you'd want to use. (vs something like a local cockpit
Pull is the only model that scales, since the centralized log infrastructure can
schedule when it pulls from where and thus do this according to
available resources. THe push model is prone to logging bursts
overwhelming log servers if you scale your network up.
I am pretty sure that a pull model should be the default for everything
we do, and push only be done where realtimish behaviour is desired to do
live debugging or suchlike.
I am pretty sure the push model concept is one of the major weaknesses
of the BSD syslog protocol.
Lennart Poettering, Red Hat