Skip to content

Ingest parses index requests twice when there is a final pipeline #81244

@jpountz

Description

@jpountz

I was looking at a flame graph of an ingestion workload with @dliappis, and it looks like we parse the JSON representation of the index request twice when a document has both a pipeline and a final pipeline.

It's hard to know how much we would save on this benchmark since not all data streams in this benchmark had both a pipeline and a final pipeline, but the cost of parsing index request into maps of maps via IngestService represented 4.06% of overall CPU time according to the flame graph, so this might not be negligible.

Metadata

Metadata

Assignees

Labels

:Data Management/Ingest NodeExecution or management of Ingest Pipelines including GeoIP:PerformanceAll issues related to Elasticsearch performance including regressions and investigations>bugTeam:Data ManagementMeta label for data/management teamTeam:PerformanceMeta label for performance team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions