AO-StreetArt / Adrestia

Aesel Gateway Service
Apache License 2.0
0 stars 1 forks source link

Use CLyman overwrite by scene/object name #48

Closed AO-StreetArt closed 6 years ago

AO-StreetArt commented 6 years ago

CLyman can perform overwrites by scene and object name rather than key, so we can remove initial query to retrieve key

AO-StreetArt commented 6 years ago

We aren't actually doing an initial query for object overwrites, as they are being done by object key directly. I want to keep that design as it makes sense, you'll have the key once you've either created an object or registered to the scene and run a query for objects in the scene.

This does bring to a close the current phase of overwrite optimization, and now there is only 1 network call between Adrestia and CLyman, and 1 network call between CLyman and Mongo.