Lack of Country Code in Network Delay Alarms Schema #14
Replies: 7 comments 4 replies
-
Maybe we could think of this solution after ending this project to avoid any regressions |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Are you still facing this issue? |
Beta Was this translation helpful? Give feedback.
-
In today's 3-day IHR report, there are no Hegemony Alarms, which means all network delay alarms will request IHR Network API to get the country code, and that's overwhelming for the server. This kind of tight coupling between alarm types is not good in the long term. I propose two potential solutions:
|
Beta Was this translation helpful? Give feedback.
-
ah, sorry we had some problems recently with the AS hegemony code. Hopefully it will be back to normal this week. But you are right these cascading problems are not good. Are you querying the network API with multiple ASN?
|
Beta Was this translation helpful? Give feedback.
-
great :) |
Beta Was this translation helpful? Give feedback.
-
@mohamedawnallah I have been thinking again about this problem. We'll have that problem every time we had a new data source. So one way to really fix that problem is to get a complete list of AS names for example here: What do you think? |
Beta Was this translation helpful? Give feedback.
-
Issue:
In the current network delay alarms schema, there is no country code included, unlike the Hegemony Dependency Alarms response schema which contains the country code in the
asn_name
field. This poses a problem as we currently have around 5000 Network Delay Alarms (at the time of creating this issue). To retrieve the country code, we would need to make 5000 API requests (at least) to the network API endpoint. This approach lacks efficiency, particularly when the server experiences downtime due to high (or even low) concurrent user activity.Proposed Solution:
We should consider adding the country code to the network delay alarms response schema. This would eliminate the need for additional API requests and improve the efficiency of the system.
Additional Information
We need the country code to plot the data on the World Map
Beta Was this translation helpful? Give feedback.
All reactions