2 ms·
Ah yes... I implemented Sardine [1] 10 years ago! At the time, I worked for a large porn company and we couldn't host stuff 'in the cloud' because they didn't
by latchkey 7y ago
Ah yes... I implemented Sardine [1] 10 years ago!
At the time, I worked for a large porn company and we couldn't host stuff 'in the cloud' because they didn't allow porn there.
We invested a ton of money into an Isilon NAS to store our image/video content and the best way to get stuff off it over HTTP was via webdav. Unfortunately, there wasn't a good Java client.
So, I built a simple proxy that would accept regular GET requests and on the back end, use webdav to retrieve content from the Isilon. In front of that proxy was our CDN.
Since then, Sardine has been the basis for quite a few other projects.
[1] https://github.com/lookfirst/sardine https://github.com/lookfirst/sardine
- thomasfl 7y agoI implemented tve same for ruby. With monkey patching you write normal code for writing files, but use the WebDAV protcol to write files if files had names starting with http.