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™ 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.
- Project: Apache OpenDAL™
- Vision: One Layer, All Storage
- Core package: Rust crate
opendal - 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
Apache OpenDAL™ turns the vision of One Layer, All Storage into a practical data access layer for applications, libraries, and data systems.
- 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.
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.
Add layers when your application needs cross-service behavior such as retries, timeouts, observability, or traffic control.
RetryLayer Retry temporary failures. |
TimeoutLayer Bound slow or hanging operations. |
LoggingLayer Emit structured operation logs. |
TracingLayer Trace requests across systems. |
MetricsLayer Export operation metrics. |
PrometheusLayer Expose Prometheus metrics. |
OtelMetricsLayer Export OpenTelemetry metrics. |
Traffic Control ThrottleLayer · ConcurrentLimitLayer |
MimeGuessLayer Infer Content-Type from paths. |
RouteLayer Route operations by path. |
FoyerLayer Add hybrid cache behavior. |
All Layers Explore the full layer list. |
Explore all available layers in the layers documentation.
Pick the storage services that your application needs. See the full OpenDAL service configuration docs in the services documentation.
| Object Storage | File Storage | ||||
|---|---|---|---|---|---|
| Cloud SaaS | Standard Protocols | ||||
| Databases | Key-Value & Embedded | ||||
| cloudflare-kv | |||||
| vercel-artifacts | |||||
See examples for runnable usage examples.
- Website: https://opendal.apache.org
- Vision: https://opendal.apache.org/vision
- Rust release docs: https://docs.rs/opendal
- Rust dev docs: https://opendal.apache.org/docs/rust/opendal/
OpenDAL is an active open-source project. We are always open to people who want to use it or contribute to it. Here are some ways to go.
- Start with Contributing Guide.
- Submit Issues for bug report or feature requests.
- Start Discussions for questions or ideas.
- Talk to community directly at Discord.
- Report security vulnerabilities to private mailing list
The first and most prominent mentions must use the full form: Apache OpenDAL™ of the name for any individual usage (webpage, handout, slides, etc.) Depending on the context and writing style, you should use the full form of the name sufficiently often to ensure that readers clearly understand the association of both the OpenDAL project and the OpenDAL software product to the ASF as the parent organization.
For more details, see the Apache Product Name Usage Guide.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.
