Skip to content

Conversation

@rockdaboot
Copy link
Contributor

@rockdaboot rockdaboot commented Feb 7, 2025

In experiments we found out that LogsDB reduces storage costs of profiling events data by ~30% in comparison to what we have today.

Keeping this in draft until benchmarks confirm that we won't have regressions in query latency or index latency.

The cloud-deploy label creates an artifact that can be used fur rally benchmarks or testing.

Benchmark summary:

  • query latency stays the same
  • bulk indexing becomes significantly slower (this PR: 113k/s, main: 158k/s)

(storage costs is the greatest concern atm)

@rockdaboot rockdaboot added >enhancement cloud-deploy Publish cloud docker image for Cloud-First-Testing :UniversalProfiling/Resource Management Elastic Universal Profiling Resource Management (Indices and Data streams) v9.1.0 labels Feb 7, 2025
@rockdaboot rockdaboot requested a review from felixbarny February 7, 2025 14:59
@rockdaboot rockdaboot self-assigned this Feb 7, 2025
@elasticsearchmachine elasticsearchmachine added the external-contributor Pull request authored by a developer outside the Elasticsearch team label Feb 7, 2025
@rockdaboot rockdaboot force-pushed the profiling-events-logsdb branch from c62bb56 to 022bae0 Compare February 7, 2025 15:58
Copy link
Member

@felixbarny felixbarny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good. Before merging, we should do some tests to evaluate the impact on ingest performance. The impact may not be that high given the fact that we've already applied index sorting before.

When testing, make sure to use a recent snapshot of main, which enables synthetic recovery source by default which is a big win for ingestion performance when synthetic source is used.

@rockdaboot rockdaboot marked this pull request as ready for review February 12, 2025 15:27
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/obs-ds-intake-services (Team:obs-ds-intake-services)

@elasticsearchmachine elasticsearchmachine added the Team:obs-ds-intake-services Meta label for Observability Intake Services team label Feb 12, 2025
@rockdaboot
Copy link
Contributor Author

Updated the description with benchmark results and marked as "ready for review".

@rockdaboot rockdaboot merged commit 5de46d1 into elastic:main Feb 20, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloud-deploy Publish cloud docker image for Cloud-First-Testing >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team Team:obs-ds-intake-services Meta label for Observability Intake Services team :UniversalProfiling/Resource Management Elastic Universal Profiling Resource Management (Indices and Data streams) v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants