aws 其實玩Load balancer, 兩個instance D 野點sync?

有冇人識?

TOP

load balance個application layer咋嘛,persistent layer你一係用一個instance,一係用cluster

TOP

how to sync server config between multiple instances?
how to sync program code between multiple instances?

TOP

你似係唔識deploy...
Program code同config應該係deploy time做,如果識自動sync你就要驚
唔係唔得,係無乜人會咁做
data, sessions先係要run time sync/集中一點

TOP

回覆 5# 梁炳


    i asked here
   http://stackoverflow.com/questio ... i/38494732#38494732

TOP

回覆 6# 二師兄

用git做version control,寫下script就可以deploy同update啲instances啦

TOP

回覆  二師兄

用git做version control,寫下script就可以deploy同update啲instances啦
chi251155 發表於 2016-7-21 23:05


唔應該再咁sync,行docker,用container好過。再用kubernetes做rolling update
其實宜家唔應該再諗sync code,應該sync container,因為container應該有一樣behaviour

TOP

回覆 8# ip4368
你啱,一開始就學container其實都唔會比舊式方法難。

TOP