Expand description
Gateway
- Proposal Name:
gateway - Start Date: 2022-07-18
- RFC PR: apache/opendal#443
- Tracking Issue: apache/opendal#444
§Summary
Add Gateway for OpenDAL.
§Motivation
Our users want features like S3 Proxy and minio Gateway so that they can access all their data in the same way.
By providing a native gateway, we can empower users to access different storage in the same API.
§Guide-level explanation
OpenDAL will provide a new binary called: oay. It’s a shortcut of OpenDAL Gateway.
Uses can install this binary via:
cargo install oayOr using they favourite package management:
# Archlinux
pacman -S oay
# Debian / Ubuntu
apt install oay
# Rocky Linux / Fedora
dnf install oay
# macOS
brew install oayWith oay, users can:
- Serve
fsbackend with S3 compatible API. - Serve
s3backend with Azblob API - Serve as a s3 signing services
§Reference-level explanation
oay will be a separate crate apart from opendal so we will not pollute the dependencies of opendal. But oay will be releases at the same time with the same version of opendal. That means oay will always use the same (latest) version of opendal.
Most operations of oay should be trivial, we will propose new RFCs if requiring big changes.
oay won’t keep configuration. All config will go through environment.
§Drawbacks
None
§Rationale and alternatives
None
§Prior art
§Unresolved questions
None
§Future possibilities
None