Dab tsi yog sharding hauv IoT daim ntawv thov?
Dab tsi yog sharding hauv IoT daim ntawv thov?

Video: Dab tsi yog sharding hauv IoT daim ntawv thov?

Video: Dab tsi yog sharding hauv IoT daim ntawv thov?
Video: Yog Vim Dab Tsi - Maiv Choj (cover) 2024, Kaum ib hlis
Anonim

Sharding yog ib hom database partitioning uas cais cov databases loj heev rau hauv me me, sai dua, yooj yim tswj qhov chaw hu ua cov ntaub ntawv shards. Lo lus shard txhais tau tias ib feem me me ntawm tag nrho.

Kuj paub, dab tsi yog database sharding thiab nws ua haujlwm nrog cov piv txwv li cas?

Sharding yog ib txoj kev ntawm kev faib thiab khaws cia ib lub logical dataset nyob rau hauv ntau yam databases . Los ntawm kev faib cov ntaub ntawv ntawm ntau lub tshuab, ib pawg ntawm database systems tuaj yeem khaws cov ntaub ntawv loj dua thiab ua raws li kev thov ntxiv. Sharding yog qhov tsim nyog yog tias cov ntaub ntawv loj dhau los khaws cia rau hauv ib qho database.

Ib yam li ntawd, cov ntaub ntawv twg yog qhov zoo tshaj plaws rau IoT? Raws li daim ntawv kawg, Redis, qhib qhov chaw hauv-nco database Kev txhawb nqa los ntawm Redis Labs, yog qhov kev xaiv nrov rau IoT daws raws li qhov kub database . Nws yog dav siv los ntawm cov IoT kev daws teeb meem rau cov ntaub ntawv ingest, real-time analytics, messaging, caching, thiab ntau lwm yam kev siv.

Hauv qhov no, qhov sib txawv ntawm sharding thiab partitioning yog dab tsi?

“ kev sib faib yog faib los yog muab faib ntawm cov ntaub ntawv nyob rau hauv ntau yam txawv machines ntawd muab faib yog kev faib cov ntaub ntawv ntawm tib lub tshuab."

Dab tsi yog sharding hauv Cassandra?

Hauv Cassandra , cwb shard yog ib tug neeg rau zaub mov thiab replication yog ua tiav los ntawm kev khaws ib yam khoom ntawm ntau shards. Yog tias tus neeg rau zaub mov tuag, cov khoom tseem nyob (cia siab) ntawm lwm cov shards. Hauv MongoDB, txhua tus shard yog replica-set ntawm ntau lub servers.

Pom zoo: