Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mode Turbo
Halaman ini menjelaskan langkah opsional untuk mengaktifkan Mode Turbo untuk deployment Data Foundation Framework Cortex. Google Cloud Cortex Framework menawarkan dua
mode deployment berikut yang perlu dipertimbangkan saat menyiapkan
pipeline data Anda dalam file config.json
.
Mode Standar (turboMode=false
):
Opsi ini direkomendasikan jika Anda
masih melakukan penyesuaian pada sumber data atau mencurigai mungkin ada
ketidakcocokan antara tampilan dan tabel data yang sebenarnya. Dalam mode ini, proses deployment mencoba membuat semua tampilan yang ditentukan dalam
konfigurasi Anda, meskipun ada error di beberapa tampilan. Hal ini mungkin memerlukan waktu lebih lama,
tetapi membantu mengidentifikasi semua potensi masalah (ketidakcocokan antara tampilan dan tabel)
dalam satu operasi.
Mode Turbo (turboMode=true
):
Mode ini digunakan untuk deployment yang lebih cepat setelah konfigurasi sumber data Anda dilakukan dengan benar. Proses deployment
secara dinamis menghasilkan file cloudbuild.views.yaml
dengan setiap tampilan dalam
file dependensi yang tepat (misalnya, dependencies_ecc.txt
atau dependencies_s4.txt
)
sebagai satu langkah build. Hal ini dapat mempercepat waktu deployment secara signifikan (hingga 10 kali lebih cepat).
Namun, kelemahannya adalah jika ada error di tampilan apa pun selama deployment,
seluruh proses akan berhenti. Hal ini mungkin tidak ideal untuk tujuan proses debug karena Anda mungkin perlu menjalankan kembali deployment untuk mengidentifikasi error tertentu.
Sebaiknya pilih "Standar" untuk penyiapan awal atau pemecahan masalah, dan
"Turbo" untuk deployment yang lebih cepat nanti.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-09-04 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eTurbo Mode is an optional setting within the Cortex Framework Data Foundation deployment that offers faster deployment speeds.\u003c/p\u003e\n"],["\u003cp\u003eStandard Mode (\u003ccode\u003eturboMode=false\u003c/code\u003e) is designed for initial setup and troubleshooting, allowing the identification of errors in multiple views during a single deployment run.\u003c/p\u003e\n"],["\u003cp\u003eTurbo Mode (\u003ccode\u003eturboMode=true\u003c/code\u003e) is optimized for quicker deployments after the data source configuration is finalized, generating dependency files on-the-fly.\u003c/p\u003e\n"],["\u003cp\u003eWhile Turbo Mode greatly increases deployment speed, an error in any view will halt the entire process, making Standard Mode better for debugging.\u003c/p\u003e\n"],["\u003cp\u003eThe recommendation is to use Standard Mode initially and switch to Turbo Mode once the data source is correctly configured.\u003c/p\u003e\n"]]],[],null,["# Turbo mode\n==========\n\nThis page describes an optional step to enable the Turbo Mode for\nthe Cortex Framework Data Foundation deployment. Google Cloud Cortex Framework offers the following two\ndeployment modes to consider when setting up your\ndata pipelines in the [`config.json`](https://github.com/GoogleCloudPlatform/cortex-data-foundation/blob/main/config/config.json) file.\n\n1. **Standard Mode (`turboMode=false`)**:\n\n This option is recommended if you are\n still making adjustments to your data source or suspect there might be\n mismatches between your views and the actual data tables. In this mode, the\n deployment process attempts to create all the defined views in your\n configuration, even if there are errors in some views. This might take longer,\n but it helps identify all potential issues (mismatches between views and tables)\n in a single run.\n2. **Turbo Mode (`turboMode=true`)**:\n\n This mode is for faster deployments once your\n data source configuration is done correctly. The deployment process\n dynamically generates a `cloudbuild.views.yaml` file with each view in the\n right dependencies file (for example, `dependencies_ecc.txt` or `dependencies_s4.txt`)\n as a single step of the build. This can significantly speed up\n deployment times (up to 10 times faster).\n However, the downside is that if there's an error in any view during deployment,\n the entire process stops. This might not be ideal for debugging purposes\n as you might need to rerun the deployment to identify the specific error.\n\nThe suggestion is to choose \"Standard\" for initial setup or troubleshooting, and\n\"Turbo\" for faster deployments later."]]