apache / opendal

Apache OpenDAL: access data freely.
https://opendal.apache.org
Apache License 2.0
3.25k stars 453 forks source link

services: Add support Vercel Blob #2191

Closed Xuanwo closed 7 months ago

Xuanwo commented 1 year ago

https://vercel.com/docs/storage/vercel-blob

suyanhanx commented 1 year ago

Vercel blob storage is powered by Cloudflare r2. And r2 is compatible with the s3 API. We can directly add r2 to our s3 compatible service list instead of implementing the Vercel blob.

Xuanwo commented 1 year ago

Vercel blob storage is powered by Cloudflare r2. And r2 is compatible with the s3 API. We can directly add r2 to our s3 compatible service list instead of implementing the Vercel blob.

No, they are different API sets. Please note that services is only related to API itself instead of how it implemented.

For example, s3/gcs/azblbo all implement part of HTTP, but can't use the same service for them. For another cases, wasabi is fully s3 compatible, but we still have a seperate service for it's native support.

suyanhanx commented 1 year ago

add r2 to our s3 compatible service list

At least it's still an option. 🤣

hoslo commented 7 months ago

@Xuanwo I'm interested in doing this.

suyanhanx commented 7 months ago

Thank you! Have fun! @hoslo

Xuanwo commented 7 months ago

I have previously attempted to use Vercel Blob for testing purposes. However, its free limit is extremely low, making it seem unaffordable for our test.

image