๊ธฐ๋ฅ ์์ฒญ์ด ๋ฌธ์ ์ ๊ด๋ จ๋์ด ์์ต๋๊น?
ํ์ฌ ์์์ ๋ณด ์
๋ฐ์ดํธ ์ฃผ๊ธฐ๋ 5์ด๋ก ์ ํ๋๊ฐ ๋๋ฌด ๋ฎ์ต๋๋ค.
๋ค์์ Edge Orchestration์ด ์ง์์ ์ผ๋ก ์๋น์ค ์คํ๋ก๋ ์์ฒญ์ ์์ ํ ๋ก๊ทธ์
๋๋ค. (์๊ฐ ๋ฐ cpuUsage ์ฐธ์กฐ)
2020/09/01 08:00:38 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:500 rtt:0.000816483]
2020/09/01 08:00:38 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:500 rtt:0.000816483]
2020/09/01 08:00:39 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:500 rtt:0.000816483]
2020/09/01 08:00:41 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:500 rtt:0.000816483]
2020/09/01 08:00:42 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:500 rtt:0.000816483]
2020/09/01 08:00:43 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:1.7456359102244388 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:44 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:44 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:45 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:46 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:47 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:47 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000425345]
2020/09/01 08:00:48 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:250 rtt:0.000452635]
2020/09/01 08:00:49 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:13.316582914572864 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:49 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:50 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:51 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:52 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:52 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0.000452635]
2020/09/01 08:00:53 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0]
2020/09/01 08:00:54 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0]
2020/09/01 08:00:54 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:19.6405648267009 netBandwidth:166 rtt:0]
2020/09/01 08:00:56 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0]
2020/09/01 08:00:57 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0]
2020/09/01 08:00:58 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0.000969224]
2020/09/01 08:00:59 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0.000969224]
2020/09/01 08:00:59 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0.000969224]
2020/09/01 08:01:00 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0.000969224]
2020/09/01 08:01:01 orchestration_api.go:421: candidate resource : map[cpuCount:8 cpuFreq:4200 cpuUsage:15.83011583011583 netBandwidth:333 rtt:0.000969224]
์ํ๋ ์๋ฃจ์
์ค๋ช
์๋น์ค(์ปจํ
์ด๋)๊ฐ ์คํ๋๋ ๋์ ๋ฆฌ์์ค ์ ๋ณด๋ฅผ ์
๋ฐ์ดํธํ๋ ๊ฒ์ ์ด๋ป์ต๋๊น?
@t25kim ํฅ๋ฏธ๋ก์ด ์ ์ ๊ฐ์ฌํฉ๋๋ค. (์ ๊ฐ ๋ง๊ฑฐ๋ ํ๋ฆด ์๋ ์์ผ๋ ์ ์ ํด ์ฃผ์ธ์^^) ์ด๋ฒคํธ ๊ธฐ๋ฐ ์
๋ฐ์ดํธ ๋ฐ/๋๋ ์ผ๋ถ ๋์ ์
๋ฐ์ดํธ(์๊ฐ ๊ฐ๊ฒฉ) ๋ฉ์ปค๋์ฆ์ ํญ์ ๊ฐ์น๊ฐ ์์ด ๋ณด์
๋๋ค. ์์ ์ ์ด ์์ด๋์ด๋ฅผ ๊ธฐ์กด edge-home-orchestration-go
ํตํฉํ๋ ๋ฐฉ๋ฒ์
๋๋ค. ๋ํ ์ด ์์ด๋์ด๋ฅผ ์ฑํํ์ฌ ๋ฆฌ์์ค ์
๋ฐ์ดํธ๋ฅผ ์์ฒญํ๋ ๋ฐ ๋ฉ๋ชจ๋ฆฌ ๊ณต๊ฐ์ด ๋ฏธ์น๋ ์ํฅ์ ๋ชจ๋ ํจ๊ป ์ถ์ ํ๋ฉด ํฅ๋ฏธ๋ก์ธ ์ ์์ต๋๋ค. ์์ํ ์๊ฐ์ด ๋ ์์ผ์ ๊ฐ์?
@Karthikeyan-Samsung @suresh-lc ์ด ์ ์์ ๋ํด ์ด๋ป๊ฒ ์๊ฐํ์ธ์?
๋น๋๋ฅผ ์ค์ด๋ฉด ์ฅ์น ์ฑ๋ฅ์ ์ํฅ์ ๋ฏธ์น ๊ฒ์ ๋๋ค. ๋์ฑ์ด ์ค์ฝ์ด๋ง ๊ด๋ฆฌ์ ์๊ณ ๋ฆฌ์ฆ์ ML ์ ๊ทผ ๋ฐฉ์(์๊ณ์ด, ARIMA ๋ฑ...)์ ๊ธฐ๋ฐ์ผ๋ก ๊ฐ์ ๋์ด์ผ ํฉ๋๋ค.
์ด๋ฒคํธ ๊ธฐ๋ฐ์ ์ข์ ์๊ฐ์ด์ง๋ง CPU/๋ฉ๋ชจ๋ฆฌ ๋ณ๊ฒฝ์ ๋ณด์ฌ์ฃผ๋ ์ด๋ฒคํธ ๋ฑ๋ก์ ํ์ํด์ผ ํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ ํ๋์จ์ด์ ์์กดํ์ง ์๊ณ ์ผ๋ฐํํ๋๋ก ๋ ธ๋ ฅํด์ผ ํฉ๋๋ค. Karthik์ด ์ธ๊ธํ๋ฏ์ด ์๊ณ์ด ๊ธฐ๋ฐ์ ์ข์ ์ ๊ทผ ๋ฐฉ์์ ๋๋ค. ์ฐ๋ฆฌ๋ ๊ทธ๋ฌํ ๋ถ์์ ์ํ ๋ฐ์ดํฐ์ ๋ํ ๋ธ๋ ์ธ์คํ ๋ฐ๋ ํ์ํฉ๋๋ค. ์ด๊ฒ์ ์ข์ ์์์ด๋ฉฐ ์ฐ๋ฆฌ๋ ์ด์ ๋ํด ๋ ๋ ผ์ํ ์ ์์ต๋๋ค.
์ฅ๊ธฐ์ ์ผ๋ก ๋ณด๋ฉด @Karthikeyan-Samsung์ด ๋งํ ๋๋ก ๊ฐ๋ ๊ฒ์ด ์ณ์ต๋๋ค.
๋จ๊ธฐ์ ์ผ๋ก๋ ํ ์ํฉ์ ๊ฐ์ํ ๋ ํ์ฌ ๊ณ ์ ๋ ์๊ฐ์ธ 5์ด๋ฅผ ๋ณ๊ฒฝํ์ฌ ๋ฆฌ์์ค ์ ๋ณด๋ฅผ ๋์ ์ผ๋ก ์
๋ฐ์ดํธํด์ผ ํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์๋ฅผ ๋ค์ด, ๋จ์ ๋ฆฌ์์ค๊ฐ ๊ฑฐ์ ์๊ณ ์ ๋ณด๊ฐ ์ ํํ๋ฉด 5์ด ๊ฐ๊ฒฉ์ด ์ข์ต๋๋ค. ๊ทธ๋ฌ๋ ๊ฐ์ฉ ์์์ด ์ ์ ๋ ๊ฐ์ฉ ์์์ด ๋ง๋ค๊ณ ๋งํ๋ ๊ฒ์ ์ํํ๊ธฐ ๋๋ฌธ์ ๋ฐ๋์ ๊ฒฝ์ฐ(์์ ๋ถ์กฑ ๋ฐ ์๋ชป๋ ์ ๋ณด)์ ๊ฐ๊ฒฉ์ ์ฌ๊ฐํ๊ฒ ์๊ฐํด์ผ ํฉ๋๋ค.
@suresh-lc @Karthikeyan-Samsung @t25kim ์์ฐ์ ์ด๊ณ ๊ณ ๋ฌด์ ์ธ ์ ์์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ํ์ฌ ๋ฆฌ์์ค ์
๋ฐ์ดํธ ๋ฉ์ปค๋์ฆ์ ๊ฐ์ ํ๊ธฐ ์ํด ๋จ๊ธฐ ๋ฐ ์ค์ฅ๊ธฐ ์ ๊ทผ ๋ฐฉ์์ด ๋ชจ๋ ํ์ํ ๊ฒฝ์ฐ edge-home-orchestrator-go
์์ ์ฌ์ฉ ๊ฐ๋ฅํ ๋ฆฌ์์ค๋ฅผ ์
๋ฐ์ดํธํ๊ธฐ ์ํด ์๊ฐ ๊ฐ๊ฒฉ์ ์์ ํ๋ ํธ๋ฆฌ๊ฑฐ ์๋จ์ด ์์ต๋๊น? ^^ ์ด๊ฒ์ ๋ํด ์ข์ ์์ด๋์ด๋ฅผ ์ป์ผ์๊ธฐ ๋ฐ๋๋๋ค. (๊ฒฐ๊ตญ Event-Driven์ ๊ธฐ๋ฐ์ผ๋ก ํ ๊ฒ ๊ฐ์ต๋๋ค)
StartMonitoringResource() ๋ db์ ๋ฆฌ์์ค ์ ๋ณด์ ๊ฐ๊ฒฉ์ ๊ฒฐ์ ํ๊ณ ๋ฆฌ์์ค ์ ๋ณด๋ฅผ ์
๋ฐ์ดํธํ๋ ๋งค๊ฐ ๋ณ์๋ก ๊ฐ์ ๋ณด๋ผ ์ ์๋ค๊ณ ์๊ฐํฉ๋๋ค.
๋ด ๊ด์ฌ์ฌ๋ ์๊ณ๊ฐ๊ณผ ๊ฐ๊ฒฉ์ ๊ฒฐ์ ํ๋ ์๊ณ ๋ฆฌ์ฆ์
๋๋ค.
StartMonitoringResource() ๋ db์ ๋ฆฌ์์ค ์ ๋ณด์ ๊ฐ๊ฒฉ์ ๊ฒฐ์ ํ๊ณ ๋ฆฌ์์ค ์ ๋ณด๋ฅผ ์ ๋ฐ์ดํธํ๋ ๋งค๊ฐ ๋ณ์๋ก ๊ฐ์ ๋ณด๋ผ ์ ์๋ค๊ณ ์๊ฐํฉ๋๋ค.
๋ด ๊ด์ฌ์ฌ๋ ์๊ณ๊ฐ๊ณผ ๊ฐ๊ฒฉ์ ๊ฒฐ์ ํ๋ ์๊ณ ๋ฆฌ์ฆ์ ๋๋ค.
์ด๋ ์ฌ์ฉ์์ ํจํด์ ๋ฐ์ํ ์ด๋ฅธ๋ฐ AI/ML๊ณผ๋ ๊ด๋ จ์ด ์๋ ๊ฒ์ผ๋ก ๋ณด์ธ๋ค. ๋ฐ์ ์๊ฐ์ ์์ฃผ ์ ๋ฐ์ดํธํ๊ณ ์์ ์ด๋ ๊ทธ์ ๋น์ทํ ์๊ฐ์๋ ๊ฑฐ์ ์ ๋ฐ์ดํธํ์ง ์์ต๋๋ค.
๋ฐ๋ผ์ ์ด ๋ฌธ์ ๋ฅผ #26๊ณผ ์ฐ๊ฒฐํ๊ณ ์ถ์ต๋๋ค.