Skip to content

Conversation

@FabianMeiswinkel
Copy link
Member

This is the possible perf improvement I found when working on the Retriable Write prototype

Also added a Perf test to proof that it actually improves throughput :-)

@FabianMeiswinkel
Copy link
Member Author

Perf results

if (objectDoc instanceof InternalObjectNode) {
internalObjectNode = (InternalObjectNode) objectDoc;
} else if (objectDoc instanceof ObjectNode) {
internalObjectNode = new InternalObjectNode((ObjectNode)objectDoc);
Copy link
Contributor

Choose a reason for hiding this comment

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

we would like to move away from the notion of InternalObjectNode and delete this class altogether.

Currently InternalObjectNode is not used in the Point read/write. It is only used in the CFP code path.

With this change we are adding more dependency on InternalObjectNode

can we do the other way around and replace InternalObjectNode with ObjectNode?

@moderakh moderakh self-requested a review January 28, 2021 20:49
Copy link
Contributor

@moderakh moderakh left a comment

Choose a reason for hiding this comment

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

as a future improvement we should kill InternalObjectNode.
can happen later after this PR.

@FabianMeiswinkel FabianMeiswinkel merged commit 49446fe into Azure:master Jan 29, 2021
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-java that referenced this pull request Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants