cloud-barista / cb-larva

CB-Larva is Cloud-Barista Incubator. The incubator researches and develops essential technologies for multi-cloud.
Apache License 2.0
9 stars 8 forks source link

Support multiple cb-network controllers #205

Closed yunkon-kim closed 2 years ago

yunkon-kim commented 2 years ago

It would support multiple cb-network controllers without a scheduler.

Each host (VM) records the dynamic changes of its local network. For example, VM1 can record its local network changes twice and VM2 can record its local network change once. In any order, the cb-network controller must distinguish those and only need to deal with one of them.

To distinguish each sporadic update in multiple data sets, I have developed a mechanism with the lease and compare-and-swap (CAS). The cb-network controllers try to lease a temporal key by CAS. (It's like acquiring a workload (i.e., handling of data update).).**

The temporal key will be removed after a certain period of time (i.e., TTL was assigned to the lease)

[Proposed method]

yunkon-kim commented 2 years ago

[A sketch for multiple cb-network controllers concept and missions]

image