-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Centralized management of edge devices and services #121
Comments
@suresh-lc @Karthikeyan-Samsung PTAL. Current scoring mechanism is a bit inefficient to me, because the regarding edge candidates calculate their capacity as a score by themselves and just send that results to the master. On the other hand, the master can calculate those scores instead of each edge candidate based on the capacity factors transmitted by them. This seems more fit to the master. What do you think? |
Our current approach is not primary-secondary kind. The device details (memory/cpu/bandwidth) are exchanged with other devices during the initial discovery. Hence when a device 'A' wants to offload a service, the scoring is calculated in the device 'A' itself of all other devices(which have been stored) and offloading happens. So just to clarify the scoring is not got from other devices when request for service offloading is made to edge orchestration by any application. Hence making this scoring mor dynamic(real time) based on current memeory/CPU/bandwidth would be good point of improvement. As pointed by @t25kim : wants a centralized approach(Master).
|
@suresh-lc The point is not the primary/secondary topology, The current scoring mechanism is as follows (at least from the source code level: a.k.a.
If you see the true disaggregated topology, the scenario like "primary nodes goes down" should be touched by another delegate, which only takes care of status DB and something in the Home Edge scenario. I am not sure if the current scoring mechanism is the best option. |
BTW, let us call Reference: |
I like the idea of changing the term master/slave to primary/secondary. |
In one of the TSC , one of the member suggested to use Superior/Inferior term instead of Master/Slave. I kept it as master/slave for our understanding. |
For Blacklist: in the TSC call it was suggested to use the term "approved" like in "Approved containers " and so. |
@suresh-lc It must be the TSC from LF Edge. Any guideline from that? |
Device A, B and C are three devices connected in same network. All the device/ service details are exchanged between all the devices along with their compute/memory capabilities. Device A : App X requests to offload a service to Edge-Orchestrator in same device. The reason for doing the scoring this way makes the scoring more real time. Instead if we do scoring at device which requested, then real time values cant be taken into. During discovery, memory could be 1Gb, whereas when calculating scoring it could be 512, since other process are running. So this type of scoring calculation makes it near real time. The Scoring calculation at candidates is anyways calculated by the Edge Orchestration in those devices. We should think of enhancing the scoring mechanism by making it based on more real time parameters and also considering more number of parameters. Even time based analysis can be done, like say if a service is offloaded, but prior we know the device would become busy because of user pattern, such things can be incorporated. |
@suresh-lc I disagree with your idea that the current scenario is more real-time because the resources are not different at the time of receiving the request at each edge. Your concern is important but the current problem I think is that Device A doesn't know what advantages B and C have. |
@t25kim : Whatever you mention like sharing all the device information instead of score makes all the device resource details shared to other device.
Even in this approach, the resource at T could be different. But the resource at T+1, when the score calculation happens at Edge could be different. So this will also not lead to actual score value. After the device sends the resource details to Edge, the resource values can change (for B and C), this is what i mean to say.
In this case, naturally the calculated score would be less as score takes memory also into consideration. Hence naturally A chooses B instead of C. Hence there is no single fool proof approach. But to strengthen the system we can think of other methods of score calculation. We can think of time kind of empirical way instead of Apriori way |
@suresh-lc Um.. It is interesting, because as you pointed out "empirical way" rather than "apriori way", it has a context that the edge orchestrator should make a final decision of the best primary to offload the given services based on the collected data (with a historical patterns and so on, and in the end employing the AI/ML). So to me, the current mechanism, which the neighbor devices complete its own calculation is a bit overhead. |
@suresh-lc @t25kim I think that @t25kim has some basic idea to present his proposal. In order to end the iterating discussions for this matter, what about creating a separate branch to check out the feasibility for this proposal? Any opinion? |
Ya its good point to do a feasibility. Implementation wise, should be able to do. But for comparing the existing and new approach, we need to calculate metrics to see which method fair well.
|
@suresh-lc @MoonkiHong That is an important issue and I couldn't think about how to solve the scenario at the moment. Is there any code on home edge solving the problem when B or C sending high score to A goes down abruptly? |
We might need to find out any ground implementation / algorithm to reconfigure the primary / secondary device in the given local network. |
Embracing the consideration with the existing report by #26 |
Is your feature request related to a problem? Please describe.
Current method of selecting an edge device for service execution is decentralized and complex. The edge orchestration as edge node collects the final score result from other edge devices and offloads services to the high-score device.
Describe the solution you'd like
Only one edge orchestrator controls every other edge nodes and services.
The following features are required.
The text was updated successfully, but these errors were encountered: