Bug 89185

Summary: RFE: Support load-balancing targets in systemd-journal-upload
Product: systemd Reporter: Duncan Innes <duncan>
Component: generalAssignee: systemd-bugs
Status: NEW --- QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Duncan Innes 2015-02-17 10:37:32 UTC
s-j-upload currently supports a single remote target for streaming logs to. Ticket https://bugs.freedesktop.org/show_bug.cgi?id=89184 is an RFE to expand this to provide more than 1 target for failover purposes.
This ticket is requesting that the targets can be used in a load-balanced manner.
At this point, I don't believe the method of load balancing is important.  If a pair (or more) of log receivers are built to cater for failover, it would not be wise for all logs to go to the receiver #1 under normal circumstances, only to use receiver #2 in failover circumstances.  Clients could be configured to randomly swap the order of --url targets at configuration time, but this still allows the heaviest systems to end up with the same receiver #1.
I'm not sure if it would be insensible to round-robin every log entry across the configured targets, or whether a randomised timer could call for a switch-over at reasonable points.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.