Support for Cloudflare's D1 and/or R2
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 20/100
Rechercherichtung
Beginnen Sie mit der Prüfung von libcloud.storage.drivers.s3 anhand der Dokumentation zur S3 API von Cloudflare R2 und stellen Sie fest, ob die bestehende Kompatibilität dokumentiert werden kann oder ein separates Modul libcloud.storage.drivers.r2 benötigt wird. Der weiter gefasste Vorschlag sieht außerdem vor, libcloud.sql.* für D1 und andere verwaltete SQL-Datenbanken zu entwerfen; als abgeschlossen gilt dies, wenn Umfang, Implementierung, Tests und Dokumentation abgestimmt sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Feature Description
Cloudflare has been developing an alternative to traditional storage providers, with the benefit that it has no egress fees for the data.
- D1 is a relational database build on SQLite, which currently is on Alpha. It can be access and manipulated through the online GUI on Cloudflare's Dashboard or through the CLI using a npm package called wrangler.
- R2 is the Cloudflare's implementation of an object storage service. It can be used through the GUI on Cloudflare's Dashboard, through the CLI with wrangler, or using the Amazon's S3 API.
Proposal
- First the easiest, R2. To begin with, test if Apache Libcloud
libcloud.storage.drivers.s3works correctly with an R2 bucket, and if so, update the documentation to reflect that said module can be used with R2. It would be a good idea to document what functions are NOT available, according to Cloudflare's R2 documentation. - If
libcloud.storage.drivers.s3doesn't work with R2, another module can be created (libcloud.storage.drivers.r2, for example), which is based on the S3's module but with a few adjustments, and removing functions that are unavailable on R2. I do think this is a cleaner solution, to keep S3 separated from R2. - Finally, as Apache Libcloud does not (yet) manage Cloud Databases, a fine addition to the library would be to start a new module (maybe
libcloud.sql.*?) and implement certain popular SQL Databases, such as Amazon's RDS, Azure's SQL Database, and of course Cloudflare's D1.
- Vorherrschende Sprache
- Python
- Sterne
- 2.1k
- Forks
- 935
- Ø Merge
- 5 T. 3 Std.
- Gemergte PRs (30 T.)
- 15
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus apache/libcloud
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Local range download leaves an output file after source-read failure despite delete_on_failure=TrueOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
apache/libcloud#2215 · 3 Kommentare · 2 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in apache/libcloud
Ähnliche Issues
-
Email validation accepts a trailing newlineEvtl. vergeben @marcello-pichini hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
dbt-labs/spark-utils#51 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
vendrabuck/HERD#1419 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag