This is an automated email from the ASF dual-hosted git repository.
Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new a63895d879 docs: refocus homepage and README on application value
(#8514)
a63895d879 is described below
commit a63895d879e57e001fb27579d179e461238f94ee
Author: Xuanwo <[email protected]>
AuthorDate: Fri Nov 13 16:22:44 2026 +0800
docs: refocus homepage and README on application value (#8514)
* docs: refocus homepage and README on application value
* docs(website): update Rust core snippets to the current API
* docs: tighten homepage and README sample wording
* fix(website): fit the logo wall on mobile and fill the bindings grid
---
README.md | 375 +++++++++------------
website/docs/10-core/01-overview.md | 2 +-
website/docs/10-core/02-getting-started.md | 16 +-
website/docs/10-core/03-connecting.md | 2 +-
website/src/components/concepts/samples.js | 3 +-
website/src/components/landing/ExplorerSection.jsx | 53 +--
website/src/components/landing/data.js | 284 ++++++----------
website/src/components/landing/explorer.module.css | 85 +----
website/src/components/landing/sections.jsx | 90 +++--
website/src/components/landing/styles.module.css | 71 +++-
website/src/pages/index.jsx | 8 +-
11 files changed, 400 insertions(+), 589 deletions(-)
diff --git a/README.md b/README.md
index 4b4b5da0c3..2d697c4528 100644
--- a/README.md
+++ b/README.md
@@ -4,207 +4,157 @@
[](https://opendal.apache.org/discord)
[](https://deepwiki.com/apache/opendal)
-Apache OpenDAL™ (`/ˈoʊ.pən.dæl/`, pronounced "OH-puhn-dal") is an Open Data
Access Layer that gives every language a unified way to access object storage,
file storage, cloud SaaS, databases, protocols, and key-value services.
+**Apache OpenDAL™** (`/ˈoʊ.pən.dæl/`, pronounced "OH-puhn-dal") is an Open
Data Access Layer that keeps application storage code clean, from simple file
reads and writes to streaming, byte-range reads, and concurrent uploads.
-Apache OpenDAL™ is guided by its vision of **One Layer, All Storage** and its
core principles: **Open Community**, **Solid Foundation**, **Fast Access**,
**Object Storage First**, and **Extensible Architecture**. Read the explained
vision at [OpenDAL Vision](https://opendal.apache.org/vision).
+Use OpenDAL when your application talks to a single S3 bucket or local
directory and you want one API for everyday operations, large transfers, and
retries. Keep the same operator model when you test in memory, develop on local
disk, or connect to [50+ storage services][Services Docs] from Rust, Python,
Node.js, Java, Go, and more.
-<img src="./website/static/img/architectural.png" alt="OpenDAL Architecture"
width="100%" />
+## Why OpenDAL
-## At a Glance
+- **Clean code for a single backend**: read, write, stat, list, copy, and
delete through one `Operator`. Paths, metadata, and error kinds follow one
model across operations.
+- **Built for demanding I/O**: stream large objects, read only the byte ranges
you need, and upload parts concurrently on services with multipart or block
writes. Add retries, timeouts, observability, and concurrency limits as layers.
+- **Portable across environments and backends**: use `memory` in tests, `fs`
in local development, and object storage, file systems, databases, or key-value
services in production. Capability checks show where services differ.
+- **Proven in data-intensive systems**: projects such as Dify, RAGFlow,
LlamaIndex, Databend, RisingWave, GreptimeDB, and Lance build on OpenDAL. Read
how [ScopeDB accesses object storage with OpenDAL][ScopeDB Case Study].
-- Project: Apache OpenDAL™
-- Vision: **One Layer, All Storage**
-- Core package: Rust crate [`opendal`][Rust Core Link]
-- Main abstraction: `Operator`
-- Extension points: language bindings, layers, and services
-- Common layers: retry, timeout, logging, tracing, metrics, throttling, and
concurrency control
-- Access targets: object storage, file systems, cloud SaaS, databases,
protocols, and key-value services
+Bindings share the service model and follow their own language conventions, so
available options and layers vary by binding. Each language guide lists what
its binding supports.
-## Why OpenDAL
+## Quickstart
+
+Each quickstart uses the in-memory service, so it runs without credentials.
The second snippet in each language shows the same API against S3.
+
+### Python
+
+```shell
+pip install opendal
+```
+
+```python
+import opendal
+
+op = opendal.Operator("memory")
+
+op.write("hello.txt", b"Hello, World!")
+print(op.read("hello.txt").decode())
+print(f"size = {op.stat('hello.txt').content_length} bytes")
+op.delete("hello.txt")
+```
+
+Point the operator at S3, add retries, and read only what you need:
+
+```python
+import opendal
+from opendal.layers import RetryLayer
+
+op = opendal.Operator("s3", bucket="my-bucket", region="us-east-1").layer(
+ RetryLayer(max_times=3)
+)
+
+# Read only the first 64 KiB of an object.
+header = op.read("data/events.parquet", offset=0, size=64 * 1024)
+
+# Stream a large object instead of loading it into memory.
+total = 0
+with op.open("data/events.parquet", "rb") as f:
+ while chunk := f.read(1024 * 1024):
+ total += len(chunk)
+```
+
+See the [Python guide][Python Guide] for async APIs, error handling, and
production setup.
+
+### Rust
-Apache OpenDAL™ turns the vision of **One Layer, All Storage** into a
practical data access layer for applications, libraries, and data systems.
+```shell
+cargo add opendal
+cargo add tokio --features full
+```
-- **Zero-cost core**: built in Rust with composable services and layers, so
applications only enable the backends and capabilities they use.
-- **Production-ready access**: add retry, timeout, logging, tracing, metrics,
throttling, and concurrency limits through reusable layers.
-- **One API, all storage**: access object storage, file systems, cloud SaaS,
databases, protocols, and key-value services through the same interface.
-- **Open and extensible**: add new services, layers, and language bindings
while keeping the same unified access model.
+```rust
+use opendal::services;
+use opendal::Operator;
+use opendal::Result;
+
+#[tokio::main]
+async fn main() -> Result<()> {
+ let op = Operator::new(services::Memory::default())?;
+
+ op.write("hello.txt", "Hello, World!").await?;
+ let bytes = op.read("hello.txt").await?;
+ let meta = op.stat("hello.txt").await?;
+ op.delete("hello.txt").await?;
+
+ println!("read {} bytes, stat reports {} bytes", bytes.len(),
meta.content_length());
+ Ok(())
+}
+```
+
+Enable a service with its feature, for example `cargo add opendal --features
services-s3`. This fragment reads a byte range and uploads a large object in
concurrent parts:
+
+```rust
+use opendal::layers::RetryLayer;
+use opendal::services::S3;
+use opendal::Operator;
+
+let op = Operator::new(S3::default().bucket("my-bucket").region("us-east-1"))?
+ .layer(RetryLayer::new().with_jitter());
+
+// Read only the first 64 KiB of an object.
+let header = op.read_with("data/events.parquet").range(0..64 * 1024).await?;
+
+// Keep up to 4 part uploads in flight. `close` waits for them and commits the
object.
+let mut writer = op
+ .writer_with("archive/big.bin")
+ .chunk(8 * 1024 * 1024)
+ .concurrent(4)
+ .await?;
+writer.write(first_part).await?;
+writer.write(second_part).await?;
+writer.close().await?;
+```
+
+See the [Rust core guide][Rust Core Guide] and the [API reference][Rust Core
Release Docs] for streaming readers, conditional operations, and layers.
+
+Configure credentials and other options as described in each service's
documentation, for example [S3][S3 Service Docs].
## Choose Your Language
-Start with the binding for your application runtime. Each binding provides
access to the same OpenDAL service model while following its language ecosystem.
-
-> **Note**: Each binding has its own independent version number, which may
differ from the Rust core version. When checking for updates or compatibility,
always refer to the specific binding's version rather than the core version.
-
-| | | | |
-| :---: | :---: | :---: | :---: |
-| <img src="./website/static/img/bindings/rust.svg" width="42" height="42"
alt="Rust logo"><br>**[Rust Core]**<br>[Package][Rust Core Link] · [Docs][Rust
Core Release Docs] · [Dev Docs][Rust Core Dev Docs] | <img
src="./website/static/img/bindings/c.svg" width="42" height="42" alt="C
logo"><br>**[C Binding]**<br>[Dev Docs][C Binding Dev Docs] | <img
src="./website/static/img/bindings/cpp.svg" width="42" height="42" alt="C++
logo"><br>**[Cpp Binding]**<br>[Dev Docs][Cpp Binding Dev Docs] [...]
-| <img src="./website/static/img/bindings/dart.svg" width="42" height="42"
alt="Dart logo"><br>**[Dart Binding]** | <img
src="./website/static/img/bindings/dotnet.svg" width="42" height="42" alt=".NET
logo"><br>**[Dotnet Binding]** | <img
src="./website/static/img/bindings/go.svg" width="42" height="42" alt="Go
logo"><br>**[Go Binding]**<br>[Package][Go Binding Link] · [Docs][Go Release
Docs] | <img src="./website/static/img/bindings/haskell.svg" width="42"
height="42" alt="Haskell logo" [...]
-| <img src="./website/static/img/bindings/java.svg" width="42" height="42"
alt="Java logo"><br>**[Java Binding]**<br>[Package][Java Binding Link] ·
[Docs][Java Binding Release Docs] · [Dev Docs][Java Binding Dev Docs] | <img
src="./website/static/img/bindings/lua.svg" width="42" height="42" alt="Lua
logo"><br>**[Lua Binding]** | <img
src="./website/static/img/bindings/nodejs.svg" width="42" height="42"
alt="Node.js logo"><br>**[Node.js Binding]**<br>[Package][Node.js Binding Link]
· [Dev [...]
-| <img src="./website/static/img/bindings/php.svg" width="42" height="42"
alt="PHP logo"><br>**[PHP Binding]** | <img
src="./website/static/img/bindings/python.svg" width="42" height="42"
alt="Python logo"><br>**[Python Binding]**<br>[Package][Python Binding Link] ·
[Dev Docs][Python Binding Dev Docs] | <img
src="./website/static/img/bindings/ruby.svg" width="42" height="42" alt="Ruby
logo"><br>**[Ruby Binding]**<br>[Package][Ruby Binding Link] · [Docs][Ruby
Binding Docs] | <img src="./w [...]
-| <img src="./website/static/img/bindings/zig.svg" width="42" height="42"
alt="Zig logo"><br>**[Zig Binding]** | | | |
-
-## Choose Your Layers
-
-Add layers when your application needs cross-service behavior such as retries,
timeouts, observability, or traffic control.
-
-| | | | |
-| :---: | :---: | :---: | :---: |
-| <img src="./website/static/img/layers/retry.svg" width="42" height="42"
alt="Retry icon"><br>**[RetryLayer]**<br>Retry temporary failures. | <img
src="./website/static/img/layers/timeout.svg" width="42" height="42"
alt="Timeout icon"><br>**[TimeoutLayer]**<br>Bound slow or hanging operations.
| <img src="./website/static/img/layers/logging.svg" width="42" height="42"
alt="Logging icon"><br>**[LoggingLayer]**<br>Emit structured operation logs. |
<img src="./website/static/img/layers/tra [...]
-| <img src="./website/static/img/layers/metrics.svg" width="42" height="42"
alt="Metrics icon"><br>**[MetricsLayer]**<br>Export operation metrics. | <img
src="./website/static/img/layers/prometheus.svg" width="42" height="42"
alt="Prometheus icon"><br>**[PrometheusLayer]**<br>Expose Prometheus metrics. |
<img src="./website/static/img/layers/otel.svg" width="42" height="42"
alt="OpenTelemetry icon"><br>**[OtelMetricsLayer]**<br>Export OpenTelemetry
metrics. | <img src="./website/static/i [...]
-| <img src="./website/static/img/layers/content-type.svg" width="42"
height="42" alt="Content type icon"><br>**[MimeGuessLayer]**<br>Infer
`Content-Type` from paths. | <img src="./website/static/img/layers/route.svg"
width="42" height="42" alt="Route icon"><br>**[RouteLayer]**<br>Route
operations by path. | <img src="./website/static/img/layers/cache.svg"
width="42" height="42" alt="Cache icon"><br>**[FoyerLayer]**<br>Add hybrid
cache behavior. | <img src="./website/static/img/layers/lay [...]
-
-Explore all available layers in the [layers documentation][Layers Docs].
-
-## Choose Your Services
-
-Pick the storage services that your application needs. See the full OpenDAL
service configuration docs in the [services documentation][Services Docs].
-
-<table width="100%">
- <tr>
- <th colspan="3" align="left">Object Storage</th>
- <th colspan="3" align="left">File Storage</th>
- </tr>
- <tr>
- <td width="16.66%"><a href="https://aws.amazon.com/s3/"><img
src="./website/static/img/services/s3.svg" width="18" height="18" alt="AWS
logo"> s3</a></td>
- <td width="16.66%"><a href="https://cloud.google.com/storage"><img
src="./website/static/img/services/gcs.png" width="18" height="18" alt="Google
Cloud logo"> gcs</a></td>
- <td width="16.66%"><a
href="https://azure.microsoft.com/en-us/services/storage/blobs/"><img
src="./website/static/img/services/azure.svg" width="18" height="18" alt="Azure
logo"> azblob</a></td>
- <td width="16.66%"><a
href="https://opendal.apache.org/docs/rust/opendal/services/struct.Fs.html"><img
src="./website/static/img/services/opendal.svg" width="18" height="18"
alt="OpenDAL logo"> fs</a></td>
- <td width="16.66%"><a
href="https://hadoop.apache.org/docs/r3.3.4/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html"><img
src="./website/static/img/services/hadoop.ico" width="18" height="18"
alt="Apache Hadoop logo"> hdfs</a></td>
- <td width="16.66%"><a
href="https://github.com/Kimahriman/hdfs-native"><img
src="./website/static/img/services/hadoop.ico" width="18" height="18"
alt="Apache Hadoop logo"> hdfs-native</a></td>
- </tr>
- <tr>
- <td><a href="https://www.aliyun.com/product/oss"><img
src="./website/static/img/services/oss.svg" width="26" height="16" alt="Alibaba
Cloud logo"> oss</a></td>
- <td><a href="https://www.huaweicloud.com/intl/en-us/product/obs.html"><img
src="./website/static/img/services/obs.png" width="40" height="16" alt="Huawei
Cloud logo"> obs</a></td>
- <td><a href="https://www.tencentcloud.com/products/cos"><img
src="./website/static/img/services/cos.svg" width="26" height="18" alt="Tencent
Cloud logo"> cos</a></td>
- <td><a
href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/WebHDFS.html"><img
src="./website/static/img/services/hadoop.ico" width="18" height="18"
alt="Apache Hadoop logo"> webhdfs</a></td>
- <td><a href="https://lakefs.io/"><img
src="./website/static/img/services/lakefs.ico" width="18" height="18"
alt="lakeFS logo"> lakefs</a></td>
- <td><a href="https://ipfs.tech/"><img
src="./website/static/img/services/ipfs.ico" width="18" height="18" alt="IPFS
logo"> ipfs</a></td>
- </tr>
- <tr>
- <td><a href="https://www.volcengine.com/product/tos"><img
src="./website/static/img/services/volcengine.png" width="18" height="18"
alt="Volcengine logo"> tos</a></td>
- <td><a href="https://www.backblaze.com/"><img
src="./website/static/img/services/backblaze.png" width="18" height="18"
alt="Backblaze logo"> b2</a></td>
- <td><a href="https://docs.openstack.org/swift/latest/"><img
src="./website/static/img/services/openstack.png" width="18" height="18"
alt="OpenStack logo"> swift</a></td>
- <td><a href="https://docs.ipfs.tech/concepts/file-systems/"><img
src="./website/static/img/services/ipfs.ico" width="18" height="18" alt="IPFS
logo"> ipmfs</a></td>
- <td><a
href="https://learn.microsoft.com/en-us/rest/api/storageservices/file-service-rest-api"><img
src="./website/static/img/services/azure.svg" width="18" height="18"
alt="Azure logo"> azfile</a></td>
- <td><a
href="https://azure.microsoft.com/en-us/products/storage/data-lake-storage/"><img
src="./website/static/img/services/azure.svg" width="18" height="18"
alt="Azure logo"> azdls</a></td>
- </tr>
- <tr>
- <td><a href="https://www.upyun.com/"><img
src="./website/static/img/services/upyun.png" width="18" height="18" alt="Upyun
logo"> upyun</a></td>
- <td><a href="https://vercel.com/docs/storage/vercel-blob"><img
src="./website/static/img/services/vercel.png" width="18" height="18"
alt="Vercel logo"> vercel-blob</a></td>
- <td></td>
- <td><a
href="https://docs.alluxio.io/os/user/stable/en/api/REST-API.html"><img
src="./website/static/img/services/alluxio.svg" width="18" height="18"
alt="Alluxio logo"> alluxio</a></td>
- <td><a href="https://github.com/Tencent/tencent-goosefs-rust-sdk"><img
src="./website/static/img/services/cos.svg" width="26" height="18" alt="Tencent
Cloud logo"> goosefs</a></td>
- <td><a href="https://docs.databricks.com/en/dbfs/index.html"><img
src="./website/static/img/services/databricks.png" width="18" height="18"
alt="Databricks logo"> dbfs</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://www.mongodb.com/docs/manual/core/gridfs/"><img
src="./website/static/img/services/mongodb.ico" width="18" height="18"
alt="MongoDB logo"> gridfs</a></td>
- <td><a
href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system"><img
src="./website/static/img/services/mdn.svg" width="18" height="18" alt="MDN
Web Docs logo"> opfs</a></td>
- <td><a href="https://github.com/bytedance/monoio"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> monoiofs</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://github.com/compio-rs/compio/"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> compfs</a></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <th colspan="3" align="left">Cloud SaaS</th>
- <th colspan="3" align="left">Standard Protocols</th>
- </tr>
- <tr>
- <td><a href="https://www.google.com/drive/"><img
src="./website/static/img/services/gdrive.png" width="18" height="18"
alt="Google Drive logo"> gdrive</a></td>
- <td><a href="https://www.dropbox.com/"><img
src="./website/static/img/services/dropbox.ico" width="18" height="18"
alt="Dropbox logo"> dropbox</a></td>
- <td><a
href="https://www.microsoft.com/en-us/microsoft-365/onedrive/online-cloud-storage"><img
src="./website/static/img/services/onedrive.svg" width="18" height="18"
alt="OneDrive logo"> onedrive</a></td>
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP"><img
src="./website/static/img/services/http.png" width="18" height="18" alt="HTTP
icon"> http</a></td>
- <td><a href="https://datatracker.ietf.org/doc/html/rfc959"><img
src="./website/static/img/services/ftp.png" width="18" height="18" alt="FTP
icon"> ftp</a></td>
- <td><a href="https://datatracker.ietf.org/doc/html/rfc4918"><img
src="./website/static/img/services/webdav.png" width="18" height="18"
alt="WebDAV icon"> webdav</a></td>
- </tr>
- <tr>
- <td><a href="https://www.aliyundrive.com/"><img
src="./website/static/img/services/aliyundrive.png" width="18" height="18"
alt="Aliyun Drive logo"> aliyun-drive</a></td>
- <td><a href="https://huggingface.co/"><img
src="./website/static/img/services/huggingface.ico" width="18" height="18"
alt="Hugging Face logo"> hf</a></td>
- <td><a href="https://github.com/"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> github</a></td>
- <td><a
href="https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-02"><img
src="./website/static/img/services/sftp.png" width="18" height="18" alt="SFTP
icon"> sftp</a></td>
- <td><a href="https://git-scm.com/"><img
src="./website/static/img/services/github.svg" width="18" height="18" alt="Git
logo"> git</a></td>
- <td></td>
- </tr>
- <tr>
- <td><a href="https://www.pcloud.com/"><img
src="./website/static/img/services/pcloud.png" width="18" height="18"
alt="pCloud logo"> pcloud</a></td>
- <td><a href="https://koofr.eu/"><img
src="./website/static/img/services/koofr.ico" width="18" height="18" alt="Koofr
logo"> koofr</a></td>
- <td><a href="https://www.seafile.com/"><img
src="./website/static/img/services/seafile.png" width="18" height="18"
alt="Seafile logo"> seafile</a></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td><a href="https://360.yandex.com/disk/"><img
src="./website/static/img/services/yandex.png" width="18" height="18"
alt="Yandex Disk logo"> yandex-disk</a></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <th colspan="3" align="left">Databases</th>
- <th colspan="3" align="left">Key-Value & Embedded</th>
- </tr>
- <tr>
- <td><a href="https://www.sqlite.org/"><img
src="./website/static/img/services/sqlite.ico" width="18" height="18"
alt="SQLite logo"> sqlite</a></td>
- <td><a href="https://www.mysql.com/"><img
src="./website/static/img/services/mysql.ico" width="18" height="18" alt="MySQL
logo"> mysql</a></td>
- <td><a href="https://www.postgresql.org/"><img
src="./website/static/img/services/postgresql.ico" width="18" height="18"
alt="PostgreSQL logo"> postgresql</a></td>
- <td><img src="./website/static/img/services/opendal.svg" width="18"
height="18" alt="OpenDAL logo"> memory</td>
- <td><a href="https://redis.io/"><img
src="./website/static/img/services/redis.png" width="18" height="18" alt="Redis
logo"> redis</a></td>
- <td><a href="https://etcd.io/"><img
src="./website/static/img/services/etcd.png" width="18" height="18" alt="etcd
logo"> etcd</a></td>
- </tr>
- <tr>
- <td><a href="https://www.mongodb.com/"><img
src="./website/static/img/services/mongodb.ico" width="18" height="18"
alt="MongoDB logo"> mongodb</a></td>
- <td><a href="https://surrealdb.com/"><img
src="./website/static/img/services/surrealdb.svg" width="18" height="18"
alt="SurrealDB logo"> surrealdb</a></td>
- <td><a href="https://developers.cloudflare.com/d1/"><img
src="./website/static/img/services/cloudflare.ico" width="18" height="18"
alt="Cloudflare logo"> d1</a></td>
- <td><a href="http://rocksdb.org/"><img
src="./website/static/img/services/rocksdb.png" width="18" height="18"
alt="RocksDB logo"> rocksdb</a></td>
- <td><a href="https://memcached.org/"><img
src="./website/static/img/services/memcached.png" width="18" height="18"
alt="Memcached logo"> memcached</a></td>
- <td><a href="https://developers.cloudflare.com/kv/">cloudflare-kv</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://tikv.org/"><img
src="./website/static/img/services/tikv.png" width="42" height="16" alt="TiKV
logo"> tikv</a></td>
- <td><a href="https://www.foundationdb.org/"><img
src="./website/static/img/services/foundationdb.png" width="22" height="12"
alt="FoundationDB logo"> foundationdb</a></td>
- <td><a href="https://crates.io/crates/sled"><img
src="./website/static/img/services/crates.ico" width="18" height="18"
alt="crates.io logo"> sled</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://crates.io/crates/redb"><img
src="./website/static/img/services/crates.ico" width="18" height="18"
alt="crates.io logo"> redb</a></td>
- <td><a href="https://crates.io/crates/persy"><img
src="./website/static/img/services/crates.ico" width="18" height="18"
alt="crates.io logo"> persy</a></td>
- <td><a href="https://github.com/xacrimon/dashmap"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> dashmap</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://crates.io/crates/cacache"><img
src="./website/static/img/services/crates.ico" width="18" height="18"
alt="crates.io logo"> cacache</a></td>
- <td><a href="https://github.com/moka-rs/moka"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> moka</a></td>
- <td><a href="https://github.com/moka-rs/mini-moka"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> mini-moka</a></td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td></td>
- <td><a href="https://github.com/foyer-rs/foyer"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> foyer</a></td>
- <td><a
href="https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows"><img
src="./website/static/img/services/github.svg" width="18" height="18"
alt="GitHub logo"> ghac</a></td>
- <td><a
href="https://vercel.com/docs/concepts/monorepos/remote-caching">vercel-artifacts</a></td>
- </tr>
-</table>
-
-## Examples
-
-See [examples](./examples/) for runnable usage examples.
+Each binding has its own independent version number, which may differ from the
Rust core version. Check the binding's own version when you look for updates or
compatibility information.
+
+| Language | Package | Guide | API reference |
+| --- | --- | --- | --- |
+| Rust | [opendal][Rust Core Link] | [Guide][Rust Core Guide] | [docs.rs][Rust
Core Release Docs] · [dev][Rust Core Dev Docs] |
+| Python | [opendal][Python Binding Link] | [Guide][Python Guide] |
[dev][Python Binding Dev Docs] |
+| Node.js | [opendal][Node.js Binding Link] | [Guide][Node.js Guide] |
[dev][Node.js Binding Dev Docs] |
+| Java | [opendal-java][Java Binding Link] | [Guide][Java Guide] |
[javadoc.io][Java Binding Release Docs] · [dev][Java Binding Dev Docs] |
+| Go | [bindings/go][Go Binding Link] | [Guide][Go Guide] | [pkg.go.dev][Go
Binding Link] |
+| Ruby | [opendal][Ruby Binding Link] | [Guide][Ruby Guide] | [dev][Ruby
Binding Docs] |
+| C | [Source][C Binding] | [Guide][C Guide] | [dev][C Binding Dev Docs] |
+| C++ | [Source][Cpp Binding] | [Guide][Cpp Guide] | [dev][Cpp Binding Dev
Docs] |
+
+More bindings: [.NET][Dotnet Binding], [D][D Binding], [Dart][Dart Binding],
[Haskell][Haskell Binding], [Lua][Lua Binding], [OCaml][OCaml Binding],
[PHP][PHP Binding], [Swift][Swift Binding], and [Zig][Zig Binding].
+
+## Services and Layers
+
+OpenDAL connects to 50+ services through one `Operator`. A selection by
category:
+
+| Category | Services |
+| --- | --- |
+| Object storage | s3, gcs, azblob, oss, cos, obs, tos, b2, swift,
vercel-blob, … |
+| File storage | fs, hdfs, hdfs-native, webhdfs, azdls, azfile, alluxio,
lakefs, ipfs, dbfs, … |
+| Cloud SaaS | gdrive, dropbox, onedrive, hf, github, aliyun-drive, koofr,
pcloud, … |
+| Standard protocols | http, ftp, webdav, sftp, git |
+| Databases | sqlite, mysql, postgresql, mongodb, surrealdb, d1, … |
+| Key-value and embedded | redis, etcd, tikv, rocksdb, foundationdb,
memcached, moka, foyer, … |
+
+See the [services documentation][Services Docs] for every service and its
configuration keys.
+
+Layers wrap an operator to add cross-cutting behavior: [RetryLayer],
[TimeoutLayer], [ConcurrentLimitLayer], [ThrottleLayer], [LoggingLayer],
[TracingLayer], [MetricsLayer], [PrometheusLayer], [OtelMetricsLayer],
[MimeGuessLayer], [RouteLayer], [FoyerLayer], and [more][Layers Docs]. These
links point to the Rust core; each binding guide lists the layers it exposes.
+
+<img src="./website/static/img/architectural.png" alt="OpenDAL Architecture"
width="61.8%" />
+
+## Production Stories and Examples
+
+- [ScopeDB on OpenDAL][ScopeDB Case Study]: sparse range reads, concurrent
multipart writes, cloud authentication, and separate timeout and retry policies
for reads and writes.
+- [Who uses OpenDAL](core/users.md): projects and companies that build on
OpenDAL.
+- Examples: [Rust](core/examples/), [Python](bindings/python/examples/),
[Node.js](bindings/nodejs/examples/), and [more](examples/).
## Documentation
@@ -237,39 +187,44 @@ Apache OpenDAL, OpenDAL, and Apache are either registered
trademarks or trademar
<!-- Link references -->
+[ScopeDB Case Study]:
https://opendal.apache.org/blog/2026/11/11/scopedb-on-opendal/
+[Services Docs]: https://opendal.apache.org/services/
+[S3 Service Docs]: https://opendal.apache.org/services/s3/
+
<!-- Binding references -->
-[Rust Core]: core/README.md
[Rust Core Link]: https://crates.io/crates/opendal
+[Rust Core Guide]: https://opendal.apache.org/docs/core/
[Rust Core Release Docs]: https://docs.rs/opendal
[Rust Core Dev Docs]: https://opendal.apache.org/docs/rust/opendal/
+[Python Binding Link]: https://pypi.org/project/opendal/
+[Python Guide]: https://opendal.apache.org/docs/bindings/python/
+[Python Binding Dev Docs]: https://opendal.apache.org/docs/python/
+[Node.js Binding Link]: https://www.npmjs.com/package/opendal
+[Node.js Guide]: https://opendal.apache.org/docs/bindings/nodejs/
+[Node.js Binding Dev Docs]: https://opendal.apache.org/docs/nodejs/
+[Java Binding Link]:
https://central.sonatype.com/artifact/org.apache.opendal/opendal-java
+[Java Guide]: https://opendal.apache.org/docs/bindings/java/
+[Java Binding Release Docs]:
https://javadoc.io/doc/org.apache.opendal/opendal-java
+[Java Binding Dev Docs]: https://opendal.apache.org/docs/java/
+[Go Binding Link]: https://pkg.go.dev/github.com/apache/opendal/bindings/go
+[Go Guide]: https://opendal.apache.org/docs/bindings/go/
+[Ruby Binding Link]: https://rubygems.org/gems/opendal
+[Ruby Guide]: https://opendal.apache.org/docs/bindings/ruby/
+[Ruby Binding Docs]: https://opendal.apache.org/docs/ruby/
[C Binding]: bindings/c/README.md
+[C Guide]: https://opendal.apache.org/docs/bindings/c/
[C Binding Dev Docs]: https://opendal.apache.org/docs/c/
[Cpp Binding]: bindings/cpp/README.md
+[Cpp Guide]: https://opendal.apache.org/docs/bindings/cpp/
[Cpp Binding Dev Docs]: https://opendal.apache.org/docs/cpp/
[D Binding]: bindings/d/README.md
[Dart Binding]: bindings/dart/README.md
[Dotnet Binding]: bindings/dotnet/README.md
-[Go Binding]: bindings/go/README.md
-[Go Binding Link]: https://pkg.go.dev/github.com/apache/opendal/bindings/go
-[Go Release Docs]: https://pkg.go.dev/github.com/apache/opendal/bindings/go
[Haskell Binding]: bindings/haskell/README.md
-[Java Binding]: bindings/java/README.md
-[Java Binding Link]:
https://central.sonatype.com/artifact/org.apache.opendal/opendal-java
-[Java Binding Release Docs]:
https://javadoc.io/doc/org.apache.opendal/opendal-java
-[Java Binding Dev Docs]: https://opendal.apache.org/docs/java/
[Lua Binding]: bindings/lua/README.md
-[Node.js Binding]: bindings/nodejs/README.md
-[Node.js Binding Link]: https://www.npmjs.com/package/opendal
-[Node.js Binding Dev Docs]: https://opendal.apache.org/docs/nodejs/
[OCaml Binding]: bindings/ocaml/README.md
[PHP Binding]: bindings/php/README.md
-[Python Binding]: bindings/python/README.md
-[Python Binding Link]: https://pypi.org/project/opendal/
-[Python Binding Dev Docs]: https://opendal.apache.org/docs/python/
-[Ruby Binding]: bindings/ruby/README.md
-[Ruby Binding Link]: https://rubygems.org/gems/opendal
-[Ruby Binding Docs]: https://opendal.apache.org/docs/ruby/
[Swift Binding]: bindings/swift/README.md
[Zig Binding]: bindings/zig/README.md
@@ -288,7 +243,3 @@ Apache OpenDAL, OpenDAL, and Apache are either registered
trademarks or trademar
[MimeGuessLayer]:
https://opendal.apache.org/docs/rust/opendal/layers/struct.MimeGuessLayer.html
[RouteLayer]:
https://opendal.apache.org/docs/rust/opendal/layers/struct.RouteLayer.html
[FoyerLayer]:
https://opendal.apache.org/docs/rust/opendal/layers/struct.FoyerLayer.html
-
-<!-- Service references -->
-
-[Services Docs]: https://opendal.apache.org/docs/rust/opendal/services/
diff --git a/website/docs/10-core/01-overview.md
b/website/docs/10-core/01-overview.md
index 119427fbe3..331e1ab274 100644
--- a/website/docs/10-core/01-overview.md
+++ b/website/docs/10-core/01-overview.md
@@ -42,7 +42,7 @@ is always available; enable any other service — including
`fs` — with its
```toml
[dependencies]
-opendal = { version = "0.57", features = ["services-s3"] }
+opendal = { version = "0.59", features = ["services-s3"] }
```
## Useful Links
diff --git a/website/docs/10-core/02-getting-started.md
b/website/docs/10-core/02-getting-started.md
index a884d7e21f..f9be21fe11 100644
--- a/website/docs/10-core/02-getting-started.md
+++ b/website/docs/10-core/02-getting-started.md
@@ -15,7 +15,7 @@ credentials, so you can paste it into a fresh project and run
it as-is.
```toml
# Cargo.toml
[dependencies]
-opendal = "0.57"
+opendal = "0.59"
tokio = { version = "1", features = ["full"] }
```
@@ -28,7 +28,7 @@ Only the service changes; the operations stay identical. To
use S3, enable its
feature and configure the builder:
```toml
-opendal = { version = "0.57", features = ["services-s3"] }
+opendal = { version = "0.59", features = ["services-s3"] }
```
```rust
@@ -59,7 +59,7 @@ For synchronous code, enable the `blocking` feature and use
without `.await`:
```toml
-opendal = { version = "0.57", features = ["services-memory", "blocking"] }
+opendal = { version = "0.59", features = ["blocking"] }
```
```rust
@@ -67,7 +67,10 @@ use opendal::blocking;
use opendal::services;
use opendal::Operator;
-// Build the async operator first, outside any async runtime.
+// Enter a Tokio runtime; the blocking operator runs every call on it.
+let runtime = tokio::runtime::Runtime::new()?;
+let _guard = runtime.enter();
+
let op = Operator::new(services::Memory::default())?;
let bop = blocking::Operator::new(op)?;
@@ -75,8 +78,9 @@ bop.write("hello.txt", "Hello, World!")?;
let bytes = bop.read("hello.txt")?;
```
-The blocking operator drives the async one on a managed runtime, so construct
it
-outside of an existing async context.
+`blocking::Operator::new` captures the Tokio runtime that is current when it is
+called and returns an error if there is none. Call the blocking operator from
+synchronous code, not from inside an async task.
[`Operator`]: https://docs.rs/opendal/latest/opendal/struct.Operator.html
[`blocking::Operator`]:
https://docs.rs/opendal/latest/opendal/blocking/struct.Operator.html
diff --git a/website/docs/10-core/03-connecting.md
b/website/docs/10-core/03-connecting.md
index a0006c0e30..026abfc156 100644
--- a/website/docs/10-core/03-connecting.md
+++ b/website/docs/10-core/03-connecting.md
@@ -17,7 +17,7 @@ Every service is behind a `services-*` Cargo feature. Enable
the ones you use:
```toml
[dependencies]
-opendal = { version = "0.57", features = ["services-s3", "services-gcs"] }
+opendal = { version = "0.59", features = ["services-s3", "services-gcs"] }
```
The in-memory service is always available; every other service needs its
diff --git a/website/src/components/concepts/samples.js
b/website/src/components/concepts/samples.js
index 2d5eb1654d..121f8f0f89 100644
--- a/website/src/components/concepts/samples.js
+++ b/website/src/components/concepts/samples.js
@@ -35,8 +35,7 @@ let builder = S3::default().bucket("data");
// 2. Build the operator and 3. wrap it with layers.
let op = Operator::new(builder)?
- .layer(RetryLayer::new())
- .finish();
+ .layer(RetryLayer::new());
// 4. Call operations.
op.write("hello.txt", "Hello, World!").await?;
diff --git a/website/src/components/landing/ExplorerSection.jsx
b/website/src/components/landing/ExplorerSection.jsx
index 4194940178..1648db9de0 100644
--- a/website/src/components/landing/ExplorerSection.jsx
+++ b/website/src/components/landing/ExplorerSection.jsx
@@ -32,7 +32,6 @@ function ChoiceItem({
item,
selected,
previewId,
- variant,
onSelect,
getTitle,
getDescription,
@@ -41,37 +40,24 @@ function ChoiceItem({
const title = getTitle(item);
const description = getDescription(item);
const doc = getDoc(item);
- const isTile = variant === "tiles";
return (
<li className={styles.choiceShell}>
<button
type="button"
- className={[
- isTile ? styles.tileButton : styles.choiceButton,
+ className={
selected
- ? isTile
- ? styles.tileButtonActive
- : styles.choiceButtonActive
- : "",
- ]
- .filter(Boolean)
- .join(" ")}
+ ? `${styles.choiceButton} ${styles.choiceButtonActive}`
+ : styles.choiceButton
+ }
aria-pressed={selected}
aria-controls={previewId}
onClick={() => onSelect(item)}
>
- {isTile ? (
- <>
- <span className={styles.tileName}>{title}</span>
- <span className={styles.tileDesc}>{description}</span>
- </>
- ) : (
- <span className={styles.choiceText}>
- <span className={styles.choiceTitle}>{title}</span>
- <span className={styles.choiceBlurb}>{description}</span>
- </span>
- )}
+ <span className={styles.choiceText}>
+ <span className={styles.choiceTitle}>{title}</span>
+ <span className={styles.choiceBlurb}>{description}</span>
+ </span>
</button>
<IconAction
as={Link}
@@ -98,22 +84,13 @@ export default function ExplorerSection({
getDescription,
getDoc,
getCode,
- variant = "list",
}) {
const title = getTitle(activeItem);
const doc = getDoc(activeItem);
- const isTiles = variant === "tiles";
return (
- <div
- className={[
- styles.explorer,
- isTiles ? styles.explorerEven : styles.explorerWidePreview,
- ]
- .filter(Boolean)
- .join(" ")}
- >
- <ul className={isTiles ? styles.tileGrid : styles.choiceNav}>
+ <div className={styles.explorer}>
+ <ul className={styles.choiceNav}>
{items.map((item) => {
const key = getKey(item);
return (
@@ -122,7 +99,6 @@ export default function ExplorerSection({
item={item}
selected={key === getKey(activeItem)}
previewId={id}
- variant={variant}
onSelect={onSelect}
getTitle={getTitle}
getDescription={getDescription}
@@ -144,14 +120,7 @@ export default function ExplorerSection({
</CodeWindowTitleLink>
}
>
- <CodeWindowBody
- className={[
- styles.previewCodeBody,
- isTiles ? styles.tilePreviewCodeBody :
styles.listPreviewCodeBody,
- ]
- .filter(Boolean)
- .join(" ")}
- >
+ <CodeWindowBody className={styles.previewCodeBody}>
<div className={styles.previewCodeFade} key={getKey(activeItem)}>
<CodeBlock language="rust">{getCode(activeItem)}</CodeBlock>
</div>
diff --git a/website/src/components/landing/data.js
b/website/src/components/landing/data.js
index 7c2948a865..c8e6d3d33f 100644
--- a/website/src/components/landing/data.js
+++ b/website/src/components/landing/data.js
@@ -32,7 +32,7 @@ export const heroStats = [
{ value: "10M+", label: "downloads" },
];
-// Same Operator contract, one mental model, every ecosystem.
+// One operator model across ecosystems. Each binding follows its own API
style.
export const codeSamples = [
{
id: "rust",
@@ -44,10 +44,10 @@ use opendal::Operator;
// Configure a backend once, then use one operator.
let builder = S3::default().bucket("data");
-let operator = Operator::new(builder)?.finish();
+let op = Operator::new(builder)?;
-operator.write("hello.txt", "Hello, World!").await?;
-let bytes = operator.read("hello.txt").await?;`,
+op.write("hello.txt", "Hello, World!").await?;
+let bytes = op.read("hello.txt").await?;`,
},
{
id: "java",
@@ -59,9 +59,9 @@ import java.util.Map;
// Configure a backend once, then use one operator.
var config = Map.of("bucket", "data");
-try (var operator = AsyncOperator.of("s3", config)) {
- operator.write("hello.txt", "Hello, World!").join();
- byte[] data = operator.read("hello.txt").join();
+try (var op = AsyncOperator.of("s3", config)) {
+ op.write("hello.txt", "Hello, World!").join();
+ byte[] data = op.read("hello.txt").join();
}`,
},
{
@@ -72,10 +72,10 @@ try (var operator = AsyncOperator.of("s3", config)) {
code: `import opendal
# Configure a backend once, then use one operator.
-operator = opendal.Operator("s3", bucket="data")
+op = opendal.Operator("s3", bucket="data")
-operator.write("hello.txt", b"Hello, World!")
-data = operator.read("hello.txt")`,
+op.write("hello.txt", b"Hello, World!")
+data = op.read("hello.txt")`,
},
{
id: "node",
@@ -85,10 +85,10 @@ data = operator.read("hello.txt")`,
code: `import { Operator } from "opendal";
// Configure a backend once, then use one operator.
-const operator = new Operator("s3", { bucket: "data" });
+const op = new Operator("s3", { bucket: "data" });
-await operator.write("hello.txt", "Hello, World!");
-const data = await operator.read("hello.txt");`,
+await op.write("hello.txt", "Hello, World!");
+const data = await op.read("hello.txt");`,
},
{
id: "ruby",
@@ -98,10 +98,10 @@ const data = await operator.read("hello.txt");`,
code: `require "opendal"
# Configure a backend once, then use one operator.
-operator = OpenDAL::Operator.new("s3", { "bucket" => "data" })
+op = OpenDAL::Operator.new("s3", { "bucket" => "data" })
-operator.write("hello.txt", "Hello, World!")
-data = operator.read("hello.txt")`,
+op.write("hello.txt", "Hello, World!")
+data = op.read("hello.txt")`,
},
{
id: "go",
@@ -116,145 +116,153 @@ data = operator.read("hello.txt")`,
// Configure a backend once, then use one operator.
opts := opendal.OperatorOptions{"bucket": "data"}
op, _ := opendal.NewOperator(s3.Scheme, opts)
+defer op.Close()
-operator.Write("hello.txt", []byte("Hello, World!"))
-data, _ := operator.Read("hello.txt")`,
+op.Write("hello.txt", []byte("Hello, World!"))
+data, _ := op.Read("hello.txt")`,
},
{
- "id": "c",
- "label": "C",
- "language": "c",
- "install": "[opendal-c](/docs/bindings/c)",
- "code": `#include <opendal.h>
+ id: "c",
+ label: "C",
+ language: "c",
+ install: "[opendal-c](/docs/bindings/c)",
+ code: `#include <opendal.h>
-od_operator_options_t *options = od_operator_options_new();
-od_operator_options_set(options, "bucket", "data");
-od_operator_t *operator = od_operator_new("s3", options);
+// Configure a backend once, then use one operator.
+opendal_operator_options *opts = opendal_operator_options_new();
+opendal_operator_options_set(opts, "bucket", "data");
+opendal_operator *op = NULL;
+opendal_error *err = opendal_operator_new("s3", opts, &op);
+opendal_operator_options_free(opts);
-od_operator_write(operator, "hello.txt", "Hello, World!", 13);
+opendal_bytes data = { .data = (uint8_t *)"Hello, World!", .len = 13 };
+err = opendal_operator_write(op, "hello.txt", &data);
-char *data = NULL;
-size_t size = 0;
-od_operator_read(operator, "hello.txt", &data, &size);`
+opendal_bytes read = { 0 };
+err = opendal_operator_read(op, "hello.txt", &read);`,
},
{
- "id": "cpp",
- "label": "C++",
- "language": "cpp",
- "install": "[opendal-cpp](/docs/bindings/cpp)",
- "code": `#include <opendal.hpp>
+ id: "cpp",
+ label: "C++",
+ language: "cpp",
+ install: "[opendal-cpp](/docs/bindings/cpp)",
+ code: `#include <opendal.hpp>
-opendal::Operator operator("s3", {{"bucket", "data"}});
+// Configure a backend once, then use one operator.
+opendal::Operator op("s3", {{"bucket", "data"}});
std::string content = "Hello, World!";
-operator.Write("hello.txt", content);
+op.Write("hello.txt", content);
-auto result = operator.Read("hello.txt");`
- }
+std::string data = op.Read("hello.txt");`,
+ },
];
export const valueProps = [
{
index: "01",
- title: "One API, all storage",
- body: "Object storage, file systems, cloud SaaS, databases, protocols and
key-value services reached through a single Operator and one mental model.",
+ title: "Ergonomic for a single backend",
+ body: "Read, write, stat, list, copy, and delete through one Operator,
even when your application only uses S3 or a local directory. Paths, metadata,
and error kinds follow one model across operations.",
},
{
index: "02",
- title: "Zero-cost core",
- body: "Built in Rust with composable services and layers. Compile in only
the backends and capabilities you use, and pay for nothing else.",
+ title: "Built for demanding I/O",
+ body: "Stream large objects, read only the byte ranges you need, and
upload parts concurrently on services with multipart or block writes. Add
retries, timeouts, and concurrency limits as layers.",
},
{
index: "03",
- title: "Production-ready by composition",
- body: "Stack retry, timeout, logging, tracing, metrics, throttling and
concurrency limits as reusable layers — no rewrites, no glue code.",
- },
- {
- index: "04",
- title: "Open and extensible",
- body: "Add services, layers and language bindings without forking the
model. Developed in the open and governed the Apache Way.",
+ title: "Portable across 50+ services",
+ body: "Use memory in tests, the local file system in development, and S3,
GCS, Azure Blob, HDFS, or a database in production. Capability checks show
where services differ.",
},
];
-// What OpenDAL can do — grouped for the capabilities explorer. Each item pairs
-// a minimal, real snippet with its docs.rs reference. Grounded in the core
-// read / write / manage APIs (verified against types/operator +
types/options).
+// Capability examples for the explorer. Snippets use the Rust core API; the
+// section copy points readers to each binding's guide for its own options.
const RS = "https://docs.rs/opendal/latest/opendal";
const opDoc = (method) => `${RS}/struct.Operator.html#method.${method}`;
-const layerDoc = (name) => `${RS}/layers/struct.${name}.html`;
export const capabilityThemes = [
{
- title: "Read in parallel",
- blurb: "Fetch a byte range, or a whole object in concurrent chunks.",
+ title: "Read only what you need",
+ blurb: "Fetch a byte range, or a large object in concurrent chunks.",
doc: opDoc("read_with"),
- code: `let operator =
Operator::new(S3::default().bucket("data"))?.finish();
+ code: `let op = Operator::new(S3::default().bucket("data"))?;
// Read just the bytes you need.
-let head = operator.read_with("logs/today").range(0..64 * 1024).await?;
+let head = op.read_with("logs/today").range(0..64 * 1024).await?;
-// Or pull a large object in parallel chunks.
-let object = operator
+// Or read a large object in concurrent chunks.
+let object = op
.read_with("big.parquet")
.concurrent(8)
.chunk(8 * 1024 * 1024)
.await?;`,
},
{
- title: "Upload in parts",
- blurb: "Stream writes of any size as concurrent, multipart uploads.",
+ title: "Stream large writes",
+ blurb: "Write in parts; multipart and block services upload them
concurrently.",
doc: opDoc("writer_with"),
- code: `let operator =
Operator::new(S3::default().bucket("data"))?.finish();
+ code: `let op = Operator::new(S3::default().bucket("data"))?;
-// Open a multipart writer with 8 concurrent parts.
-let mut writer = operator
+// Keep up to 8 part uploads in flight.
+let mut writer = op
.writer_with("big.bin")
.concurrent(8)
.chunk(8 * 1024 * 1024)
.await?;
-// Stream any number of buffers; close flushes the rest.
+// Write buffers as they arrive. Always check close:
+// it waits for in-flight parts and commits the object.
writer.write(part_one).await?;
writer.write(part_two).await?;
writer.close().await?;`,
- },
- {
- title: "Recover from failure",
- blurb: "Resume on retry, write atomically, and pin a version.",
- doc: `${RS}/layers/struct.RetryLayer.html`,
- code: `// Retries automatically resume interrupted transfers.
-let operator = Operator::new(S3::default().bucket("data"))?
- .layer(RetryLayer::new())
- .finish();
-
-// Create only if absent.
-operator.write_with("once.json", data).if_not_exists(true).await?;
-// Read only if unchanged.
-let doc = operator.read_with("doc").if_match(etag).await?;
-// Pin an exact version.
-let pinned = operator.read_with("doc").version(version_id).await?;`,
},
{
title: "Work with files",
- blurb: "Inspect, list, move, and share — without moving bytes.",
- doc: opDoc("list_with"),
+ blurb: "Inspect, list, copy, delete, and share files.",
+ doc: opDoc("lister_with"),
code: `// Inspect a file without downloading it.
-let meta = operator.stat("report.csv").await?;
+let meta = op.stat("report.csv").await?;
// List a prefix, recursing lazily through the tree.
-let mut entries = operator.lister_with("logs/").recursive(true).await?;
+let mut entries = op.lister_with("logs/").recursive(true).await?;
while let Some(entry) = entries.try_next().await? {
println!("{}", entry.path());
}
-// Copy on the server — no download.
-operator.copy("draft.md", "final.md").await?;
+// Copy within the service, where supported.
+op.copy("draft.md", "final.md").await?;
// Recursively delete a subtree.
-operator.delete_with("tmp/").recursive(true).await?;
-// Presign a temporary, shareable URL.
+op.delete_with("tmp/").recursive(true).await?;
+// Presign a temporary read request, where supported.
let ttl = Duration::from_secs(3600);
-let url = operator.presign_read("report.csv", ttl).await?;`,
+let req = op.presign_read("report.csv", ttl).await?;`,
+ },
+ {
+ title: "Add production policies",
+ blurb: "Compose timeouts, retries, and limits; guard writes with
conditions.",
+ doc: `${RS}/layers/index.html`,
+ code: `use opendal::layers::{ConcurrentLimitLayer, RetryLayer,
TimeoutLayer};
+
+// Add TimeoutLayer before RetryLayer so each
+// attempt gets its own deadline.
+let op = op
+ .layer(TimeoutLayer::new().with_timeout(Duration::from_secs(10)))
+ .layer(RetryLayer::new().with_max_times(5).with_jitter())
+ .layer(ConcurrentLimitLayer::new(64));
+
+// Create only if absent, where supported.
+op.write_with("once.json", data).if_not_exists(true).await?;
+// Read only if unchanged, where supported.
+let doc = op.read_with("doc.json").if_match(&etag).await?;`,
},
];
+// Long-form adoption story shown next to the adopter logos.
+export const featuredCaseStudy = {
+ title: "How ScopeDB accesses object storage with OpenDAL",
+ body: "A columnar database on object storage uses one operator for sparse
range reads, concurrent multipart writes, cloud authentication, and separate
timeout and retry policies for reads and writes.",
+ href: "/blog/2026/11/11/scopedb-on-opendal/",
+};
+
// Real adopters from the project's users lists (core + bindings), ordered by
// GitHub star count (highest first). Logos are the projects' GitHub org
// avatars, self-hosted under static/img/users/. Refresh with scripts as the
@@ -398,97 +406,3 @@ export const bindings = [
{ name: "D", icon: "/img/bindings/d.svg", doc: "/docs/bindings/d" },
{ name: "Zig", icon: "/img/bindings/zig.svg", doc: "/docs/bindings/zig" },
];
-
-export const layers = [
- {
- name: "RetryLayer",
- desc: "Recover from transient failures automatically.",
- doc: layerDoc("RetryLayer"),
- code: `use opendal::layers::RetryLayer;
-
-// Exponential backoff with jitter; interrupted
-// reads and writes resume where they left off.
-let operator = operator.layer(
- RetryLayer::new().with_max_times(5).with_jitter(),
-);`,
- },
- {
- name: "TimeoutLayer",
- desc: "Bound slow or hanging operations.",
- doc: layerDoc("TimeoutLayer"),
- code: `use opendal::layers::TimeoutLayer;
-use std::time::Duration;
-
-// Abort operations that stall past a deadline.
-let operator = operator.layer(
- TimeoutLayer::new()
- .with_timeout(Duration::from_secs(10)),
-);`,
- },
- {
- name: "LoggingLayer",
- desc: "Emit structured operation logs.",
- doc: layerDoc("LoggingLayer"),
- code: `use opendal::layers::LoggingLayer;
-
-// Structured logs for every operation, via the
-// standard log crate facade.
-let operator = operator.layer(LoggingLayer::default());`,
- },
- {
- name: "TracingLayer",
- desc: "Trace requests across systems.",
- doc: layerDoc("TracingLayer"),
- code: `use opendal::layers::TracingLayer;
-
-// One span per operation, into whatever
-// tracing subscriber your app installs.
-let operator = operator.layer(TracingLayer::new());`,
- },
- {
- name: "MetricsLayer",
- desc: "Export operation metrics.",
- doc: layerDoc("MetricsLayer"),
- code: `use opendal::layers::MetricsLayer;
-
-// Latency and throughput via the metrics crate
-// facade — plug in any exporter you like.
-let operator = operator.layer(MetricsLayer::default());`,
- },
- {
- name: "PrometheusLayer",
- desc: "Expose Prometheus metrics.",
- doc: layerDoc("PrometheusLayer"),
- code: `use opendal::layers::PrometheusLayer;
-
-// Register operation metrics into a Prometheus
-// registry you already expose.
-let registry = prometheus::default_registry();
-let operator = operator.layer(
- PrometheusLayer::builder().register(registry)?,
-);`,
- },
- {
- name: "ConcurrentLimitLayer",
- desc: "Cap in-flight concurrency.",
- doc: layerDoc("ConcurrentLimitLayer"),
- code: `use opendal::layers::ConcurrentLimitLayer;
-
-// Cap how many operations hit the backend at once —
-// back-pressure for the whole Operator.
-let operator = operator.layer(ConcurrentLimitLayer::new(1024));`,
- },
- {
- name: "ThrottleLayer",
- desc: "Throttle I/O bandwidth.",
- doc: layerDoc("ThrottleLayer"),
- code: `use opendal::layers::ThrottleLayer;
-
-// Token-bucket bandwidth limit: ~10 MiB/s steady,
-// with headroom to burst for short spikes.
-let operator = operator.layer(ThrottleLayer::new(
- 10 * 1024 * 1024,
- 32 * 1024 * 1024,
-));`,
- },
-];
diff --git a/website/src/components/landing/explorer.module.css
b/website/src/components/landing/explorer.module.css
index 7799f8c150..13dab0d0c5 100644
--- a/website/src/components/landing/explorer.module.css
+++ b/website/src/components/landing/explorer.module.css
@@ -25,28 +25,16 @@
--explorer-doc-action-size: 1.75rem;
--explorer-doc-action-inset: 0.375rem;
--explorer-doc-action-offset: calc(
- var(--odl-space-4) - var(--explorer-doc-action-inset)
+ var(--odl-space-3) - var(--explorer-doc-action-inset)
);
--explorer-choice-mobile-extra-block: 10px;
+ --explorer-preview-height: 19rem;
display: grid;
+ grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
gap: var(--explorer-gap);
align-items: start;
}
-.explorerWidePreview {
- --explorer-preview-height: 19rem;
- --explorer-doc-action-offset: calc(
- var(--odl-space-3) - var(--explorer-doc-action-inset)
- );
-
- grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
-}
-.explorerEven {
- --explorer-preview-height: 13rem;
- --explorer-title-size: var(--odl-text-sm);
-
- grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
-}
.choiceNav {
list-style: none;
margin: 0;
@@ -138,59 +126,6 @@
animation: odlFade var(--odl-dur) var(--odl-ease);
}
-.tileGrid {
- list-style: none;
- margin: 0;
- padding: 0;
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 1px;
- background: var(--odl-border);
- border: 1px solid var(--odl-border);
- border-radius: var(--odl-radius-lg);
- overflow: hidden;
-}
-.tileButton {
- appearance: none;
- width: 100%;
- min-height: 100%;
- display: flex;
- flex-direction: column;
- gap: 4px;
- padding: var(--odl-space-3) var(--odl-space-4);
- padding-right: var(--explorer-choice-action-space);
- font-family: var(--odl-font-sans);
- border: 0;
- background: var(--odl-surface);
- color: inherit;
- text-align: left;
- text-decoration: none;
- cursor: pointer;
- transition: background-color var(--odl-dur) var(--odl-ease);
-}
-.tileButton:hover {
- background: var(--odl-surface-2);
- text-decoration: none;
-}
-.tileButtonActive {
- background: var(--odl-surface-2);
-}
-.tileName {
- font-family: var(--odl-font-mono);
- font-size: var(--explorer-title-size);
- font-weight: 600;
- color: var(--odl-fg-strong);
- transition: color var(--odl-dur) var(--odl-ease);
-}
-.tileButtonActive .tileName {
- color: var(--odl-accent);
-}
-.tileDesc {
- font-size: var(--explorer-desc-size);
- line-height: var(--odl-leading-snug);
- color: var(--odl-fg-muted);
-}
-
@keyframes odlFade {
from {
opacity: 0;
@@ -213,7 +148,7 @@
.previewPane {
position: static;
}
- .listPreviewCodeBody {
+ .previewCodeBody {
height: auto;
overflow: visible;
}
@@ -225,8 +160,7 @@
}
@media (max-width: 640px) {
- .choiceNav,
- .tileGrid {
+ .choiceNav {
grid-template-columns: 1fr;
}
.choiceButton {
@@ -236,13 +170,4 @@
);
padding-right: var(--explorer-choice-action-space);
}
- .tilePreviewCodeBody {
- height: auto;
- overflow: visible;
- }
- .tileButton {
- gap: 2px;
- padding: var(--odl-space-3) var(--explorer-choice-action-space)
- var(--odl-space-3) var(--odl-space-3);
- }
}
diff --git a/website/src/components/landing/sections.jsx
b/website/src/components/landing/sections.jsx
index af5cf91df0..d4e5985928 100644
--- a/website/src/components/landing/sections.jsx
+++ b/website/src/components/landing/sections.jsx
@@ -32,10 +32,10 @@ import {
valueProps,
capabilityThemes,
usedBy,
+ featuredCaseStudy,
USERS_LIST_URL,
serviceGroups,
bindings,
- layers,
} from "./data";
export function Hero() {
@@ -54,10 +54,9 @@ export function Hero() {
<span className={styles.heroTitleAccent}>All Storage.</span>
</h1>
<p className={styles.heroLede}>
- One zero-cost{" "}
- <span className={styles.termItalic}>operator</span> for object
- storage, file systems, databases and more — in the language you
- already ship.
+ Write clean storage code from simple reads and writes to
+ streaming, byte-range reads, and concurrent uploads — on a single
+ S3 bucket or across 50+ backends.
</p>
<div className={styles.heroActions}>
<Link
@@ -94,7 +93,7 @@ export function Hero() {
export function UsedBy() {
const { withBaseUrl } = useBaseUrlUtils();
return (
- <section className={`${styles.section} ${styles.sectionSubtle}`}>
+ <section className={styles.section}>
<div className="odl-container">
<div className={styles.sectionHead}>
<span className="odl-eyebrow">Used by</span>
@@ -106,6 +105,20 @@ export function UsedBy() {
are some of the projects that build on it.
</p>
</div>
+ <Link className={styles.caseStudy} to={featuredCaseStudy.href}>
+ <span className={styles.caseStudyLabel}>Case study</span>
+ <span className={styles.caseStudyText}>
+ <span className={styles.caseStudyTitle}>
+ {featuredCaseStudy.title}
+ </span>
+ <span className={styles.caseStudyBody}>
+ {featuredCaseStudy.body}
+ </span>
+ </span>
+ <span className={styles.btnArrow} aria-hidden="true">
+ →
+ </span>
+ </Link>
<ul className={styles.logoWall}>
{usedBy.map((u) => (
<li className={styles.logoWallItem} key={u.name}>
@@ -140,11 +153,12 @@ export function ValueProps() {
<div className={styles.sectionHead}>
<span className="odl-eyebrow">Why OpenDAL</span>
<h2 className={styles.sectionTitle}>
- A storage layer you can build production on.
+ Clean application code, from the first file to heavy I/O.
</h2>
<p className={styles.sectionLede}>
- OpenDAL turns one vision — <em>One Layer, All Storage</em> — into a
- practical foundation for applications, libraries and data systems.
+ Adopt OpenDAL for one bucket or local directory today, then add
+ large transfers, resilience policies, and more backends while your
+ storage code keeps the same shape.
</p>
</div>
<div className={`${styles.valueGrid} ${styles.reveal}`}>
@@ -168,11 +182,14 @@ export function Capabilities() {
<div className="odl-container">
<div className={styles.sectionHead}>
<span className="odl-eyebrow">Capabilities</span>
- <h2 className={styles.sectionTitle}>Configure once. Access
anything.</h2>
+ <h2 className={styles.sectionTitle}>
+ From simple reads to heavy I/O.
+ </h2>
<p className={styles.sectionLede}>
- One <span className={styles.termItalic}>operator</span> is a full
- toolkit for real-world data — read and write at scale, recover from
- failures, and work with files — the same way on every backend.
+ One <span className={styles.termItalic}>operator</span> covers
+ byte-range reads, concurrent transfers, file operations, and
+ production policies. Examples use the Rust core; each language
+ guide shows the options and layers its binding exposes.
</p>
</div>
<ExplorerSection
@@ -202,9 +219,9 @@ export function Services() {
50+ storage services, one interface.
</h2>
<p className={styles.sectionLede}>
- Enable only the backends your application needs. The{" "}
- <span className={styles.termItalic}>Operator</span> contract stays
- identical across every one.
+ Enable only the backends your application needs. Core operations
+ share one interface, and each service reports optional features
+ through its capabilities.
</p>
</div>
<div className={`${styles.serviceGroups} ${styles.reveal}`}>
@@ -257,8 +274,9 @@ export function Bindings() {
<span className="odl-eyebrow">Bindings</span>
<h2 className={styles.sectionTitle}>Ship it in your language.</h2>
<p className={styles.sectionLede}>
- Each binding exposes the same OpenDAL service model while following
- its own ecosystem's conventions.
+ Each binding shares OpenDAL's service model and follows its own
+ ecosystem's conventions. Options and layers vary by binding; each
+ guide lists what it supports.
</p>
</div>
<div className={`${styles.bindingGrid} ${styles.reveal}`}>
@@ -281,38 +299,6 @@ export function Bindings() {
);
}
-export function Layers() {
- const [active, setActive] = useState(layers[0]);
- return (
- <section className={styles.section}>
- <div className="odl-container">
- <div className={styles.sectionHead}>
- <span className="odl-eyebrow">Layers</span>
- <h2 className={styles.sectionTitle}>
- Production behavior, composed — not coded.
- </h2>
- <p className={styles.sectionLede}>
- Stack cross-cutting concerns as reusable layers. The order is
- explicit and the core stays zero-cost.
- </p>
- </div>
- <ExplorerSection
- id="landing-layer-preview"
- items={layers}
- activeItem={active}
- onSelect={setActive}
- getKey={(layer) => layer.name}
- getTitle={(layer) => layer.name}
- getDescription={(layer) => layer.desc}
- getDoc={(layer) => layer.doc}
- getCode={(layer) => layer.code}
- variant="tiles"
- />
- </div>
- </section>
- );
-}
-
export function FinalCta() {
return (
<section className={`${styles.section} ${styles.sectionSubtle}`}>
@@ -326,8 +312,8 @@ export function FinalCta() {
One layer for all your storage.
</h2>
<p className={styles.finalCtaLede}>
- Join the infrastructure builders, platform teams and application
- developers accessing data freely, painlessly and efficiently.
+ Start with one bucket or directory, and keep the same operator
+ model as your workloads and backends grow.
</p>
<div className={styles.finalCtaActions}>
<Link
diff --git a/website/src/components/landing/styles.module.css
b/website/src/components/landing/styles.module.css
index f0c8954a54..2f5646028b 100644
--- a/website/src/components/landing/styles.module.css
+++ b/website/src/components/landing/styles.module.css
@@ -188,9 +188,11 @@
}
.logoWallItem {
display: flex;
+ min-width: 0;
}
.logoItem {
flex: 1;
+ min-width: 0;
display: flex;
align-items: center;
gap: var(--odl-space-3);
@@ -250,10 +252,55 @@
text-decoration: none;
}
+.caseStudy {
+ display: flex;
+ align-items: center;
+ gap: var(--odl-space-5);
+ margin-bottom: var(--odl-space-6);
+ padding: var(--odl-space-5);
+ background: var(--odl-surface);
+ border: 1px solid var(--odl-border);
+ border-radius: var(--odl-radius-lg);
+ color: inherit;
+ text-decoration: none;
+ transition: border-color var(--odl-dur) var(--odl-ease),
+ background-color var(--odl-dur) var(--odl-ease);
+}
+.caseStudy:hover {
+ background: var(--odl-surface-2);
+ border-color: var(--odl-accent);
+ text-decoration: none;
+}
+.caseStudyLabel {
+ flex: none;
+ font-family: var(--odl-font-mono);
+ font-size: var(--odl-text-xs);
+ font-weight: 500;
+ letter-spacing: var(--odl-tracking-label);
+ text-transform: uppercase;
+ color: var(--odl-accent);
+}
+.caseStudyText {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ gap: var(--odl-space-1);
+}
+.caseStudyTitle {
+ font-size: var(--odl-text-md);
+ font-weight: 650;
+ color: var(--odl-fg-strong);
+}
+.caseStudyBody {
+ font-size: var(--odl-text-sm);
+ line-height: var(--odl-leading-normal);
+ color: var(--odl-fg-muted);
+}
+
/* ===== Value props ====================================================== */
.valueGrid {
display: grid;
- grid-template-columns: repeat(2, 1fr);
+ grid-template-columns: repeat(3, 1fr);
gap: 1px;
background: var(--odl-border);
border: 1px solid var(--odl-border);
@@ -362,17 +409,20 @@
}
/* ===== Bindings ========================================================= */
+/* Each card draws its own grid lines, so an incomplete last row leaves
+ empty space in the surface color instead of a block of border color. */
.bindingGrid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
gap: 1px;
- background: var(--odl-border);
+ background: var(--odl-surface);
border: 1px solid var(--odl-border);
border-radius: var(--odl-radius-lg);
overflow: hidden;
}
.bindingCard {
background: var(--odl-surface);
+ box-shadow: 0 0 0 1px var(--odl-border);
display: flex;
flex-direction: column;
align-items: center;
@@ -470,6 +520,9 @@
.heroInner {
grid-template-columns: 1fr;
}
+ .valueGrid {
+ grid-template-columns: 1fr;
+ }
.serviceGroups {
grid-template-columns: repeat(2, 1fr);
}
@@ -494,10 +547,22 @@
transparent 100%
);
}
- .valueGrid,
.serviceGroups {
grid-template-columns: 1fr;
}
+ .logoWall {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: var(--odl-space-2);
+ }
+ .logoItem {
+ gap: var(--odl-space-2);
+ padding: var(--odl-space-3);
+ }
+ .caseStudy {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: var(--odl-space-3);
+ }
.section {
padding-block: 3.25rem;
}
diff --git a/website/src/pages/index.jsx b/website/src/pages/index.jsx
index b6b6c7b887..7031f5bfc0 100644
--- a/website/src/pages/index.jsx
+++ b/website/src/pages/index.jsx
@@ -26,7 +26,6 @@ import {
Capabilities,
Services,
Bindings,
- Layers,
FinalCta,
} from "../components/landing/sections";
@@ -34,16 +33,15 @@ export default function Home() {
return (
<Layout
title="One Layer, All Storage"
- description="Apache OpenDAL™ is an Open Data Access Layer that gives
every language a unified, zero-cost way to access object storage, file systems,
cloud SaaS, databases, protocols and key-value services."
+ description="Apache OpenDAL™ is an Open Data Access Layer for Rust,
Python, Node.js, Java, Go, and more. It keeps application storage code clean
from simple file access to streaming, concurrent transfers, and multi-backend
storage."
>
<main>
<Hero />
- <UsedBy />
<ValueProps />
<Capabilities />
- <Services />
+ <UsedBy />
<Bindings />
- <Layers />
+ <Services />
<FinalCta />
</main>
</Layout>