Release & Deployment — 12 Thuật Ngữ Phát Hành Phần Mềm Developer Cần Biết

Deploy xong mà app sập là ác mộng của mọi developer. Để release an toàn, bạn cần hiểu các thuật ngữ từ hotfix, rollback đến blue-green deployment. Cùng học để deploy mà không run! 🚀 🔹 Phát hành & Bản vá English IPA Tiếng Việt Example release notes /rɪˈliːs noʊts/ ghi chú phát hành — tài liệu mô tả các thay đổi trong phiên bản mới The release notes for v3.1 include five new features and three bug fixes. hotfix /ˈhɑːtfɪks/ bản sửa nóng — bản vá khẩn cấp cho bug nghiêm trọng trên production We deployed a hotfix at 2 AM to fix the payment processing crash. patch /pætʃ/ bản vá — bản cập nhật nhỏ sửa lỗi, không thêm tính năng mới The security patch fixes two critical vulnerabilities in the authentication module. rollback /ˈroʊlbæk/ quay lại — hoàn tác deployment, trở về phiên bản trước The new release caused 500 errors, so we did a rollback to the previous version immediately. semantic versioning /sɪˈmæntɪk ˈvɜːrʒənɪŋ/ đánh số phiên bản theo ngữ nghĩa — quy tắc MAJOR.MINOR.PATCH Following semantic versioning, we bumped from 2.3.1 to 3.0.0 because of breaking changes. changelog /ˈtʃeɪndʒlɔːɡ/ nhật ký thay đổi — danh sách tất cả thay đổi qua các phiên bản Always update the changelog before creating a release tag. 🔹 Chiến lược deploy English IPA Tiếng Việt Example feature flag /ˈfiːtʃər flæɡ/ cờ tính năng — toggle để bật/tắt tính năng mà không cần deploy lại We hid the new dashboard behind a feature flag and only enabled it for beta testers. blue-green deployment /bluː ɡriːn dɪˈplɔɪmənt/ triển khai xanh lam-xanh lục — chạy 2 môi trường song song, chuyển traffic khi sẵn sàng With blue-green deployment, we can switch traffic to the new version instantly and roll back if needed. canary release /kəˈnɛri rɪˈliːs/ phát hành canary — deploy cho một phần nhỏ user trước để kiểm tra We did a canary release to 5% of users first, then gradually increased to 100% over two days. 🔹 Vận hành & Bảo trì English IPA Tiếng Việt Example downtime /ˈdaʊntaɪm/ thời gian ngưng hoạt động — khoảng thời gian hệ thống không khả dụng The deployment caused 10 minutes of downtime because we didn’t use zero-downtime strategy. maintenance window /ˈmeɪntənəns ˈwɪndoʊ/ khung giờ bảo trì — thời gian được lên lịch trước để bảo trì hệ thống We schedule the maintenance window from 2 AM to 4 AM on Sundays when traffic is lowest. post-deployment /poʊst dɪˈplɔɪmənt/ sau triển khai — các hoạt động kiểm tra và giám sát sau khi deploy Our post-deployment checklist includes monitoring error rates, checking logs, and verifying key user flows. 💡 Mẹo ghi nhớ Hotfix vs Patch: Hotfix = “lửa cháy, chữa ngay” (khẩn cấp, deploy ngoài kế hoạch). Patch = “sửa lỗi theo kế hoạch” (không gấp). Cả hai đều sửa bug, nhưng hotfix có mức độ khẩn cấp cao hơn. Blue-Green vs Canary: Blue-Green = chuyển 100% traffic cùng lúc sang version mới. Canary = chuyển từ từ (5% → 25% → 100%). Canary an toàn hơn vì phát hiện lỗi sớm với ít user bị ảnh hưởng. SemVer dễ nhớ: MAJOR.MINOR.PATCH = “Phá.Thêm.Sửa”. MAJOR tăng khi breaking change. MINOR tăng khi thêm feature. PATCH tăng khi fix bug. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

05/03/2023 · 4 phút · 743 từ · Cuong TQ

Monitoring & Observability — 15 Thuật Ngữ Giám Sát Hệ Thống Developer Cần Biết

Hệ thống chạy tốt hay không, bạn phải đo lường được mới biết. Monitoring & Observability là kỹ năng quan trọng giúp bạn phát hiện sự cố sớm, debug nhanh, và giữ service ổn định. Cùng học 15 thuật ngữ quan trọng nhất trong lĩnh vực này nhé! 📊 🔹 Ba trụ cột Observability English IPA Tiếng Việt Example metrics /ˈmɛtrɪks/ số liệu đo lường (CPU, memory, request count) We track metrics like response time and error rate on every endpoint. logs /lɒɡz/ nhật ký hệ thống Check the application logs to find out why the request returned a 500 error. traces /treɪsɪz/ dấu vết request xuyên suốt các service Distributed traces show that the delay is in the payment service, not the API gateway. 🔹 Cảnh báo & Dashboard English IPA Tiếng Việt Example alerting /əˈlɜːrtɪŋ/ cảnh báo tự động khi có bất thường Set up alerting to notify the team when error rate exceeds 5%. dashboard /ˈdæʃbɔːrd/ bảng điều khiển hiển thị số liệu The Grafana dashboard shows real-time CPU and memory usage across all servers. health check /hɛlθ tʃɛk/ kiểm tra tình trạng hoạt động The load balancer pings the /health check endpoint every 30 seconds. 🔹 Cam kết & Chỉ tiêu English IPA Tiếng Việt Example SLA /ˌɛs.ɛl.ˈeɪ/ Service Level Agreement — cam kết mức dịch vụ Our SLA guarantees 99.9% uptime for enterprise customers. SLO /ˌɛs.ɛl.ˈoʊ/ Service Level Objective — mục tiêu nội bộ về chất lượng We set an SLO of 200ms p99 latency for the search API. uptime /ˈʌptaɪm/ thời gian hệ thống hoạt động The service maintained 99.95% uptime last quarter. downtime /ˈdaʊntaɪm/ thời gian hệ thống ngừng hoạt động The scheduled downtime for maintenance is from 2 AM to 4 AM on Sunday. 🔹 Xử lý sự cố English IPA Tiếng Việt Example incident /ˈɪnsɪdənt/ sự cố ảnh hưởng đến service We declared a P1 incident when the payment system went down. on-call /ɒn kɔːl/ trực — sẵn sàng xử lý sự cố I’m on-call this week, so I’ll respond to any production alerts. runbook /ˈrʌnbʊk/ tài liệu hướng dẫn xử lý sự cố Follow the runbook to restart the service and verify it’s healthy. postmortem /poʊstˈmɔːrtəm/ báo cáo phân tích sau sự cố We wrote a postmortem to document the root cause and prevent it from happening again. MTTR /ˌɛm.tiː.tiː.ˈɑːr/ Mean Time To Recovery — thời gian trung bình khôi phục Our goal is to keep MTTR under 30 minutes for critical incidents. 💡 Mẹo ghi nhớ Metrics, Logs, Traces = ba trụ cột observability. Metrics cho biết “có vấn đề gì?”, Logs cho biết “vấn đề xảy ra ở đâu?”, Traces cho biết “request đi qua những service nào và bị chậm ở đâu?”. SLA vs SLO: SLA = cam kết với khách hàng (vi phạm phải đền bù). SLO = mục tiêu nội bộ (thường cao hơn SLA để có “buffer”). Ví dụ: SLA 99.9% nhưng SLO 99.95%. Postmortem nghĩa gốc là “khám nghiệm tử thi” — trong IT là “mổ xẻ” sự cố để tìm nguyên nhân gốc rễ. Không blame ai, chỉ tìm cách cải thiện! 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

08/02/2023 · 4 phút · 725 từ · Cuong TQ

Networking — 15 Thuật Ngữ Mạng Mà Developer Nào Cũng Phải Biết

Dù bạn là frontend hay backend developer, networking là nền tảng mà mọi thứ trên internet đều dựa vào. Hiểu rõ thuật ngữ mạng bằng tiếng Anh giúp bạn debug nhanh hơn, đọc docs chuẩn hơn, và tự tin hơn khi discuss kiến trúc hệ thống. Cùng mình khám phá 15 từ vựng quan trọng nhất nhé! 🌐 🔹 Giao thức cơ bản English IPA Tiếng Việt Example TCP /ˌtiː.siː.ˈpiː/ Transmission Control Protocol — giao thức truyền tin cậy TCP ensures all packets arrive in the correct order. UDP /ˌjuː.diː.ˈpiː/ User Datagram Protocol — giao thức truyền nhanh, không đảm bảo Video streaming uses UDP because speed matters more than reliability. IP address /ˌaɪ.ˈpiː əˈdrɛs/ địa chỉ IP — định danh thiết bị trên mạng Each server has a unique IP address to receive incoming traffic. port /pɔːrt/ cổng kết nối mạng The web server listens on port 80 for HTTP and 443 for HTTPS. 🔹 DNS & Truy cập web English IPA Tiếng Việt Example DNS /ˌdiː.en.ˈɛs/ Domain Name System — hệ thống phân giải tên miền DNS translates domain names like google.com into IP addresses. HTTP /ˌeɪtʃ.tiː.tiː.ˈpiː/ HyperText Transfer Protocol — giao thức truyền tải web The browser sends an HTTP request to fetch the webpage. HTTPS /ˌeɪtʃ.tiː.tiː.piː.ˈɛs/ HTTP Secure — HTTP có mã hóa SSL/TLS Always use HTTPS in production to encrypt data in transit. SSL/TLS /ˌɛs.ɛs.ˈɛl ˌtiː.ɛl.ˈɛs/ giao thức mã hóa kết nối We renewed the SSL/TLS certificate before it expired. 🔹 Hạ tầng mạng English IPA Tiếng Việt Example firewall /ˈfaɪərwɔːl/ tường lửa — lọc traffic vào/ra The firewall blocks all incoming traffic except port 443. load balancer /loʊd ˈbælənsər/ bộ cân bằng tải Our load balancer distributes requests across three backend servers. proxy /ˈprɒksi/ máy chủ trung gian (phía client) The company uses a proxy to filter outbound web requests. reverse proxy /rɪˈvɜːrs ˈprɒksi/ proxy ngược (phía server) Nginx acts as a reverse proxy in front of our application servers. 🔹 Hiệu năng mạng English IPA Tiếng Việt Example CDN /ˌsiː.diː.ˈɛn/ Content Delivery Network — mạng phân phối nội dung We serve static assets through a CDN to reduce page load time globally. latency /ˈleɪtənsi/ độ trễ mạng The latency between our server in Tokyo and users in Vietnam is about 50ms. bandwidth /ˈbændwɪdθ/ băng thông — dung lượng truyền tải We upgraded our bandwidth to handle the traffic spike during Black Friday. 💡 Mẹo ghi nhớ TCP vs UDP: TCP giống gửi thư bảo đảm (chậm nhưng chắc chắn đến). UDP giống hét qua cửa sổ (nhanh nhưng có thể mất). Video call dùng UDP vì mất 1-2 frame không sao, nhưng chuyển tiền phải dùng TCP! Proxy vs Reverse Proxy: Proxy đứng phía client (bảo vệ người dùng). Reverse proxy đứng phía server (bảo vệ server). Nhớ: “reverse” = đảo ngược vị trí. Latency vs Bandwidth: Latency = thời gian nước chảy từ đầu ống đến cuối ống. Bandwidth = độ rộng của ống. Ống to mà dài thì vẫn chậm! 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

04/02/2023 · 4 phút · 681 từ · Cuong TQ

Từ Vựng Linux & Terminal — Thuật Ngữ Dòng Lệnh Cho Developer

Dù bạn là backend developer, DevOps engineer hay chỉ đơn giản là muốn deploy app lên server, bạn sẽ cần làm việc với Linux terminal. Hiểu rõ thuật ngữ tiếng Anh sẽ giúp bạn đọc man page, Stack Overflow và giao tiếp với team hiệu quả hơn. Let’s go! 🐧 🔹 Môi trường Terminal English IPA Tiếng Việt Example shell /ʃɛl/ trình thông dịch lệnh Bash is the default shell on most Linux distributions. terminal /ˈtɜːrmɪnəl/ cửa sổ dòng lệnh Open a terminal window and navigate to the project directory. command /kəˈmænd/ lệnh Run the ls command to list all files in the current directory. flag /flæɡ/ cờ (tùy chọn của lệnh) Add the -a flag to show hidden files when listing directory contents. alias /ˈeɪliəs/ bí danh (tên tắt cho lệnh) Create an alias alias ll='ls -la' so you don’t have to type the full command. 🔹 Luồng dữ liệu English IPA Tiếng Việt Example pipe /paɪp/ ống dẫn (nối output lệnh này sang lệnh khác) Use a pipe to send the output of cat into grep for filtering. redirect /ˌriːdəˈrɛkt/ chuyển hướng (ghi output ra file) Redirect the error output to a log file using 2> error.log. grep /ɡrɛp/ tìm kiếm văn bản Use grep to search for the error message across all log files. 🔹 Hệ thống & Quyền English IPA Tiếng Việt Example permission /pərˈmɪʃən/ quyền truy cập (read, write, execute) Change the file permission to 755 so the script can be executed. process /ˈprɒsɛs/ tiến trình (chương trình đang chạy) Use ps aux to list all running processes on the server. daemon /ˈdiːmən/ tiến trình nền (chạy liên tục) Nginx runs as a daemon that listens for incoming HTTP requests. sudo /ˈsuːduː/ chạy với quyền root Use sudo to install packages because it requires administrator privileges. environment variable /ɪnˈvaɪrənmənt ˈvɛriəbl/ biến môi trường Set the DATABASE_URL environment variable in the .env file. 🔹 Tự động hóa & Kết nối English IPA Tiếng Việt Example cron /krɒn/ cron (bộ lập lịch chạy tự động) Set up a cron job to run the database backup script every night at 2 AM. SSH /ɛs.ɛs.eɪtʃ/ kết nối bảo mật từ xa Use SSH to connect to the production server and check the application logs. 💡 Mẹo ghi nhớ Pipe (|) = ống nước nối hai vòi lại. Output của lệnh trước chảy thẳng vào input của lệnh sau: cat log.txt | grep "error" | wc -l. Daemon phát âm là “dee-mon” 👹, không phải “day-mon”. Đây là các process chạy ngầm — giống nhân viên trực ca đêm, luôn sẵn sàng phục vụ. sudo = “Super User DO” — làm gì đó với quyền super user (root). Cẩn thận khi dùng! 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

03/02/2023 · 3 phút · 632 từ · Cuong TQ

Từ Vựng Kubernetes — Thuật Ngữ K8s Dành Cho Developer

Kubernetes (K8s) là nền tảng orchestration container phổ biến nhất hiện nay. Thuật ngữ K8s khá nhiều và đặc thù, nên nếu bạn mới bắt đầu sẽ thấy hơi “ngợp”. Bài này giúp bạn nắm rõ 14 thuật ngữ cốt lõi để đọc docs và làm việc với K8s tự tin hơn. ☸️ 🔹 Đơn vị cơ bản English IPA Tiếng Việt Example pod /pɒd/ pod (đơn vị nhỏ nhất trong K8s) Each pod runs one or more containers that share the same network namespace. node /noʊd/ node (máy chủ vật lý hoặc ảo) The scheduler assigns pods to a node based on available resources. namespace /ˈneɪmspeɪs/ không gian tên (phân chia tài nguyên) Create a separate namespace for each team to isolate their resources. manifest /ˈmænɪfɛst/ tệp khai báo (YAML config) Apply the manifest file to create the deployment using kubectl apply -f. 🔹 Workload & Scaling English IPA Tiếng Việt Example deployment /dɪˈplɔɪmənt/ triển khai (quản lý pod) The deployment ensures three replicas of the API server are always running. replica set /ˈrɛplɪkə sɛt/ bộ bản sao (duy trì số lượng pod) The replica set automatically creates a new pod if one crashes. horizontal pod autoscaler /ˌhɒrɪˈzɒntl pɒd ˌɔːtoʊˈskeɪlər/ bộ tự động mở rộng pod theo chiều ngang (HPA) The horizontal pod autoscaler scales up to 10 pods when CPU exceeds 80%. 🔹 Networking & Config English IPA Tiếng Việt Example service /ˈsɜːrvɪs/ dịch vụ (expose pod ra mạng) Create a service of type LoadBalancer to expose the app to the internet. ingress /ˈɪnɡrɛs/ điểm vào (quản lý traffic HTTP) Configure an ingress rule to route /api requests to the backend service. configmap /kənˈfɪɡmæp/ bản đồ cấu hình (lưu config dạng key-value) Store the database URL in a configmap instead of hardcoding it in the container. secret /ˈsiːkrɪt/ bí mật (lưu thông tin nhạy cảm) Put the API key in a Kubernetes secret and mount it as an environment variable. persistent volume /pərˈsɪstənt ˈvɒljuːm/ ổ đĩa bền vững (lưu trữ lâu dài) Attach a persistent volume to the database pod so data survives restarts. 🔹 Công cụ quản lý English IPA Tiếng Việt Example helm /hɛlm/ helm (trình quản lý package K8s) Use Helm charts to deploy complex applications with a single command. kubectl /ˌkuːb ˈkʌtl/ kubectl (CLI quản lý K8s) Run **kubectl** get pods to list all running pods in the current namespace. 💡 Mẹo ghi nhớ Pod giống như một “căn phòng” chứa 1 hoặc nhiều container cùng chia sẻ mạng và storage. Hầu hết pod chỉ chạy 1 container. Service vs Ingress: Service expose pod trong cluster (internal), Ingress expose ra ngoài internet (external) với routing rules. ConfigMap vs Secret: Cùng lưu config, nhưng Secret được mã hóa base64 và có cơ chế bảo mật riêng — dùng cho password, API key, certificate. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

02/02/2023 · 4 phút · 657 từ · Cuong TQ

Từ Vựng CI/CD Pipeline — Thuật Ngữ Tích Hợp & Triển Khai Liên Tục

CI/CD (Continuous Integration / Continuous Delivery) là xương sống của quy trình phát triển phần mềm hiện đại. Nếu bạn muốn đọc hiểu Jenkins, GitHub Actions hay GitLab CI config, thì cần nắm vững các thuật ngữ dưới đây. Cùng học nào! ⚡ 🔹 Quy trình cơ bản English IPA Tiếng Việt Example pipeline /ˈpaɪplaɪn/ đường ống (chuỗi bước tự động) The pipeline runs unit tests, builds the Docker image, and deploys to staging automatically. build /bɪld/ biên dịch / đóng gói The build step compiles the source code and generates a deployable artifact. test /tɛst/ kiểm thử All test stages must pass before the code can be merged into the main branch. deploy /dɪˈplɔɪ/ triển khai We deploy to the staging environment first, then promote to production after QA approval. artifact /ˈɑːrtɪfækt/ sản phẩm đầu ra (file build) The artifact from the build step is a JAR file stored in our Nexus repository. 🔹 Điều khiển Pipeline English IPA Tiếng Việt Example stage /steɪdʒ/ giai đoạn Our pipeline has three stages: build, test, and deploy. trigger /ˈtrɪɡər/ kích hoạt (sự kiện bắt đầu pipeline) A push to the main branch will trigger the deployment pipeline automatically. webhook /ˈwɛbhʊk/ hook web (callback URL tự động) Configure a webhook on GitHub to notify Jenkins whenever a new commit is pushed. environment /ɪnˈvaɪrənmənt/ môi trường (dev, staging, production) Deploy to the staging environment first to catch issues before production. 🔹 Chiến lược triển khai English IPA Tiếng Việt Example rollback /ˈroʊlbæk/ quay lại phiên bản trước We had to rollback to v1.3.2 because the new release caused a critical error. blue-green /bluː ɡriːn/ triển khai xanh-xanh (hai môi trường song song) With blue-green deployment, we switch traffic to the new version instantly. canary /kəˈnɛri/ triển khai canary (phát hành từ từ) Roll out the update as a canary deployment to 5% of users before going full. feature flag /ˈfiːtʃər flæɡ/ cờ tính năng (bật/tắt feature) Use a feature flag to enable the new checkout flow only for beta users. 💡 Mẹo ghi nhớ Pipeline = dây chuyền sản xuất trong nhà máy. Code đi qua từng trạm (stage): build → test → deploy. Blue-Green vs Canary: Blue-green = chuyển 100% traffic sang version mới cùng lúc (có thể switch back). Canary = chuyển từ từ (5% → 20% → 100%). Feature Flag = công tắc đèn 💡. Bật = user thấy feature mới, tắt = user dùng version cũ. Không cần deploy lại! 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

01/02/2023 · 3 phút · 602 từ · Cuong TQ

Từ Vựng Git — Thuật Ngữ Version Control Cho Developer

Git là công cụ quản lý mã nguồn mà developer nào cũng phải dùng. Nhưng nhiều bạn chỉ biết git add, git commit, git push mà chưa thực sự hiểu rõ nghĩa các thuật ngữ đằng sau. Bài này sẽ giúp bạn hiểu sâu từ vựng Git để tự tin hơn khi làm việc với team quốc tế. 💪 🔹 Nền tảng Git English IPA Tiếng Việt Example repository /rɪˈpɒzɪtɔːri/ kho lưu trữ mã nguồn Clone the repository and check out the develop branch to start working. commit /kəˈmɪt/ lưu thay đổi (một snapshot) Each commit should represent a single logical change with a clear message. branch /brɑːntʃ/ nhánh (phiên bản phát triển song song) Create a feature branch from main before making any changes. HEAD /hɛd/ con trỏ (vị trí hiện tại trong lịch sử) HEAD points to the latest commit on the current branch. remote /rɪˈmoʊt/ kho từ xa Add a new remote to push your code to both GitHub and GitLab. origin /ˈɒrɪdʒɪn/ nguồn gốc (remote mặc định) By default, git push sends your commits to origin. 🔹 Thao tác nhánh English IPA Tiếng Việt Example merge /mɜːrdʒ/ hợp nhất (gộp nhánh) Merge the feature branch into main after the code review is approved. rebase /riːˈbeɪs/ tái cơ sở (đặt lại gốc nhánh) Rebase your branch on top of main to keep a linear commit history. cherry-pick /ˈtʃeri pɪk/ chọn lọc commit We need to cherry-pick that hotfix commit into the release branch. conflict /ˈkɒnflɪkt/ xung đột (khi hai nhánh sửa cùng file) Resolve the merge conflict in app.js before pushing your changes. stash /stæʃ/ cất tạm (lưu thay đổi chưa commit) Stash your changes before switching branches so you don’t lose any work. 🔹 Collaboration & Review English IPA Tiếng Việt Example pull request /pʊl rɪˈkwɛst/ yêu cầu gộp code (PR) Open a pull request and assign two reviewers before merging. tag /tæɡ/ thẻ (đánh dấu phiên bản) Create a tag v2.0.0 to mark the production release. diff /dɪf/ khác biệt (so sánh thay đổi) Review the diff carefully to make sure no debug code is left. blame /bleɪm/ truy vết (xem ai sửa dòng nào) Use git **blame** to find out who introduced this bug and when. 💡 Mẹo ghi nhớ Merge vs Rebase: Merge tạo “nút giao” (merge commit), rebase “xếp lại” commit thành đường thẳng. Team thích clean history → rebase, team thích giữ nguyên lịch sử → merge. Stash = “nhét vào ngăn kéo tạm”. Bạn đang code dở, cần switch branch → stash lại, xong việc thì git stash pop để lấy ra. Blame nghe “đổ lỗi” nhưng thực ra là công cụ truy vết cực kỳ hữu ích — ai sửa dòng này, khi nào, trong commit nào. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

31/01/2023 · 3 phút · 631 từ · Cuong TQ

Từ Vựng Docker — Thuật Ngữ Container Mà Developer Cần Biết

Docker đã trở thành công cụ không thể thiếu trong workflow của developer hiện đại. Dù bạn đang build microservices hay chỉ muốn setup môi trường dev nhanh gọn, việc hiểu rõ thuật ngữ Docker bằng tiếng Anh sẽ giúp bạn đọc docs, communicate với team quốc tế tự tin hơn rất nhiều. Cùng tìm hiểu nhé! 🐳 🔹 Khái niệm cơ bản English IPA Tiếng Việt Example image /ˈɪmɪdʒ/ ảnh (bản mẫu chỉ đọc) We need to pull the latest image from Docker Hub before deploying. container /kənˈteɪnər/ container (thể hiện đang chạy của image) The container crashed because it ran out of memory. layer /ˈleɪər/ lớp (tầng trong image) Each instruction in a Dockerfile creates a new layer in the image. tag /tæɡ/ thẻ (nhãn phiên bản) Always use a specific tag like v1.2.3 instead of latest in production. 🔹 Lưu trữ & Mạng English IPA Tiếng Việt Example volume /ˈvɒljuːm/ ổ đĩa ảo (lưu trữ persistent) Mount a volume to persist database data between container restarts. network /ˈnetwɜːrk/ mạng (kết nối giữa các container) Create a custom network so the API container can talk to the database container. port mapping /pɔːrt ˈmæpɪŋ/ ánh xạ cổng Use port mapping -p 8080:80 to expose the container’s port 80 on the host’s port 8080. 🔹 Dockerfile & Build English IPA Tiếng Việt Example Dockerfile /ˈdɒkərfaɪl/ tệp cấu hình Docker The Dockerfile defines all the steps needed to build our application image. build context /bɪld ˈkɒntekst/ ngữ cảnh build (thư mục gửi đến Docker daemon) Keep the build context small by using a .dockerignore file. entrypoint /ˈentripɔɪnt/ điểm khởi chạy Set the entrypoint to node server.js so the container starts the app automatically. CMD /siː.ɛm.diː/ lệnh mặc định The CMD instruction provides default arguments that can be overridden at runtime. multi-stage build /ˌmʌlti steɪdʒ bɪld/ build nhiều giai đoạn Use a multi-stage build to keep the final image small by discarding build dependencies. 🔹 Registry & Orchestration English IPA Tiếng Việt Example registry /ˈredʒɪstri/ kho lưu trữ image We pushed the image to our private registry on AWS ECR. compose /kəmˈpoʊz/ biên soạn (Docker Compose — công cụ quản lý multi-container) Define all services in a compose file and run them with docker compose up. 💡 Mẹo ghi nhớ Image vs Container: Image giống như class trong OOP, còn container giống như instance — image là bản thiết kế, container là thứ đang chạy thực tế. Entrypoint vs CMD: Entrypoint là “chương trình chính” luôn chạy, CMD là “tham số mặc định” có thể ghi đè. Nhớ: Entry = cửa vào bắt buộc, CMD = command tùy chọn. Layer: Mỗi dòng trong Dockerfile = 1 layer. Gộp các RUN command lại bằng && để giảm số layer → image nhỏ hơn. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

30/01/2023 · 4 phút · 642 từ · Cuong TQ

AWS Cost Optimization — Thuật Ngữ Tối Ưu Chi Phí Cloud

Cloud rất tiện nhưng nếu không quản lý tốt, bill AWS có thể “bay” nhanh hơn bạn tưởng. Hiểu các thuật ngữ cost optimization sẽ giúp bạn tiết kiệm đáng kể — và đây cũng là kỹ năng mà mọi công ty đều cần ở developer và DevOps engineer. 🔹 Mô hình mua tài nguyên English IPA Tiếng Việt Example reserved instance /rɪˈzɜːrvd ˈɪnstəns/ máy chủ đặt trước (cam kết dài hạn) We saved 40% by switching production servers to reserved instances. spot instance /spɒt ˈɪnstəns/ máy chủ giá rẻ theo thị trường Use spot instances for batch processing jobs that can handle interruptions. savings plan /ˈseɪvɪŋz plæn/ gói tiết kiệm cam kết sử dụng A savings plan offers flexible discounts across EC2, Lambda, and Fargate. free tier /friː tɪər/ gói miễn phí New AWS accounts get 12 months of free tier for many services. 🔹 Giám sát & cảnh báo chi phí English IPA Tiếng Việt Example cost explorer /kɒst ɪkˈsplɔːrər/ công cụ phân tích chi phí Use Cost Explorer to see which service is driving up your monthly bill. budget /ˈbʌdʒɪt/ ngân sách Set a monthly budget of $500 and get notified at 80% usage. billing alarm /ˈbɪlɪŋ əˈlɑːrm/ cảnh báo hóa đơn Create a billing alarm to alert the team when costs exceed $1000. 🔹 Chiến lược tối ưu English IPA Tiếng Việt Example right-sizing /raɪt ˈsaɪzɪŋ/ chọn đúng kích cỡ tài nguyên Right-sizing analysis showed we could downgrade from m5.xlarge to m5.large. idle resource /ˈaɪdəl ˈriːsɔːrs/ tài nguyên không sử dụng Terminate idle resources like unused EBS volumes and old snapshots. data transfer cost /ˈdeɪtə ˈtrænsfɜːr kɒst/ chi phí truyền dữ liệu Data transfer costs between regions can add up quickly if you’re not careful. tagging /ˈtæɡɪŋ/ gắn nhãn tài nguyên Use consistent tagging to track costs by project and team. cost allocation /kɒst ˌæləˈkeɪʃən/ phân bổ chi phí Enable cost allocation tags to see how much each department spends. 💡 Mẹo ghi nhớ Reserved vs Spot: Reserved = đặt phòng khách sạn trước (rẻ hơn, cam kết), Spot = phòng last-minute (siêu rẻ nhưng có thể bị hủy bất cứ lúc nào). Right-sizing = “mặc đúng size áo” — không mua áo XL khi chỉ cần size M. Tagging = “dán nhãn” — giống việc dán nhãn đồ trong tủ lạnh để biết của ai, tốn bao nhiêu. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

29/01/2023 · 3 phút · 592 từ · Cuong TQ

Cloud Computing Cơ Bản — Thuật Ngữ Đám Mây Cho Developer

Dù bạn dùng AWS, Azure hay GCP, các thuật ngữ cloud computing cơ bản đều giống nhau. Đây là những từ vựng nền tảng mà mọi developer cần biết trước khi đi sâu vào bất kỳ cloud platform nào. Nắm vững chúng sẽ giúp bạn đọc tài liệu, phỏng vấn và thảo luận kiến trúc tự tin hơn rất nhiều. 🔹 Mô hình dịch vụ Cloud English IPA Tiếng Việt Example IaaS (Infrastructure as a Service) /aɪæs/ hạ tầng dưới dạng dịch vụ EC2 is an IaaS product — you manage the OS and everything above it. PaaS (Platform as a Service) /pæs/ nền tảng dưới dạng dịch vụ Heroku is a PaaS — just push your code and it handles the rest. SaaS (Software as a Service) /sæs/ phần mềm dưới dạng dịch vụ Gmail and Slack are examples of SaaS applications. 🔹 Mô hình triển khai English IPA Tiếng Việt Example public cloud /ˈpʌblɪk klaʊd/ đám mây công cộng AWS and Azure are the largest public cloud providers. private cloud /ˈpraɪvɪt klaʊd/ đám mây riêng The bank runs a private cloud to meet strict compliance requirements. hybrid cloud /ˈhaɪbrɪd klaʊd/ đám mây kết hợp Our hybrid cloud setup keeps sensitive data on-premises while running web apps on AWS. multi-tenant /ˈmʌlti ˈtɛnənt/ nhiều khách thuê chung hạ tầng SaaS applications are typically multi-tenant — all customers share the same infrastructure. on-premises /ɒn ˈprɛmɪsɪz/ tại chỗ, máy chủ nội bộ We are migrating from on-premises servers to the cloud. 🔹 Đặc tính & lợi ích Cloud English IPA Tiếng Việt Example elasticity /ˌɪlæˈstɪsɪti/ khả năng co giãn tự động Cloud elasticity means resources scale up during peak hours and scale down at night. scalability /ˌskeɪləˈbɪləti/ khả năng mở rộng The system was designed for scalability — it can handle 10x the current load. migration /maɪˈɡreɪʃən/ di chuyển hệ thống The cloud migration project took six months to complete. pay-as-you-go /peɪ æz juː ɡoʊ/ trả theo mức sử dụng The pay-as-you-go model means you only pay for what you actually use. region /ˈriːdʒən/ vùng trung tâm dữ liệu Deploy your app in the Tokyo region for lowest latency to Japanese users. edge location /ɛdʒ loʊˈkeɪʃən/ điểm phân phối biên CloudFront caches content at edge locations close to end users. 💡 Mẹo ghi nhớ IaaS / PaaS / SaaS — tưởng tượng như pizza: IaaS = bạn tự nướng (chỉ có nguyên liệu), PaaS = mua pizza đông lạnh (chỉ cần nướng), SaaS = gọi ship pizza (chỉ cần ăn). Elasticity vs Scalability: Elasticity = tự động co giãn (như dây thun), Scalability = khả năng mở rộng khi cần (như thêm tầng cho tòa nhà). On-premises — lưu ý chính tả: là “premises” (có s), KHÔNG phải “on-premise”. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...

28/01/2023 · 4 phút · 651 từ · Cuong TQ