-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Standardize Merging - Logic, Approach, Testing #24
Comments
To state initial objects: Each TRAPI object may have a different set of criteria for how they are merged together.
|
The above may result sub-optimal speed. Consider these generic objects QNode1: { “ids” : [], “deeply” : { “nested” : { “extra” : { “field” : {}}}} } These two objects cannot be merged using the above criteria because of the mismatch of deeply.nested.extra.field. The only way to know that these objects cannot be merged is by traversing the object hierarchy and then identifying the mismatch. |
Restating objectives to more closely match the current implementation and provide a faster runtime. Each TRAPI object has a different set of criteria for how they are merged together.
Removing symmetry enables a faster implementation but may lead to inconsistencies. For example, if an ARS made several async requests to ARAs and merged the output. The order of that the responses are received can potentially impact that resulting merged message. |
With the addition of hashing and the update method this library can now be used as to combine or merge a set of messages. The logic for message merging should be agreed upon by all interested parties and validate through extensive testing. This issue is to hold such a discussion.
It is important that when we make decisions about how message merging will work, that the speed of the implementation is considered.
The text was updated successfully, but these errors were encountered: