zeek/scripts/base/frameworks/broker
Christian Kreibich 841a40ff88 Switch Broker's default backpressure policy to drop_oldest, bump buffer sizes
At every site where we've dug into backpressure disconnect findings, it has been
the case that the default values were too small. 8192, so 4x the old default,
suffices at every site to drown out premature disconnects.

With metrics now available for the send buffers regardless of backpressure
overflow policy, this also switches the default from "disconnect" to
"drop_oldest" (for both peers and websockets), meaning that peerings remain
untouched but the oldest queued message simply gets dropped when a new message
is enqueued. With this policy, the number of backpressure overflows is then
simply the count of discarded messages, something that users can tune to see
drop to zero in everyday use.  Another benefit is that marginal overflows cause
less message loss than when an entire buffer's worth (plus potentially more
in-flight messages) gets thrown out with a disconnect.
2025-04-25 10:22:35 -07:00
..
__load__.zeek Support re-peering with Broker peers that fall behind 2024-12-06 15:18:05 -08:00
backpressure.zeek Use Broker peering directionality when re-peering after backpressure overflows 2025-04-21 14:08:42 -07:00
log.zeek Merge remote-tracking branch 'origin/topic/neverlord/broker-logging' 2025-03-31 18:53:43 +02:00
main.zeek Switch Broker's default backpressure policy to drop_oldest, bump buffer sizes 2025-04-25 10:22:35 -07:00
README More bro-to-zeek renaming in scripts and other files 2019-05-16 02:36:41 -05:00
store.zeek broker/store: Extend SQLiteOptions around data safety and performance 2023-01-30 10:25:37 +01:00

The Broker communication framework facilitates connecting to remote Zeek
instances to share state and transfer events.