-
Notifications
You must be signed in to change notification settings - Fork 28
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
Transformer.orderedMergeWith: Allow configuring Source Observable Backpressure BufferSize #29
Comments
@moderakh That won't be a problem. I'll knock that up. |
@moderakh when you say it's critical for your use case, can you be more specific? |
@davidmoten Azure Cosmos db Orderby is computationally expensive and also each user is assigned a fixed budget for query in every second. When a query in user's scope is executed we deduct user's budget. Right now for our cross partition orderby query in the SDK side we are relying on The fact that |
Thanks for the explanation, makes sense. 0.8.0.15 has the new overload, should be available for download from Maven Central in about ten minutes. |
wow, that's amazing. Thank you for such quick feature implementation and release. :-) |
Hi David,
We are using rxjava-extras as a dependency:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-cosmosdb/1.0.0
https://github.com/Azure/azure-cosmosdb-java
We are using
Transformer.orderedMergeWith
.It appears to me that in the implementation of BackPressure for the above operator for each of the source observables,
RxRingBuffer.SIZE
items will be buffered. Am I right?rxjava-extras/src/main/java/com/github/davidmoten/rx/internal/operators/OrderedMerge.java
Line 307 in 08e66ff
If not already supported, is that possible to provide a overload for
Transformer.orderedMergeWith
which allows configuring the buffered size for each source observable? It is critical for our use case.Thank you @davidmoten
The text was updated successfully, but these errors were encountered: