Comments (6)
I don't believe the dummy plugin was ever intended to be used for perf testing but I think there are some extra config options you can use to improve things.
@pwhelan may know but you can do a -i dummy --help
to see the config options available.
from fluent-bit.
It is much better to use the copies
parameter to attempt to test performance since that will create multiple records in a single buffer instead of attempting to submit each record individually. Both parameters can be used together as well to try and create more load.
from fluent-bit.
@cazorla19 We can use counter
and flowcounter
output plugins to count up records.
https://docs.fluentbit.io/manual/pipeline/outputs/flowcounter
Following configuration is an example to count up records per second.
Some filter/output plugin may affect throughput. Could you try to check in_dummy is bottleneck or not ?
[INPUT]
name dummy
Tag local.system
Rate 200 # gradually increase from 1 to 50 then to 100 and further
Dummy {"message":"hello"}
[OUTPUT]
name flowcounter
Match *
unit second
from fluent-bit.
@patrick-stephens @pwhelan @nokute78
Thanks everyone for helping me out. With your advices, I was able to resolve the issue and use the dummy plugin for performance testing.
Indeed, the Copies
parameter is much more useful than the Rate
in my case, I was able to observe the correlation between the copies count increase and the general load increase. In the end, I removed the Rate
from my config, because I don't really want to attempt to submit each record individually.
I was also able to see some logs from the flowcounter
plugin, which also gave me the proof of the load increase. The only thing I've noticed is that it doesn't work as expected on Windows. While the Linux node worked just fine, the Windows node was launched with the flowcounter
, and the fluent-bit even managed to run the tasks, as I saw in the shutdown logs, it just doesn't log the counter.
Before closing this issue as it was resolved, I just wanted to ask if this is the expected behavior from the maintainer's perspective.
from fluent-bit.
I don't know is my answer, @cosmo0920 may know more on the Windows side but I would suggest raising as a separate issue with the easy reproducer you have to make it simpler to find/follow.
from fluent-bit.
ok will do
from fluent-bit.
Related Issues (20)
- V2.2.2 / AWS S3 Output Plugin / retry_limit not taken into account
- stackdriver output plugin crashes under heavy load
- S3 Plugin: support for zstd compression HOT 1
- OpenTelemtry Log Model Support for Kubernetes Filter Records
- Multiple conditions on grep filter not working as expected HOT 1
- out_es: Time_Key_Nanos support nanosecond timestamp precision! HOT 1
- Fluent-bit went to CrashLoopbackOff immediately with the GO WASM FILTER in v2.2.2
- CentOS 7 build failures HOT 5
- fluent-bit keeps complaining about parser not set [in_syslog] plugin HOT 2
- ARM linkage failures for `master` HOT 2
- Add parameter Topic_Regex for kafka input plugin HOT 1
- Double identical key/value pairs (+ memory leak) after regex parser, rewrite tag (and regex parser)
- 【2.1.10】bug:could not enqueue records into the ring buffer HOT 2
- run-macos-unit-tests randomly failing HOT 3
- CI: container signing failed for 3.0.0
- in_node_exporter_metrics: add buddyinfo collector
- multiline parser doens't play well with the last record
- [in_winevtlog]: Time precision in millisecond for "TimeCreated" field with Windows Event Log (winevtlog) input plugin
- Support nested log_key in S3 output plugin HOT 1
- Support Redis output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-bit.