Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-43512][SS][TESTS] Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider #41175

Closed
wants to merge 2 commits into from

Conversation

anishshri-db
Copy link
Contributor

@anishshri-db anishshri-db commented May 15, 2023

What changes were proposed in this pull request?

Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider

Why are the changes needed?

Need the changes to unblock RocksDB JNI upgrade

Does this PR introduce any user-facing change?

No

How was this patch tested?

Ran it locally and using Github Actions. Run now takes ~40-50mins

@github-actions github-actions bot added the SQL label May 15, 2023
@anishshri-db anishshri-db changed the title [SPARK-43512] Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider [SPARK-43512][SS] Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider May 16, 2023
@anishshri-db
Copy link
Contributor Author

@HeartSaVioR @LuciferYang - pls take a look. Thx

Runs now complete ~40-50 mins.

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

+1, LGTM

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

+1 pending CI.

It even becomes a better comparison between in-memory and RocksDB. In memory does not defer the actual write here, whereas previously we defer the actual write in RocksDB, so it wasn't a strictly apple-to-apple comparison. This is closer to real apple-to-apple comparison.

The fact which won't be changed is that in-memory is way faster. That cannot be changed.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-43512][SS] Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider [SPARK-43512][SS][TESTS] Update StateStoreOperationsBenchmark to reflect updates to RocksDB usage as state store provider May 16, 2023
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

@dongjoon-hyun
Copy link
Member

Thank you, @anishshri-db , @LuciferYang , @HeartSaVioR . Merged to master for Apache Spark 3.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants