Skip to content

Commit c5bfe6b

Browse files
committed
Condensing data pipeline info
Signed-off-by: Lynette Miles <[email protected]>
1 parent 7743836 commit c5bfe6b

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

concepts/buffering.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,30 @@ When [Fluent Bit](https://fluentbit.io) processes data, it uses the system memor
88

99
Buffering is the ability to store the records, and continue storing incoming data while previous data is processed and delivered. Buffering in memory is the fastest mechanism, but there are scenarios requiring special strategies to deal with [backpressure](../administration/backpressure.md), data safety, or to reduce memory consumption by the service in constrained environments.
1010

11+
```mermaid
12+
graph LR
13+
accTitle: Fluent Bit data pipeline
14+
accDescr: A diagram of the Fluent Bit data pipeline, which includes input, a parser, a filter, a buffer, routing, and various outputs.
15+
A[Input] --> B[Parser]
16+
B --> C[Filter]
17+
C --> D[Buffer]
18+
D --> E((Routing))
19+
E --> F[Output 1]
20+
E --> G[Output 2]
21+
E --> H[Output 3]
22+
style D stroke:darkred,stroke-width:2px;
23+
```
24+
1125
Network failures or latency in third party service is common. When data can't be delivered fast enough and new data to process arrives, the system can face backpressure.
1226

1327
Fluent Bit buffering strategies are designed to solve problems associated with backpressure and general delivery failures. Fluent Bit offers a primary buffering mechanism in memory and an optional secondary one using the file system. With this hybrid solution you can accommodate any use case safely and keep a high performance while processing your data.
1428

1529
These mechanisms aren't mutually exclusive. When data is ready to be processed or delivered it's always be in memory. Other data in the queue might be in the file system until is ready to be processed and moved up to memory.
1630

31+
The `buffer` phase contains the data in an immutable state, meaning that no other filter can be applied.
32+
33+
Buffered data uses the Fluent Bit internal binary representation, which isn't raw text.
34+
35+
Fluent Bit offers a buffering mechanism in the file system that acts as a backup system to avoid data loss in case of system failures.
36+
1737
To learn more about the buffering configuration in Fluent Bit, see [Buffering and Storage](../administration/buffering-and-storage.md).

concepts/data-pipeline.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Data pipeline
2+
3+
The Fluent Bit data pipeline incorporates several specific concepts.
4+
5+
## Buffering
6+
7+
The [`buffer`](./buffering.md) phase in the pipeline aims to provide a unified and persistent mechanism to store your data, using the primary in-memory model or the file system-based mode.

concepts/data-pipeline/buffer.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)