Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: client/internal/logdog/butler/bundler/doc.go

Issue 1276923003: logdog: Add bundler library. (Closed) Base URL: https://github.com/luci/luci-go@logdog-review-streamserver
Patch Set: Updated from review. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Package bundler exports the Bundler interface and its implementation, as well
6 // as supporting interfaces.
7 //
8 // A Bundler is responsible for efficiently buffering and clustering LogDog
9 // Butler protobufs together for output. It is primarily focused on two
10 // protobufs:
11 // - The ButlerLogBundle_Entry, which represents a series of logs and
12 // metadata belonging to a single stream.
13 // - The LogEntry, which is a single chunk of unqualified log data.
14 //
15 // These protobufs comprise log data, and are grouped together for export in
16 // a ButlerLogBundle protobuf.
17 //
18 // A ButlerLogBundle_Entry will be exported if it matches ANY of the following
19 // conditions:
20 // - It has attached log data.
21 // - It has terminal information.
22 //
23 // Since LogDog outputs can be size-constrained, the Bundler tracks the expected
24 // aggregate buffered protobuf size and, on export, breaks the buffered
25 // protobufs into bundles along a size threshold boundary.
26 package bundler
OLDNEW
« no previous file with comments | « client/internal/logdog/butler/bundler/bundler_test.go ('k') | client/internal/logdog/butler/bundler/sizer_fast.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698