Hi Jonathan, On Tue, Jan 8, 2019 at 12:47 AM, Jonathan Gathman wrote: > I wanted to let you know that AAF already has a real time Service Locator, > that includes the following information: > > Name: Hierarchical name of service – (i.e. org.onap.aai) > hostname: FQDN > port: (obvious) > latitude: When more than one instance exists, use with longitude to > determine closest service via Great Circle > longitude: When more than one instance exists, use with latitude to > determine closest service via Great Circle > > How it might help you: > > 1. Current AAF version relies on Public FQDN, which, given K8s, would > correlate to multiple K8s Service Implementations > 2. Resilient and Global in scope (Lat/Long allows talking to remote service > that is closest, when possible, but also allows contacting any service, if > closer ones are not available)
Using latitude/longitude to calculate distance on the Great Circle is interesting, but "closest" in geographic distance is not the same thing as "closest" by ping latency or network topology, e.g. the transmission path might be via satellite links instead of fibre cables, or the transmission path might be going the "long way around" due to lack of direct connections. Does locator use https://en.wikipedia.org/wiki/Anycast to select the "closest" server? Also, if the "closest" server is apparently down / not responsive, how much delay will there be until the next server is contacted? Curious to know the performance characteristics, since each call to an AAI API will also result in a call to AAF. There are already concerns amongst AAI clients about the performance of the system and there more proposals for very high rates of data transfer in/out of AAI. Keong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14833): https://lists.onap.org/g/onap-discuss/message/14833 Mute This Topic: https://lists.onap.org/mt/28962690/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
