You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
We were troubleshooting some performance issues of fluentd in an Openshift cluster, and experimented with running the Rbspy sampling profiler on a running fluentd pod when we had full queues. See attached flamegraph. We see that a block in "add_elasticsearch_index_name_field" is active in 35% of sampled stack frames.
Note: in the end it seems our main bottleneck was a slow syslog server, so maybe this does not indicate an issue for any users.
I figured I would at least report it, since it could be an interesting data point.
I suppose as an optimization we could see if the time string is already in rfc3339 format, and do a string value extraction rather than parse + strftime.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We were troubleshooting some performance issues of fluentd in an Openshift cluster, and experimented with running the Rbspy sampling profiler on a running fluentd pod when we had full queues. See attached flamegraph. We see that a block in "add_elasticsearch_index_name_field" is active in 35% of sampled stack frames.
Note: in the end it seems our main bottleneck was a slow syslog server, so maybe this does not indicate an issue for any users.
I figured I would at least report it, since it could be an interesting data point.
I'm not a Ruby developer, but just skimming this
https://www.monitis.com/blog/20-ruby-performance-tips/
I would guess it could have something to do with date parsing when constructing the "elasticsearch_index_name"
The text was updated successfully, but these errors were encountered: