Storage & Databases Storage & Databases
Hyperdrive Hyperdrive
Hyperdrive tăng tốc kết nối từ Workers tới Postgres/MySQL hiện có — giữ database bạn đang dùng. Tăng tốc kết nối tới Postgres/MySQL bên ngoài từ Workers — pooling và routing gần DB. Hyperdrive speeds Workers connections to your existing Postgres/MySQL — keep your current database. Accelerate external Postgres/MySQL from Workers — pooling and routing closer to the DB.
Là gì? What is it?
Hyperdrive tăng tốc kết nối từ Workers tới Postgres/MySQL hiện có — giữ database bạn đang dùng. Tăng tốc kết nối tới Postgres/MySQL bên ngoài từ Workers — pooling và routing gần DB. Hyperdrive speeds Workers connections to your existing Postgres/MySQL — keep your current database. Accelerate external Postgres/MySQL from Workers — pooling and routing closer to the DB.
Tại sao quan trọng? Why it matters
Lưu file, config và SQL nhỏ gọn — gắn trực tiếp vào Workers/Pages qua binding. Store files, config, and small SQL — bind directly to Workers/Pages.
Khi nào nên dùng? When to use it
- Khi bạn cần giải pháp Hyperdrive trên Cloudflare thay vì tự host When you need Hyperdrive on Cloudflare instead of self-hosting
- Khi team mới bắt đầu và muốn bản free/low-ops để thử When your team is starting out and wants a low-ops free tier to experiment
- Khi tài liệu chính thức gợi ý sản phẩm này cho use case của bạn When official docs recommend this product for your use case
Ví dụ đơn giản Simple example
Ví dụ: một team SME bật Hyperdrive cho website onboarding — họ thấy lợi ích ngay mà chưa cần kiến trúc phức tạp. Example: an SME team enables Hyperdrive for an onboarding site — they see value quickly without a complex architecture.
Đừng nhầm Hyperdrive với toàn bộ nền tảng Cloudflare — đây là một mảnh ghép; kết hợp với DNS/proxy và sản phẩm liên quan. Don’t confuse Hyperdrive with the entire Cloudflare platform — it’s one piece; combine it with DNS/proxy and related products.
Sản phẩm liên quan Related products
- R2 R2
R2 là object storage dùng lưu files (PDF, slides, assets) với pattern download/caching tốt. Object storage (S3-compatible) — ảnh, backup, asset; egress miễn phí so với nhiều cloud khác. R2 is object storage for files (PDFs, slides, assets) with good download/caching patterns. S3-compatible object storage — images, backups, assets; no egress fees vs many clouds.
- D1 D1
D1 là database SQL (SQLite) serverless của Cloudflare, phù hợp lưu dữ liệu có schema và query. SQLite serverless, replicate globally — bảng quan hệ nhỏ/vừa, workshop signup, config app. D1 is Cloudflare’s serverless SQL (SQLite) database for schema-based data and queries. Serverless SQLite, globally replicated — small/medium relational data, signups, app config.
- KV KV
KV là key-value storage phù hợp cho config, feature flags, cache nhẹ (không dùng cho transactional state). Key-value eventually consistent — feature flags, cache config, session nhẹ; đọc cực nhanh tại edge. KV is key-value storage for config, feature flags, and lightweight caching (not for transactional state). Eventually consistent key-value — feature flags, config cache, light sessions; very fast edge reads.
Tiếp theo Next step
Quay lại bản đồ sản phẩm hoặc chọn lộ trình học phù hợp. Return to the product map or pick a learning track.