{"id":26688,"date":"2026-09-30T10:58:30","date_gmt":"2026-09-30T03:58:30","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=26688"},"modified":"2026-09-30T10:58:30","modified_gmt":"2026-09-30T03:58:30","slug":"cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/","title":{"rendered":"Cloud Firestore NoSQL: Gi\u1ea3i ph\u00e1p hi\u1ec7n \u0111\u1ea1i h\u00f3a h\u1ea1 t\u1ea7ng d\u1eef li\u1ec7u cho doanh nghi\u1ec7p"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">V\u1edbi quy m\u00f4 ng\u01b0\u1eddi d\u00f9ng v\u00e0 l\u01b0u l\u01b0\u1ee3ng d\u1eef li\u1ec7u t\u01b0\u01a1ng t\u00e1c \u0111ang ng\u00e0y c\u00e0ng t\u0103ng tr\u01b0\u1edfng theo h\u1eb1ng ng\u00e0y, c\u00e1c h\u1ec7 th\u1ed1ng c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7 (SQL) truy\u1ec1n th\u1ed1ng \u0111ang d\u1ea7n b\u1ed9c l\u1ed9 nh\u1eefng h\u1ea1n ch\u1ebf v\u1ec1 kh\u1ea3 n\u0103ng m\u1edf r\u1ed9ng linh ho\u1ea1t v\u00e0 t\u1ed1c \u0111\u1ed9 ph\u1ea3n h\u1ed3i. Trong b\u1ed1i c\u1ea3nh \u0111\u00f3 Google cho ra m\u1eaft <\/span><b>Cloud Firestore<\/b><span style=\"font-weight: 400;\"> \u2013 gi\u1ea3i ph\u00e1p c\u01a1 s\u1edf d\u1eef li\u1ec7u NoSQL th\u1ebf h\u1ec7 m\u1edbi t\u1eeb Google Cloud.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V\u1edbi ki\u1ebfn tr\u00fac kh\u00f4ng m\u00e1y ch\u1ee7 (Serverless), kh\u1ea3 n\u0103ng t\u1ef1 \u0111\u1ed9ng m\u1edf r\u1ed9ng v\u00e0 \u0111\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u th\u1eddi gian th\u1ef1c, Cloud Firestore \u0111ang d\u1ea7n tr\u1edf th\u00e0nh n\u1ec1n t\u1ea3ng c\u1ed1t l\u00f5i gi\u00fap c\u00e1c t\u1ed5 ch\u1ee9c hi\u1ec7n \u0111\u1ea1i h\u00f3a h\u1ea1 t\u1ea7ng c\u00f4ng ngh\u1ec7. H\u00e3y c\u00f9ng Gimasys ph\u00e2n t\u00edch to\u00e0n di\u1ec7n ki\u1ebfn tr\u00fac Cloud Firestore NoSQL, nh\u1eefng \u0111\u1eb7c t\u00ednh c\u1ed1t l\u00f5i c\u1ee7a gi\u1ea3i ph\u00e1p v\u00e0 h\u01b0\u1edbng d\u1eabn chi ti\u1ebft v\u1ec1 c\u00e1ch s\u1eed d\u1ee5ng Cloud Firestore NoSQL.<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_87 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Cloud_Firestore_NoSQL_la_gi\" >Cloud Firestore NoSQL l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Dac_tinh_cot_loi_cua_Cloud_Firestore_giup_doanh_nghiep_tao_loi_the_canh_tranh\" >\u0110\u1eb7c t\u00ednh c\u1ed1t l\u00f5i c\u1ee7a Cloud Firestore gi\u00fap doanh nghi\u1ec7p t\u1ea1o l\u1ee3i th\u1ebf c\u1ea1nh tranh<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#1_Mo_hinh_so_do_du_lieu_linh_hoat_giup_rut_ngan_thoi_gian_phat_trien_san_pham\" >1. M\u00f4 h\u00ecnh s\u01a1 \u0111\u1ed3 d\u1eef li\u1ec7u linh ho\u1ea1t gi\u00fap r\u00fat ng\u1eafn th\u1eddi gian ph\u00e1t tri\u1ec3n s\u1ea3n ph\u1ea9m<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#2_Toi_uu_hoa_tong_chi_phi_so_huu_qua_he_thong_Serverless\" >2. T\u1ed1i \u01b0u h\u00f3a t\u1ed5ng chi ph\u00ed s\u1edf h\u1eefu qua h\u1ec7 th\u1ed1ng Serverless<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#3_Dong_bo_du_lieu_thoi_gian_thuc_giup_nang_tam_trai_nghiem_nguoi_dung\" >3. \u0110\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u th\u1eddi gian th\u1ef1c gi\u00fap n\u00e2ng t\u1ea7m tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Khi_nao_doanh_nghiep_nen_lua_chon_Cloud_Firestore_NoSQL\" >Khi n\u00e0o doanh nghi\u1ec7p n\u00ean l\u1ef1a ch\u1ecdn Cloud Firestore NoSQL?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#1_Ung_dung_yeu_cau_tuong_tac_thoi_gian_thuc\" >1. \u1ee8ng d\u1ee5ng y\u00eau c\u1ea7u t\u01b0\u01a1ng t\u00e1c th\u1eddi gian th\u1ef1c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#2_He_thong_co_luong_truy_cap_bien_dong_manh\" >2. H\u1ec7 th\u1ed1ng c\u00f3 l\u01b0\u1ee3ng truy c\u1eadp bi\u1ebfn \u0111\u1ed9ng m\u1ea1nh<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#3_Phat_trien_ung_dung_da_nen_tang_Mobile_Web\" >3. Ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng \u0111a n\u1ec1n t\u1ea3ng (Mobile &amp; Web)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Huong_dan_chi_tiet_cac_buoc_thiet_lap_co_so_du_lieu_Cloud_Firestore_Standard\" >H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1c b\u01b0\u1edbc thi\u1ebft l\u1eadp c\u01a1 s\u1edf d\u1eef li\u1ec7u Cloud Firestore Standard<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Buoc_1_Tao_du_an_tren_Bang_dieu_khien_quan_tri\" >B\u01b0\u1edbc 1: T\u1ea1o d\u1ef1 \u00e1n tr\u00ean B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n qu\u1ea3n tr\u1ecb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Buoc_2_Chuyen_den_muc_quan_ly_Cloud_Firestore\" >B\u01b0\u1edbc 2: Chuy\u1ec3n \u0111\u1ebfn m\u1ee5c qu\u1ea3n l\u00fd Cloud Firestore<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Buoc_3_Lua_chon_vi_tri_dia_ly_luu_tru_du_lieu_Location\" >B\u01b0\u1edbc 3: L\u1ef1a ch\u1ecdn v\u1ecb tr\u00ed \u0111\u1ecba l\u00fd l\u01b0u tr\u1eef d\u1eef li\u1ec7u (Location)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Buoc_4_Cau_hinh_quy_tac_bao_mat_ban_dau_Cloud_Firestore_Security_Rules\" >B\u01b0\u1edbc 4: C\u1ea5u h\u00ecnh quy t\u1eafc b\u1ea3o m\u1eadt ban \u0111\u1ea7u (Cloud Firestore Security Rules)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Buoc_5_Hoan_thien_them_va_xem_du_lieu_tren_Bang_dieu_khien\" >B\u01b0\u1edbc 5: Ho\u00e0n thi\u1ec7n th\u00eam v\u00e0 xem d\u1eef li\u1ec7u tr\u00ean B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Dong_hanh_cung_Gimasys_trong_viec_toi_uu_ha_tang_Google_Cloud\" >\u0110\u1ed3ng h\u00e0nh c\u00f9ng Gimasys trong vi\u1ec7c t\u1ed1i \u01b0u h\u1ea1 t\u1ea7ng Google Cloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/gcloudvn.com\/en\/cloud-firestore-nosql-giai-phap-hien-dai-hoa-ha-tang-du-lieu-cho-doanh-nghiep\/#Ket_luan\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Cloud_Firestore_NoSQL_la_gi\"><\/span><b>Cloud Firestore NoSQL l\u00e0 g\u00ec?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Cloud Firestore l\u00e0 c\u01a1 s\u1edf d\u1eef li\u1ec7u t\u00e0i li\u1ec7u (Document-oriented NoSQL Database) ho\u00e0n to\u00e0n kh\u00f4ng m\u00e1y ch\u1ee7, \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 l\u01b0u tr\u1eef, \u0111\u1ed3ng b\u1ed9 v\u00e0 truy v\u1ea5n d\u1eef li\u1ec7u cho c\u00e1c \u1ee9ng d\u1ee5ng quy m\u00f4 l\u1edbn tr\u00ean n\u1ec1n t\u1ea3ng <a href=\"https:\/\/gcloudvn.com\/en\/google-cloud-platform\/\">Google Cloud<\/a> v\u00e0 Firebase.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Kh\u00e1c v\u1edbi c\u00e1c h\u1ec7 qu\u1ea3n l\u00fd c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7 d\u1ef1a tr\u00ean b\u1ea3ng v\u00e0 d\u00f2ng, Cloud Firestore t\u1ed5 ch\u1ee9c d\u1eef li\u1ec7u theo m\u00f4 h\u00ecnh <\/span><b>T\u1eadp h\u1ee3p (Collections)<\/b><span style=\"font-weight: 400;\"> and <\/span><b>T\u00e0i li\u1ec7u<\/b><span style=\"font-weight: 400;\">. M\u1ed7i t\u00e0i li\u1ec7u ch\u1ee9a c\u00e1c c\u1eb7p kh\u00f3a &#8211; gi\u00e1 tr\u1ecb (Key-Value) v\u00e0 c\u00f3 th\u1ec3 ch\u1ee9a c\u00e1c t\u1eadp h\u1ee3p con (Sub-collections), cho ph\u00e9p bi\u1ec3u di\u1ec5n c\u00e1c c\u1ea5u tr\u00fac d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p m\u1ed9t c\u00e1ch t\u1ef1 nhi\u00ean.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Dac_tinh_cot_loi_cua_Cloud_Firestore_giup_doanh_nghiep_tao_loi_the_canh_tranh\"><\/span><b>\u0110\u1eb7c t\u00ednh c\u1ed1t l\u00f5i c\u1ee7a Cloud Firestore gi\u00fap doanh nghi\u1ec7p t\u1ea1o l\u1ee3i th\u1ebf c\u1ea1nh tranh<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Trong cu\u1ed9c \u0111ua chuy\u1ec3n \u0111\u1ed5i s\u1ed1, c\u00f4ng ngh\u1ec7 c\u01a1 s\u1edf d\u1eef li\u1ec7u kh\u00f4ng ch\u1ec9 \u0111\u00f3ng vai tr\u00f2 l\u01b0u tr\u1eef m\u00e0 c\u00f2n l\u00e0 \u0111\u1ed9ng c\u01a1 th\u00fac \u0111\u1ea9y s\u1ef1 \u0111\u1ed5i m\u1edbi s\u00e1ng t\u1ea1o. Nh\u1eefng \u0111\u1eb7c t\u00ednh kh\u00e1c bi\u1ec7t c\u1ee7a Cloud Firestore mang l\u1ea1i cho doanh nghi\u1ec7p 3 l\u1ee3i th\u1ebf c\u1ea1nh tranh chi\u1ebfn l\u01b0\u1ee3c:<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Mo_hinh_so_do_du_lieu_linh_hoat_giup_rut_ngan_thoi_gian_phat_trien_san_pham\"><\/span><b>1. M\u00f4 h\u00ecnh s\u01a1 \u0111\u1ed3 d\u1eef li\u1ec7u linh ho\u1ea1t gi\u00fap r\u00fat ng\u1eafn th\u1eddi gian ph\u00e1t tri\u1ec3n s\u1ea3n ph\u1ea9m<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Trong c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7, m\u1ed7i thay \u0111\u1ed5i v\u1ec1 thu\u1ed9c t\u00ednh s\u1ea3n ph\u1ea9m hay th\u00f4ng tin ng\u01b0\u1eddi d\u00f9ng \u0111\u1ec1u \u0111\u00f2i h\u1ecfi qu\u00e1 tr\u00ecnh thi\u1ebft l\u1eadp l\u1ea1i b\u1ea3ng th\u00f4ng tin \u0111\u1ea7y ph\u1ee9c t\u1ea1p, g\u00e2y gi\u00e1n \u0111o\u1ea1n h\u1ec7 th\u1ed1ng. Cloud Firestore gi\u1ea3i quy\u1ebft tri\u1ec7t \u0111\u1ec3 r\u00e0o c\u1ea3n n\u00e0y nh\u1edd c\u01a1 ch\u1ebf qu\u1ea3n l\u00fd d\u1eef li\u1ec7u linh ho\u1ea1t:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Kh\u00f4ng r\u00e0ng bu\u1ed9c s\u01a1 \u0111\u1ed3 c\u1ee9ng (Schema-less):<\/b><span style=\"font-weight: 400;\"> Cho ph\u00e9p b\u1ed5 sung c\u00e1c thu\u1ed9c t\u00ednh d\u1eef li\u1ec7u m\u1edbi tr\u1ef1c ti\u1ebfp v\u00e0o t\u00e0i li\u1ec7u m\u00e0 kh\u00f4ng c\u1ea7n d\u1eebng h\u1ec7 th\u1ed1ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>H\u1ed7 tr\u1ee3 t\u1eadp h\u1ee3p con \u0111a d\u1ea1ng (Sub-collections):<\/b><span style=\"font-weight: 400;\"> D\u1ec5 d\u00e0ng m\u1edf r\u1ed9ng c\u00e1c lu\u1ed3ng d\u1eef li\u1ec7u m\u1edbi ph\u1ee9c t\u1ea1p m\u00e0 v\u1eabn gi\u1eef nguy\u00ean t\u1ed1c \u0111\u1ed9 truy xu\u1ea5t.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u0110\u1eb7c t\u00ednh n\u00e0y gi\u00fap \u0111\u1ed9i ng\u0169 ph\u00e1t tri\u1ec3n r\u00fat ng\u1eafn th\u1eddi gian th\u1eed nghi\u1ec7m v\u00e0 ra m\u1eaft c\u00e1c t\u00ednh n\u0103ng m\u1edbi tr\u00ean \u1ee9ng d\u1ee5ng. Doanh nghi\u1ec7p c\u00f3 th\u1ec3 ph\u1ea3n \u1ee9ng nhanh ch\u00f3ng tr\u01b0\u1edbc c\u00e1c thay \u0111\u1ed5i c\u1ee7a th\u1ecb tr\u01b0\u1eddng m\u00e0 kh\u00f4ng lo ng\u1ea1i r\u1ee7i ro ngh\u1ebdn h\u1ea1 t\u1ea7ng.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Toi_uu_hoa_tong_chi_phi_so_huu_qua_he_thong_Serverless\"><\/span><b>2. T\u1ed1i \u01b0u h\u00f3a t\u1ed5ng chi ph\u00ed s\u1edf h\u1eefu qua h\u1ec7 th\u1ed1ng Serverless<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Vi\u1ec7c duy tr\u00ec c\u00e1c m\u00e1y ch\u1ee7 c\u01a1 s\u1edf d\u1eef li\u1ec7u truy\u1ec1n th\u1ed1ng th\u01b0\u1eddng t\u1ed1n k\u00e9m nhi\u1ec1u chi ph\u00ed nh\u00e0n r\u1ed7i. Cloud Firestore mang l\u1ea1i l\u1ee3i th\u1ebf v\u01b0\u1ee3t tr\u1ed9i v\u1ec1 m\u1eb7t ng\u00e2n s\u00e1ch th\u00f4ng qua c\u00e1c c\u01a1 ch\u1ebf:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>T\u1ef1 \u0111\u1ed9ng m\u1edf r\u1ed9ng quy m\u00f4 (Auto-scaling):<\/b><span style=\"font-weight: 400;\"> H\u1ec7 th\u1ed1ng t\u1ef1 \u0111\u1ed9ng \u0111i\u1ec1u ch\u1ec9nh t\u00e0i nguy\u00ean theo l\u01b0\u1ee3ng truy c\u1eadp th\u1ef1c t\u1ebf, x\u1eed l\u00fd t\u1eeb h\u00e0ng tr\u0103m \u0111\u1ebfn h\u00e0ng tri\u1ec7u truy v\u1ea5n \u0111\u1ed3ng th\u1eddi m\u00e0 kh\u00f4ng c\u1ea7n can thi\u1ec7p th\u1ee7 c\u00f4ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>M\u00f4 h\u00ecnh chi tr\u1ea3 theo l\u01b0u l\u01b0\u1ee3ng s\u1eed d\u1ee5ng:<\/b><span style=\"font-weight: 400;\"> Doanh nghi\u1ec7p ch\u1ec9 chi tr\u1ea3 cho s\u1ed1 l\u01b0\u1ee3ng thao t\u00e1c \u0111\u1ecdc, ghi, x\u00f3a v\u00e0 dung l\u01b0\u1ee3ng l\u01b0u tr\u1eef th\u1ef1c t\u1ebf.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Lo\u1ea1i b\u1ecf chi ph\u00ed v\u1eadn h\u00e0nh h\u1ea1 t\u1ea7ng:<\/b><span style=\"font-weight: 400;\"> Google Cloud \u0111\u1ea3m nh\u1eadn to\u00e0n b\u1ed9 vi\u1ec7c v\u00e1 l\u1ed7i b\u1ea3o m\u1eadt, n\u00e2ng c\u1ea5p ph\u1ea7n c\u1ee9ng v\u00e0 sao l\u01b0u d\u1ef1 ph\u00f2ng.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Nh\u1edd \u0111\u00f3, doanh nghi\u1ec7p kh\u00f4ng ch\u1ec9 t\u1ed1i \u01b0u h\u00f3a \u0111\u01b0\u1ee3c d\u00f2ng ti\u1ec1n m\u00e0 c\u00f2n gi\u1ea3m b\u1edbt g\u00e1nh n\u1eb7ng qu\u1ea3n tr\u1ecb cho \u0111\u1ed9i ng\u0169 nh\u00e2n s\u1ef1 k\u1ef9 thu\u1eadt n\u1ed9i b\u1ed9, t\u1eadp trung ngu\u1ed3n l\u1ef1c v\u00e0o c\u00e1c b\u00e0i to\u00e1n kinh doanh c\u1ed1t l\u00f5i.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Dong_bo_du_lieu_thoi_gian_thuc_giup_nang_tam_trai_nghiem_nguoi_dung\"><\/span><b>3. \u0110\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u th\u1eddi gian th\u1ef1c gi\u00fap n\u00e2ng t\u1ea7m tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">S\u1ef1 kh\u00e1c bi\u1ec7t l\u1edbn nh\u1ea5t gi\u1eefa Cloud Firestore v\u00e0 c\u00e1c c\u01a1 s\u1edf d\u1eef li\u1ec7u truy\u1ec1n th\u1ed1ng n\u1eb1m \u1edf kh\u1ea3 n\u0103ng c\u1eadp nh\u1eadt d\u1eef li\u1ec7u hai chi\u1ec1u t\u1ee9c th\u00ec m\u00e0 kh\u00f4ng c\u1ea7n \u1ee9ng d\u1ee5ng ph\u1ea3i g\u1eedi y\u00eau c\u1ea7u truy v\u1ea5n li\u00ean t\u1ee5c:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>S\u1eed d\u1ee5ng c\u01a1 ch\u1ebf L\u1eafng nghe d\u1eef li\u1ec7u (Data Listeners):<\/b><span style=\"font-weight: 400;\"> M\u1ecdi s\u1ef1 thay \u0111\u1ed5i d\u1eef li\u1ec7u t\u1ea1i c\u01a1 s\u1edf d\u1eef li\u1ec7u s\u1ebd \u0111\u01b0\u1ee3c \u0111\u1ea9y tr\u1ef1c ti\u1ebfp v\u1ec1 c\u00e1c thi\u1ebft b\u1ecb \u0111\u1ea7u cu\u1ed1i v\u1edbi \u0111\u1ed9 tr\u1ec5 t\u00ednh b\u1eb1ng mili gi\u00e2y.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Cam k\u1ebft m\u1ee9c \u0111\u1ed9 s\u1eb5n s\u00e0ng cao:<\/b><span style=\"font-weight: 400;\"> \u0110\u1ea3m b\u1ea3o ch\u1ec9 s\u1ed1 s\u1eb5n s\u00e0ng \u0111\u1ea1t 99.999% cho c\u00e1c h\u1ea1 t\u1ea7ng \u0111a v\u00f9ng.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u0110\u1eb7c t\u00ednh n\u00e0y mang l\u1ea1i l\u1ee3i th\u1ebf c\u1ea1nh tranh \u0111\u1eb7c bi\u1ec7t cho c\u00e1c doanh nghi\u1ec7p v\u1eadn h\u00e0nh \u1ee9ng d\u1ee5ng th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed, d\u1ecbch v\u1ee5 giao v\u1eadn, b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n t\u00e0i ch\u00ednh ho\u1eb7c h\u1ec7 th\u1ed1ng ch\u0103m s\u00f3c kh\u00e1ch h\u00e0ng \u0111a k\u00eanh \u2013 n\u01a1i tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng ph\u1ee5 thu\u1ed9c ho\u00e0n to\u00e0n v\u00e0o t\u00ednh t\u1ee9c th\u1eddi c\u1ee7a th\u00f4ng tin.<\/span><\/p>\n<p><a href=\"https:\/\/gcloudvn.com\/en\/demos-thuc-te-gemini-enterprise-agent-platform\/attachment\/anh-1-21-2\/\" rel=\"attachment wp-att-26661\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26661\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-1-21.png\" alt=\"\" width=\"1200\" height=\"360\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-1-21.png 1200w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-1-21-768x230.png 768w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-1-21-18x5.png 18w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Khi_nao_doanh_nghiep_nen_lua_chon_Cloud_Firestore_NoSQL\"><\/span><b>Khi n\u00e0o doanh nghi\u1ec7p n\u00ean l\u1ef1a ch\u1ecdn Cloud Firestore NoSQL?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Kh\u00f4ng c\u00f3 m\u1ed9t c\u01a1 s\u1edf d\u1eef li\u1ec7u n\u00e0o ho\u00e0n h\u1ea3o cho m\u1ecdi b\u00e0i to\u00e1n. Cloud Firestore s\u1ebd ph\u00e1t huy t\u1ed1i \u0111a gi\u00e1 tr\u1ecb kinh doanh v\u00e0 k\u1ef9 thu\u1eadt trong c\u00e1c k\u1ecbch b\u1ea3n sau:<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Ung_dung_yeu_cau_tuong_tac_thoi_gian_thuc\"><\/span><b>1. \u1ee8ng d\u1ee5ng y\u00eau c\u1ea7u t\u01b0\u01a1ng t\u00e1c th\u1eddi gian th\u1ef1c<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">C\u00e1c h\u1ec7 th\u1ed1ng nh\u01b0: B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n gi\u00e1m s\u00e1t (Dashboard), \u1ee9ng d\u1ee5ng nh\u1eafn tin doanh nghi\u1ec7p, h\u1ec7 th\u1ed1ng theo d\u00f5i \u0111\u01a1n h\u00e0ng b\u00e1n l\u1ebb, ho\u1eb7c n\u1ec1n t\u1ea3ng \u0111\u1ea5u gi\u00e1 tr\u1ef1c tuy\u1ebfn. Cloud Firestore gi\u00fap c\u1eaft gi\u1ea3m to\u00e0n b\u1ed9 chi ph\u00ed x\u00e2y d\u1ef1ng h\u1ea1 t\u1ea7ng WebSocket ph\u1ee9c t\u1ea1p nh\u1edd c\u01a1 ch\u1ebf \u0111\u1ed3ng b\u1ed9 t\u1ef1 \u0111\u1ed9ng.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_He_thong_co_luong_truy_cap_bien_dong_manh\"><\/span><b>2. H\u1ec7 th\u1ed1ng c\u00f3 l\u01b0\u1ee3ng truy c\u1eadp bi\u1ebfn \u0111\u1ed9ng m\u1ea1nh<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u0110\u1ed1i v\u1edbi c\u00e1c doanh nghi\u1ec7p b\u00e1n l\u1ebb ho\u1eb7c th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed th\u01b0\u1eddng xuy\u00ean c\u00f3 c\u00e1c \u0111\u1ee3t khuy\u1ebfn m\u1ea1i l\u1edbn (Flash Sale), l\u01b0\u1ee3t truy c\u1eadp c\u00f3 th\u1ec3 t\u0103ng g\u1ea5p h\u00e0ng tr\u0103m l\u1ea7n trong th\u1eddi gian ng\u1eafn. M\u00f4 h\u00ecnh Serverless c\u1ee7a Firestore gi\u00fap h\u1ec7 th\u1ed1ng t\u1ef1 \u0111\u1ed9ng \u0111\u00e1p \u1ee9ng nhu c\u1ea7u m\u00e0 kh\u00f4ng lo s\u1eadp m\u1ea1ng hay l\u00e3ng ph\u00ed t\u00e0i nguy\u00ean l\u00fac th\u1ea5p \u0111i\u1ec3m.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Phat_trien_ung_dung_da_nen_tang_Mobile_Web\"><\/span><b>3. Ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng \u0111a n\u1ec1n t\u1ea3ng (Mobile &amp; Web)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u0110\u1ed9i ng\u0169 ph\u00e1t tri\u1ec3n s\u1ea3n ph\u1ea9m c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp c\u00e1c \u1ee9ng d\u1ee5ng iOS, Android, Web v\u1edbi Cloud Firestore th\u00f4ng qua SDK ch\u00ednh th\u1ee9c, gi\u1ea3m b\u1edbt s\u1ef1 ph\u1ee5 thu\u1ed9c v\u00e0o vi\u1ec7c x\u00e2y d\u1ef1ng c\u00e1c l\u1edbp API trung gian cho c\u00e1c t\u00e1c v\u1ee5 CRUD th\u00f4ng th\u01b0\u1eddng.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Huong_dan_chi_tiet_cac_buoc_thiet_lap_co_so_du_lieu_Cloud_Firestore_Standard\"><\/span><b>H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1c b\u01b0\u1edbc thi\u1ebft l\u1eadp c\u01a1 s\u1edf d\u1eef li\u1ec7u Cloud Firestore Standard<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u0110\u1ec3 gi\u00fap \u0111\u1ed9i ng\u0169 k\u1ef9 thu\u1eadt nhanh ch\u00f3ng \u0111\u01b0a Cloud Firestore v\u00e0o th\u1eed nghi\u1ec7m v\u00e0 v\u1eadn h\u00e0nh, d\u01b0\u1edbi \u0111\u00e2y l\u00e0 h\u01b0\u1edbng d\u1eabn quy tr\u00ecnh kh\u1edfi t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u phi\u00ean b\u1ea3n Standard tr\u00ean B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n qu\u1ea3n tr\u1ecb.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc_1_Tao_du_an_tren_Bang_dieu_khien_quan_tri\"><\/span><b>B\u01b0\u1edbc 1: T\u1ea1o d\u1ef1 \u00e1n tr\u00ean B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n qu\u1ea3n tr\u1ecb<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Truy c\u1eadp v\u00e0o B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n qu\u1ea3n tr\u1ecb Firebase (Firebase Console) ho\u1eb7c Google Cloud Console.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Nh\u1ea5p ch\u1ecdn <\/span><b>Th\u00eam d\u1ef1 \u00e1n (Add project)<\/b><span style=\"font-weight: 400;\">, sau \u0111\u00f3 nh\u1eadp t\u00ean d\u1ef1 \u00e1n \u0111\u1ea1i di\u1ec7n cho doanh nghi\u1ec7p ho\u1eb7c \u1ee9ng d\u1ee5ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">L\u00e0m theo c\u00e1c b\u01b0\u1edbc h\u01b0\u1edbng d\u1eabn tr\u00ean m\u00e0n h\u00ecnh \u0111\u1ec3 ho\u00e0n t\u1ea5t kh\u1edfi t\u1ea1o ho\u1eb7c li\u00ean k\u1ebft d\u1ecbch v\u1ee5 v\u1edbi m\u1ed9t d\u1ef1 \u00e1n Google Cloud c\u00f3 s\u1eb5n.<\/span><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Buoc_2_Chuyen_den_muc_quan_ly_Cloud_Firestore\"><\/span><b>B\u01b0\u1edbc 2: Chuy\u1ec3n \u0111\u1ebfn m\u1ee5c qu\u1ea3n l\u00fd Cloud Firestore<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1ea1i danh m\u1ee5c d\u1ecbch v\u1ee5 \u1edf b\u00ean tr\u00e1i m\u00e0n h\u00ecnh, t\u00ecm \u0111\u1ebfn ph\u1ea7n <\/span><b>Build<\/b><span style=\"font-weight: 400;\"> (X\u00e2y d\u1ef1ng) ho\u1eb7c <\/span><b>Database<\/b><span style=\"font-weight: 400;\"> (C\u01a1 s\u1edf d\u1eef li\u1ec7u).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Nh\u1ea5p ch\u1ecdn m\u1ee5c <\/span><b>Firestore Database<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1ea1i giao di\u1ec7n, nh\u1ea5p v\u00e0o n\u00fat <\/span><b>T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u (Create database)<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Buoc_3_Lua_chon_vi_tri_dia_ly_luu_tru_du_lieu_Location\"><\/span><b>B\u01b0\u1edbc 3: L\u1ef1a ch\u1ecdn v\u1ecb tr\u00ed \u0111\u1ecba l\u00fd l\u01b0u tr\u1eef d\u1eef li\u1ec7u (Location)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">L\u1ef1a ch\u1ecdn v\u1ecb tr\u00ed l\u01b0u tr\u1eef l\u00e0 m\u1ed9t trong nh\u1eefng quy\u1ebft \u0111\u1ecbnh quan tr\u1ecdng nh\u1ea5t \u1ea3nh h\u01b0\u1edfng tr\u1ef1c ti\u1ebfp \u0111\u1ebfn \u0111\u1ed9 tr\u1ec5 v\u00e0 t\u00ednh tu\u00e2n th\u1ee7 d\u1eef li\u1ec7u:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ch\u1ecdn v\u00f9ng \u0111\u1ecba l\u00fd (Region) g\u1ea7n v\u1edbi t\u1eadp kh\u00e1ch h\u00e0ng m\u1ee5c ti\u00eau nh\u1ea5t.\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">v\u00ed d\u1ee5: c\u00e1c ph\u00e2n v\u00f9ng t\u1ea1i \u0110\u00f4ng Nam \u00c1 nh\u01b0 asia-southeast1 t\u1ea1i Singapore \u0111\u1ec3 t\u1ed1i \u01b0u t\u1ed1c \u0111\u1ed9 truy xu\u1ea5t.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">L\u01b0u \u00fd quan tr\u1ecdng: N\u1ebfu v\u1ecb tr\u00ed t\u00e0i nguy\u00ean Google Cloud m\u1eb7c \u0111\u1ecbnh c\u1ee7a d\u1ef1 \u00e1n \u0111\u00e3 \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp tr\u01b0\u1edbc \u0111\u00f3, h\u1ec7 th\u1ed1ng s\u1ebd t\u1ef1 \u0111\u1ed9ng \u0111\u1ed3ng b\u1ed9 v\u1ecb tr\u00ed n\u00e0y cho Cloud Firestore v\u00e0 kh\u00f4ng th\u1ec3 thay \u0111\u1ed5i sau khi \u0111\u00e3 kh\u1edfi t\u1ea1o.<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Buoc_4_Cau_hinh_quy_tac_bao_mat_ban_dau_Cloud_Firestore_Security_Rules\"><\/span><b>B\u01b0\u1edbc 4: C\u1ea5u h\u00ecnh quy t\u1eafc b\u1ea3o m\u1eadt ban \u0111\u1ea7u (Cloud Firestore Security Rules)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">H\u1ec7 th\u1ed1ng s\u1ebd y\u00eau c\u1ea7u l\u1ef1a ch\u1ecdn m\u1ed9t trong hai ch\u1ebf \u0111\u1ed9 b\u1ea3o m\u1eadt kh\u1edfi \u0111\u1ea7u:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Ch\u1ebf \u0111\u1ed9 th\u1eed nghi\u1ec7m (Test mode):<\/b>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u0110\u1eb7c \u0111i\u1ec3m: Cho ph\u00e9p t\u1ea5t c\u1ea3 c\u00e1c y\u00eau c\u1ea7u \u0111\u1ecdc v\u00e0 ghi d\u1eef li\u1ec7u truy c\u1eadp t\u1ef1 do m\u00e0 kh\u00f4ng c\u1ea7n x\u00e1c th\u1ef1c trong kho\u1ea3ng th\u1eddi gian nh\u1ea5t \u0111\u1ecbnh (m\u1eb7c \u0111\u1ecbnh 30 ng\u00e0y).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Khuy\u1ebfn ngh\u1ecb: Ch\u1ec9 \u00e1p d\u1ee5ng trong giai \u0111o\u1ea1n nghi\u00ean c\u1ee9u, ph\u00e1t tri\u1ec3n s\u1ea3n ph\u1ea9m ban \u0111\u1ea7u ho\u1eb7c th\u1eed nghi\u1ec7m t\u00ednh n\u0103ng v\u1edbi c\u00e1c th\u01b0 vi\u1ec7n \u1ee9ng d\u1ee5ng di \u0111\u1ed9ng v\u00e0 web.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/gcloudvn.com\/en\/demos-thuc-te-gemini-enterprise-agent-platform\/attachment\/anh-2-3-4\/\" rel=\"attachment wp-att-26660\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26660\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-2-3.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-2-3.jpg 1280w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-2-3-768x432.jpg 768w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/09\/Anh-2-3-18x10.jpg 18w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Ch\u1ebf \u0111\u1ed9 ph\u00e1t h\u00e0nh (Production mode):<\/b>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u0110\u1eb7c \u0111i\u1ec3m: M\u1eb7c \u0111\u1ecbnh t\u1eeb ch\u1ed1i to\u00e0n b\u1ed9 c\u00e1c thao t\u00e1c truy xu\u1ea5t \u0111\u1ecdc\/ghi t\u1eeb c\u00e1c \u1ee9ng d\u1ee5ng kh\u00e1ch (Client apps). Ch\u1ec9 c\u00e1c m\u00e1y ch\u1ee7 h\u1ee3p l\u1ec7 \u0111\u00e3 qua x\u00e1c th\u1ef1c m\u1edbi c\u00f3 quy\u1ec1n truy c\u1eadp.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Khuy\u1ebfn ngh\u1ecb: B\u1eaft bu\u1ed9c \u00e1p d\u1ee5ng cho c\u00e1c h\u1ec7 th\u1ed1ng \u0111ang v\u1eadn h\u00e0nh th\u1ef1c t\u1ebf \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o an to\u00e0n th\u00f4ng tin doanh nghi\u1ec7p.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Sau khi l\u1ef1a ch\u1ecdn ch\u1ebf \u0111\u1ed9 ph\u00f9 h\u1ee3p, nh\u1ea5p ch\u1ecdn <\/span><b>T\u1ea1o (Create)<\/b><span style=\"font-weight: 400;\"> \u0111\u1ec3 h\u1ec7 th\u1ed1ng ti\u1ebfn h\u00e0nh kh\u1edfi t\u1ea1o t\u00e0i nguy\u00ean c\u01a1 s\u1edf d\u1eef li\u1ec7u.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc_5_Hoan_thien_them_va_xem_du_lieu_tren_Bang_dieu_khien\"><\/span><b>B\u01b0\u1edbc 5: Ho\u00e0n thi\u1ec7n th\u00eam v\u00e0 xem d\u1eef li\u1ec7u tr\u00ean B\u1ea3ng \u0111i\u1ec1u khi\u1ec3n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Sau khi c\u01a1 s\u1edf d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c t\u1ea1o th\u00e0nh c\u00f4ng:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1ea1i tab <\/span><b>Data<\/b><span style=\"font-weight: 400;\"> (D\u1eef li\u1ec7u), nh\u1ea5p v\u00e0o <\/span><b>B\u1eaft \u0111\u1ea7u t\u1eadp h\u1ee3p (Start collection)<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Nh\u1eadp t\u00ean cho T\u1eadp h\u1ee3p (v\u00ed d\u1ee5: customers).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Kh\u1edfi t\u1ea1o T\u00e0i li\u1ec7u (Document) \u0111\u1ea7u ti\u00ean: B\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn \u0111\u1ec3 h\u1ec7 th\u1ed1ng t\u1ef1 \u0111\u1ed9ng t\u1ea1o m\u00e3 ID ho\u1eb7c t\u1ef1 \u0111\u1eb7t m\u00e3 ri\u00eang.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Th\u00eam c\u00e1c tr\u01b0\u1eddng d\u1eef li\u1ec7u (Fields), l\u1ef1a ch\u1ecdn ki\u1ec3u d\u1eef li\u1ec7u (String, Number, Boolean, Array, Map&#8230;) v\u00e0 nh\u1eadp gi\u00e1 tr\u1ecb t\u01b0\u01a1ng \u1ee9ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Save (Save)<\/b><span style=\"font-weight: 400;\">. D\u1eef li\u1ec7u ngay l\u1eadp t\u1ee9c s\u1ebd hi\u1ec3n th\u1ecb tr\u1ef1c quan d\u01b0\u1edbi d\u1ea1ng c\u00e2y c\u1ea5u tr\u00fac tr\u00ean m\u00e0n h\u00ecnh qu\u1ea3n tr\u1ecb.<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Dong_hanh_cung_Gimasys_trong_viec_toi_uu_ha_tang_Google_Cloud\"><\/span><b>\u0110\u1ed3ng h\u00e0nh c\u00f9ng Gimasys trong vi\u1ec7c t\u1ed1i \u01b0u h\u1ea1 t\u1ea7ng Google Cloud<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Kh\u1edfi t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u ch\u1ec9 l\u00e0 b\u01b0\u1edbc \u0111\u1ea7u ti\u00ean trong h\u00e0nh tr\u00ecnh x\u00e2y d\u1ef1ng m\u1ed9t h\u1ec7 th\u1ed1ng c\u00f4ng ngh\u1ec7 th\u00f4ng tin hi\u1ec7n \u0111\u1ea1i. \u0110\u1ec3 \u0111\u1ea3m b\u1ea3o c\u01a1 s\u1edf d\u1eef li\u1ec7u Cloud Firestore v\u1eadn h\u00e0nh \u1ed5n \u0111\u1ecbnh, b\u1ea3o m\u1eadt v\u00e0 t\u1ed1i \u01b0u chi ph\u00ed \u1edf quy m\u00f4 l\u1edbn, doanh nghi\u1ec7p r\u1ea5t c\u1ea7n s\u1ef1 \u0111\u1ed3ng h\u00e0nh t\u1eeb c\u00e1c \u0111\u01a1n v\u1ecb t\u01b0 v\u1ea5n gi\u00e0u kinh nghi\u1ec7m.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V\u1edbi th\u1ebf m\u1ea1nh l\u00e0 <\/span><b>\u0110\u1ed1i t\u00e1c Chi\u1ebfn l\u01b0\u1ee3c C\u1ea5p cao (Premier Partner) c\u1ee7a Google Cloud t\u1ea1i Vi\u1ec7t Nam<\/b><span style=\"font-weight: 400;\">,<a href=\"https:\/\/gcloudvn.com\/en\/\"> Gimasys<\/a> mang \u0111\u1ebfn c\u00e1c gi\u1ea3i ph\u00e1p chuy\u00ean s\u00e2u cho doanh nghi\u1ec7p:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>T\u01b0 v\u1ea5n ki\u1ebfn tr\u00fac &amp; M\u00f4 h\u00ecnh h\u00f3a d\u1eef li\u1ec7u:<\/b><span style=\"font-weight: 400;\"> \u0110\u1ed9i ng\u0169 chuy\u00ean gia tr\u1ef1c ti\u1ebfp kh\u1ea3o s\u00e1t CNTT c\u1ee7a doanh nghi\u1ec7p v\u00e0 t\u00f9y theo nhu c\u1ea7u m\u00e0 thi\u1ebft k\u1ebf m\u00f4 h\u00ecnh d\u1eef li\u1ec7u NoSQL t\u1ed1i \u01b0u cho t\u1eebng b\u00e0i to\u00e1n nghi\u1ec7p v\u1ee5 c\u1ee5 th\u1ec3.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>X\u00e2y d\u1ef1ng gi\u1ea3i ph\u00e1p b\u1ea3o m\u1eadt to\u00e0n di\u1ec7n:<\/b><span style=\"font-weight: 400;\"> C\u1ea5u h\u00ecnh h\u1ec7 th\u1ed1ng quy t\u1eafc b\u1ea3o m\u1eadt chuy\u00ean s\u00e2u, t\u00edch h\u1ee3p gi\u1ea3i ph\u00e1p qu\u1ea3n l\u00fd danh t\u00ednh gi\u00fap b\u1ea3o v\u1ec7 tuy\u1ec7t \u0111\u1ed1i d\u1eef li\u1ec7u quan tr\u1ecdng c\u1ee7a doanh nghi\u1ec7p.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>R\u00e0 so\u00e1t &amp; T\u1ed1i \u01b0u chi ph\u00ed v\u1eadn h\u00e0nh:<\/b><span style=\"font-weight: 400;\"> \u0110\u00e1nh gi\u00e1 hi\u1ec7u n\u0103ng truy v\u1ea5n, thi\u1ebft l\u1eadp c\u00e1c h\u1ea1n ng\u1ea1ch ng\u00e2n s\u00e1ch v\u00e0 \u0111\u01b0a ra c\u00e1c gi\u1ea3i ph\u00e1p c\u1ea3i ti\u1ebfn c\u00e2u l\u1ec7nh gi\u00fap doanh nghi\u1ec7p ti\u1ebft ki\u1ec7m chi ph\u00ed s\u1eed d\u1ee5ng h\u1ea1 t\u1ea7ng Google Cloud m\u1ed7i th\u00e1ng.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Ket_luan\"><\/span><b>Conclusion<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Cloud Firestore NoSQL phi\u00ean b\u1ea3n Standard mang \u0111\u1ebfn m\u1ed9t n\u1ec1n t\u1ea3ng l\u01b0u tr\u1eef m\u1ea1nh m\u1ebd, linh ho\u1ea1t v\u00e0 s\u1eb5n s\u00e0ng cho vi\u1ec7c m\u1edf r\u1ed9ng quy m\u00f4 \u1ee9ng d\u1ee5ng kh\u00f4ng gi\u1edbi h\u1ea1n. Vi\u1ec7c n\u1eafm v\u1eefng quy tr\u00ecnh thi\u1ebft l\u1eadp v\u00e0 hi\u1ec3u r\u00f5 b\u1ea3n ch\u1ea5t ki\u1ebfn tr\u00fac kh\u00f4ng m\u00e1y ch\u1ee7 s\u1ebd gi\u00fap c\u00e1c doanh nghi\u1ec7p nhanh ch\u00f3ng l\u00e0m ch\u1ee7 c\u00f4ng ngh\u1ec7, t\u1ea1o ti\u1ec1n \u0111\u1ec1 v\u1eefng ch\u1eafc cho qu\u00e1 tr\u00ecnh chuy\u1ec3n \u0111\u1ed5i s\u1ed1.<\/span><\/p>\n<p><b>H\u00e3y li\u00ean h\u1ec7 ngay v\u1edbi \u0111\u1ed9i ng\u0169 chuy\u00ean gia t\u1ea1i <a href=\"https:\/\/gcloudvn.com\/en\/dang-ky-dung-thu\/\">Gimasys<\/a><\/b><span style=\"font-weight: 400;\"> \u0111\u1ec3 nh\u1eadn t\u01b0 v\u1ea5n chuy\u00ean s\u00e2u v\u1ec1 gi\u1ea3i ph\u00e1p x\u00e2y d\u1ef1ng v\u00e0 t\u1ed1i \u01b0u h\u1ea1 t\u1ea7ng c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u00ean n\u1ec1n t\u1ea3ng Google Cloud.<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>V\u1edbi quy m\u00f4 ng\u01b0\u1eddi d\u00f9ng v\u00e0 l\u01b0u l\u01b0\u1ee3ng d\u1eef li\u1ec7u t\u01b0\u01a1ng t\u00e1c \u0111ang ng\u00e0y c\u00e0ng t\u0103ng tr\u01b0\u1edfng theo h\u1eb1ng ng\u00e0y, c\u00e1c h\u1ec7 th\u1ed1ng c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7 (SQL) truy\u1ec1n th\u1ed1ng \u0111ang d\u1ea7n b\u1ed9c l\u1ed9 nh\u1eefng h\u1ea1n ch\u1ebf v\u1ec1&hellip;<\/p>","protected":false},"author":2,"featured_media":26619,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1,135],"tags":[],"class_list":["post-26688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","category-google-cloud-platform","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/26688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=26688"}],"version-history":[{"count":1,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/26688\/revisions"}],"predecessor-version":[{"id":26689,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/26688\/revisions\/26689"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/26619"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=26688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=26688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=26688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}