History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NEO-61
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Erik Doernenburg
Reporter: Erik Doernenburg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Neo

Avoid refetches when spans overlap

Created: 11/Jun/06 09:34 AM   Updated: 11/Jun/06 09:34 AM
Component/s: None
Affects Version/s: 1.4.2
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Everything functions correctly. However, there is one tweak I think we
should make. When you have multiple spans that cover the same entity,
we should only query one time.

Example:
A
/ \
B C
/ / \
D E F

Let's say we have an object graph like the one above that we want to
fill using Spans. We will pass our FetchSpecification to our
AFactory.Find method to retrieve the Entity.

If we use the following Spans {"C.F","C.E","B.D"}, this will give us the
correct data, but it will run the query for C twice. I propose that we
track which Entities we have already queried.

Chris



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.