Skip to content

Conversation

@brancz
Copy link
Member

@brancz brancz commented Apr 29, 2024

This improves the symbolization story in various ways:

  • the metastore is now ephemeral, it can always be recreated when wiped
  • instead of always trying to symbolize everything, this only symbolizes at read-time for the data that is actually being queried, and will cache any symbolization results

This overall results in significantly less resources used for symbolization while delivering the same experience as before.

@brancz brancz requested review from a team as code owners April 29, 2024 09:40
@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Apr 29, 2024

✅ Meticulous spotted zero visual differences across 451 screens tested: view results.

Expected differences? Click here. Last updated for commit 3301b57. This comment will update as new commits are pushed.

// in memory due to high cardinality of the dictionaries.
Encoding: schemapb.StorageLayout_ENCODING_PLAIN_UNSPECIFIED,
Type: schemapb.StorageLayout_TYPE_STRING,
Encoding: schemapb.StorageLayout_ENCODING_RLE_DICTIONARY,
Copy link
Member

Choose a reason for hiding this comment

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

This encoding change means that previous parquet files aren't properly read anymore, right? So, basically, do people need to start over for this new storage layout?

Copy link
Member Author

Choose a reason for hiding this comment

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

correct

Storing stacktraces in frostdb has the advantage that the metastore does
not have to be persistent, and instead can be re-built at any point in
time.

This patch is the start of moving to a model, where the metastore is
ephemeral and is only a read-through cache for symbolization, that
happens at query time, as opposed to all the time asynchronously.
@brancz brancz force-pushed the ephemeral-metastore branch from 946ec47 to 3301b57 Compare April 29, 2024 14:28
@brancz brancz merged commit 6f56ac9 into main Apr 29, 2024
@brancz brancz deleted the ephemeral-metastore branch April 29, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants