-
Notifications
You must be signed in to change notification settings - Fork 599
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
Tracking: setup micro benchmark for stream executors with in-memory state #5678
Comments
To my understanding, the current impl is a per-task store: risingwave/src/storage/src/memory.rs Line 171 in b0fb507
Or, are we using So, to confirm, we are using per-task store for purposes of bench, correct? |
The For other cases, we're using the one constructed here whose lifetime is the same as risingwave/src/compute/src/server.rs Line 111 in 833358c
|
😥 I see, it would be nice if we can create one that is spawned on a per-thread or per task basis, so we don't have to worry about contention at all... To my understanding, that is the objective of these in-memory benchmarks? I.e. to test purely the compute performance up to data serialization/deserialization? |
If we bench a single operator with the style of integrated tests in a single thread, there'll also be no contention. IIRC, the storage team is working on a refactoring of the local state store, we may check if we can improve it then. |
Removed from the milestone. Do it later. |
Will this be priority again? Since we are looking at performance of stream engine? |
As mentioned in #5227,the purpose is to measure the pure computing performance
, and a prerequisite isan efficient in-memory store
.As mentioned in #5227 (comment) by @BugenZhao , we now don't need to wait for a new in-memory store, unless there shows a performance bottleneck on the current in-memory store implementation.
Depends on #6285
The text was updated successfully, but these errors were encountered: