DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Key Features of Swift Programming Language
  • OpenStack Summit Berlin 2018: Running Your Cloud
  • SwiftData Dependency Injection in SwiftUI Application
  • Decoding Business Source Licensing: A New Software Licensing Model

Trending

  • How to Migrate Vector Data from PostgreSQL to MyScale
  • Exploring the Evolution and Impact of Computer Networks
  • Build a Digital Collectibles Portal Using Flow and Cadence (Part 1)
  • Monetizing APIs: Accelerate Growth and Relieve Strain on Your Engineers
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Building an OpenStack Swift to WebDAV Proxy

Building an OpenStack Swift to WebDAV Proxy

If you want to mount OpenStack Swift as a drive, consider the swift to WebDAV proxy that allows you to mount Swift as a WebDAV endpoint.

Matt Farina user avatar by
Matt Farina
·
Aug. 28, 15 · Tutorial
Like (2)
Save
Tweet
Share
1.49K Views

Join the DZone community and get the full member experience.

Join For Free

When I first started using OpenStack Swift, the object storage service within OpenStack, I immediately wanted the ability to mount it as a drive on my system. At the time I was working on the HP public cloud and wanted to mount a public cloud storage as a local drive. While not a Dropbox alternative, this would let me have a rather large remote drive and there are many ways to use this.

The first attempt to do this, back in early 2012, didn't go so well. I used some existing open source projects and tried to plug swift in. Where it worked to read small files and a small number of files it failed when files got larger or you wanted to upload files.

From that attempt, Matt Butcher tried a second attempt built on SabreDAV, a PHP library. While it was able to read and write files without an issue there were problems with larger files. This isn't a case of building a way to mount a server via WebDAV but to build a pass through proxy to swift. The issue wasn't in SabreDAV or in PHP. Rather, the issue is in the way PHP sits behind a web server and how web servers pass files to PHP. It was a fundamental technology issue that we explored working around.

The third attempt was far more successful. Matt used Node.js to build the WedDAV to swift pass-through proxy. The pass-through element was important as files don't reside on the proxy. Rather, the information passes through and is simply translated from WebDAV to swift and vice versa. The server hosting the application doesn't need to have a large file store to cache the files locally. This was enabled by the low level access to files and information within Node.js.

The project was a success in many ways and we'd hoped to make it available in the HP public cloud. Unfortunately, that didn't happen for a number of reasons and the codebase was shelved for some time. Now that code is available on GitHub under an open source license.

So, if you're interested in mounting OpenStack Swift as a drive or you'd like to interface with swift via WebDAV checkout the Swift WebDAV Proxy.

Note, this is the first in a series talking about this project. More details coming soon.

Swift (programming language) WebDAV OpenStack Open source

Published at DZone with permission of Matt Farina, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Key Features of Swift Programming Language
  • OpenStack Summit Berlin 2018: Running Your Cloud
  • SwiftData Dependency Injection in SwiftUI Application
  • Decoding Business Source Licensing: A New Software Licensing Model

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: