Yuav ua li cas koj tso ib tug canary?
Yuav ua li cas koj tso ib tug canary?

Video: Yuav ua li cas koj tso ib tug canary?

Video: Yuav ua li cas koj tso ib tug canary?
Video: Vim li cas koj lub neej thiaj li tsis txawj muaj nyiaj yog ua cas? ( How to Change your life) 2024, Kaum ib hlis
Anonim

Canary tso yog ib tug txheej txheem uas yog siv los txo cov kev pheej hmoo ntawm kev qhia ib tug tshiab software version nyob rau hauv ntau lawm los ntawm maj dov tawm qhov kev hloov mus rau ib tug me me pab pawg neeg ntawm cov neeg siv, ua ntej dov nws tawm mus rau tag nrho cov platform/infrastructure thiab ua rau nws muaj rau txhua leej txhua tus.

Ua li no, dab tsi yog canary hauv software?

Hauv software kev xeem, a canary yog kev thawb ntawm kev hloov pauv code rau ib pawg me ntawm cov neeg siv kawg uas tsis paub tias lawv tau txais cov lej tshiab. Canary kev ntsuam xyuas, uas feem ntau automated, yog khiav tom qab kev sim nyob rau hauv ib tug sandbox ib puag ncig tau ua tiav.

Ib yam li ntawd, Canary deployment AWS yog dab tsi? Canary tso tawm yog ib qho kev txhim kho software uas muaj qhov tshiab ntawm API (nrog rau lwm yam software) yog xa mus as a canary tso tawm rau kev sim lub hom phiaj, thiab lub hauv paus version tseem nyob xa mus raws li kev tso tawm ntau lawm rau kev ua haujlwm ib txwm nyob rau tib theem.

Ib sab ntawm no, dab tsi yog xiav ntsuab xa tawm Canary tso tawm?

Blue Green Deployments . Thov saib Martin Fowler qhov txuas txog xiav - ntsuab deployments . Nws muab tag nrho gist. Nws yog ib qho txheej txheem rau tso tawm koj daim ntawv thov nyob rau hauv ib txoj kev kwv yees nrog lub hom phiaj ntawm kev txo cov downtime cuam tshuam nrog a tso tawm.

Dub canary yog dab tsi?

Canary Kev xeem thiab Tsaus Launching yog dav siv rau kev sim cov yam ntxwv tshiab hauv cov ntawv thov nyuaj. Canary Kev sim yog qhov zoo tshaj plaws thaum koj xav sim qhov kev ua tau zoo ntawm koj lub backend. Tsaus Launching yog tsom rau kev sim cov yam ntxwv tshiab hauv koj qhov frontend.

Pom zoo: