SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
Easy Access to OpenStack Object Storage
Juan J. Martínez
@reidrac
http://www.usebox.net/jjm/

Merry OpenStack, London
Dec 2013
What is Swift?
Open Source software for creating redundant, scalable object storage using
clusters of standardized servers to store petabytes of accessible data.
Object Storage
●
●
●

●

Not a real file system
RESTful HTTP API
Blob and metadata (name,
content type, date-time, size,
MD5)
Support for pseudo-hierarchical
directories

Real File System
●
●
●
●
●

open, read, write, seek, close
chdir, mkdir, rmdir
remove, rename
chmod, chown, stat, lock
etc
CUSTOMERS
What we have
What we sell
What customers want
Solution: Proxies
Back in 2011...
●
●
●

Building a product based on OpenStack Object Storage
Started working with Bexar
Went live with Diablo

●

Not many end-user tools using OpenStack Object Storage API
(actually, it was Rackspace Cloud Files™)

●
●
●

Customers won’t start building things straight away
Internal tools WIP (snapshot VM, re-image from snapshot)
It was hard to explain the product*:
What is Amazon S3? I want Dropbox!

* disclaimer: I’m a developer
Proxies: FTP
ftp-cloudfs
●
●
●
●

Personal project of Chmouel Boudjnah (now @ https://github.com/cloudfs/ftp-cloudfs)
Open Source
Very cool, “almost working” (Jan 2011)
fs.py abstraction:
Swift API -> FTP

Memset started contributing to make it “production ready”:
●
●
●
●
●

Support for OpenStack Object Storage (was Cloud Files only)
Missing bits in fs.py, more tests, introduced some new bugs
Fixed performance problems: memcache all the things!
Finally migrated from python-cloudfiles to python-swiftclient (kept the name, it’s cool)
Keystone auth, resume downloads, listing +10k files, large file support (>5GB)
Proxies: SFTP
sftp-cloudfs
●
●
●
●
●
●
●

Open Source sponsored by Memset Hosting Ltd
https://github.com/Memset/sftpcloudfs
ftp-cloudfs’ fs.py + paramiko (ssh2 protocol for Python)
Secure: client -> SSH -> sftp-cloudfs -> SSL -> swift
Not as performant as FTP (1.6 MB/s vs pyftpdlib 4.2 MB/s), CPU intensive
Only password based authentication
Partial SCP support contributed by Koert van der Veer
+ everything supported by ftp-cloudfs
Bigger than the API
●
●
●
●
●
●

+2 TB / mo traffic (in > out)
Small VMs running ftp-cloudfs, sftp-cloudfs and shared cache (memcache)
Load-balanced with LVS
Easy to scale (add more VMs!)
Use cases: backups, CMS plugins (CDN support), remote storage, ???
FTP > SFTP > API

Useful Open Source projects:
●

●
●

Numbers from PyPI
ftp-cloudfs: 1895 downloads last month
sftp-cloudfs: 1107 downloads last month
Patches from several contributors (including hosting companies)
“Stable” and almost feature complete, a new release every now and then
Easy Access to OpenStack Object Storage

Questions?
Juan J. Martínez
@reidrac
http://www.usebox.net/jjm/

Merry OpenStack, London
Dec 2013

Mais conteúdo relacionado

Mais procurados

Initial presentation of swift (for montreal user group)
Initial presentation of swift (for montreal user group)Initial presentation of swift (for montreal user group)
Initial presentation of swift (for montreal user group)
Marcos García
 
Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)
Juan José Martínez
 
Boosting I/O Performance with KVM io_uring
Boosting I/O Performance with KVM io_uringBoosting I/O Performance with KVM io_uring
Boosting I/O Performance with KVM io_uring
ShapeBlue
 

Mais procurados (20)

Gluster Containerized Storage for Cloud Applications
Gluster Containerized Storage for Cloud ApplicationsGluster Containerized Storage for Cloud Applications
Gluster Containerized Storage for Cloud Applications
 
Initial presentation of swift (for montreal user group)
Initial presentation of swift (for montreal user group)Initial presentation of swift (for montreal user group)
Initial presentation of swift (for montreal user group)
 
Using OpenStack Swift for Extreme Data Durability
 Using OpenStack Swift for Extreme Data Durability Using OpenStack Swift for Extreme Data Durability
Using OpenStack Swift for Extreme Data Durability
 
Arbiter volumes in gluster
Arbiter volumes in glusterArbiter volumes in gluster
Arbiter volumes in gluster
 
Open Source Libraries for.NET developers
Open Source Libraries for.NET developersOpen Source Libraries for.NET developers
Open Source Libraries for.NET developers
 
Kkeithley ufonfs-gluster summit
Kkeithley ufonfs-gluster summitKkeithley ufonfs-gluster summit
Kkeithley ufonfs-gluster summit
 
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
 
My complicated WordPress site
My complicated WordPress siteMy complicated WordPress site
My complicated WordPress site
 
Join the super_colony_-_feb2013
Join the super_colony_-_feb2013Join the super_colony_-_feb2013
Join the super_colony_-_feb2013
 
Fedora Developer's Conference 2014 Talk
Fedora Developer's Conference 2014 TalkFedora Developer's Conference 2014 Talk
Fedora Developer's Conference 2014 Talk
 
Docker off the grid
Docker off the gridDocker off the grid
Docker off the grid
 
GlusterFS Native driver for Openstack Manila at GlusterNight Paris @ Openstac...
GlusterFS Native driver for Openstack Manila at GlusterNight Paris @ Openstac...GlusterFS Native driver for Openstack Manila at GlusterNight Paris @ Openstac...
GlusterFS Native driver for Openstack Manila at GlusterNight Paris @ Openstac...
 
OpenStack Swift production deployments
OpenStack Swift production deploymentsOpenStack Swift production deployments
OpenStack Swift production deployments
 
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiformDon’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
 
Atmosphere packages and the chuck norris effect
Atmosphere packages and the chuck norris effectAtmosphere packages and the chuck norris effect
Atmosphere packages and the chuck norris effect
 
Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdose
 
Kubernetes #3 security
Kubernetes #3   securityKubernetes #3   security
Kubernetes #3 security
 
Boosting I/O Performance with KVM io_uring
Boosting I/O Performance with KVM io_uringBoosting I/O Performance with KVM io_uring
Boosting I/O Performance with KVM io_uring
 
Docker Insight
Docker InsightDocker Insight
Docker Insight
 

Semelhante a Easy access to open stack object storage

Docker at DevTable
Docker at DevTableDocker at DevTable
Docker at DevTable
Docker, Inc.
 
Planning for-high-performance-web-application
Planning for-high-performance-web-applicationPlanning for-high-performance-web-application
Planning for-high-performance-web-application
Nguyễn Duy Nhân
 
[Mas 500] Various Topics
[Mas 500] Various Topics[Mas 500] Various Topics
[Mas 500] Various Topics
rahulbot
 

Semelhante a Easy access to open stack object storage (20)

Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...
 
how to mesure web performance metrics
how to mesure web performance metricshow to mesure web performance metrics
how to mesure web performance metrics
 
Containerization Is More than the New Virtualization
Containerization Is More than the New VirtualizationContainerization Is More than the New Virtualization
Containerization Is More than the New Virtualization
 
Micro Datacenter & Data Warehouse
Micro Datacenter & Data WarehouseMicro Datacenter & Data Warehouse
Micro Datacenter & Data Warehouse
 
Docker at DevTable
Docker at DevTableDocker at DevTable
Docker at DevTable
 
Docker at DevTable
Docker at DevTableDocker at DevTable
Docker at DevTable
 
Docker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los AngelesDocker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los Angeles
 
Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12
 
Massively Scaled High Performance Web Services with PHP
Massively Scaled High Performance Web Services with PHPMassively Scaled High Performance Web Services with PHP
Massively Scaled High Performance Web Services with PHP
 
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
 
OpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet UpOpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet Up
 
Fluentd Overview, Now and Then
Fluentd Overview, Now and ThenFluentd Overview, Now and Then
Fluentd Overview, Now and Then
 
Foreman in your datacenter
Foreman in your datacenterForeman in your datacenter
Foreman in your datacenter
 
uWSGI - Swiss army knife for your Python web apps
uWSGI - Swiss army knife for your Python web appsuWSGI - Swiss army knife for your Python web apps
uWSGI - Swiss army knife for your Python web apps
 
Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment
 
Planning for-high-performance-web-application
Planning for-high-performance-web-applicationPlanning for-high-performance-web-application
Planning for-high-performance-web-application
 
Magento infrastructure by OpsWay
Magento infrastructure by OpsWayMagento infrastructure by OpsWay
Magento infrastructure by OpsWay
 
Containers: from development to production at DevNation 2015
Containers: from development to production at DevNation 2015Containers: from development to production at DevNation 2015
Containers: from development to production at DevNation 2015
 
Building a Messaging Solutions for OVHcloud with Apache Pulsar_Pierre Zemb
Building a Messaging Solutions for OVHcloud with Apache Pulsar_Pierre ZembBuilding a Messaging Solutions for OVHcloud with Apache Pulsar_Pierre Zemb
Building a Messaging Solutions for OVHcloud with Apache Pulsar_Pierre Zemb
 
[Mas 500] Various Topics
[Mas 500] Various Topics[Mas 500] Various Topics
[Mas 500] Various Topics
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Easy access to open stack object storage

  • 1. Easy Access to OpenStack Object Storage Juan J. Martínez @reidrac http://www.usebox.net/jjm/ Merry OpenStack, London Dec 2013
  • 2. What is Swift? Open Source software for creating redundant, scalable object storage using clusters of standardized servers to store petabytes of accessible data. Object Storage ● ● ● ● Not a real file system RESTful HTTP API Blob and metadata (name, content type, date-time, size, MD5) Support for pseudo-hierarchical directories Real File System ● ● ● ● ● open, read, write, seek, close chdir, mkdir, rmdir remove, rename chmod, chown, stat, lock etc
  • 8. Back in 2011... ● ● ● Building a product based on OpenStack Object Storage Started working with Bexar Went live with Diablo ● Not many end-user tools using OpenStack Object Storage API (actually, it was Rackspace Cloud Files™) ● ● ● Customers won’t start building things straight away Internal tools WIP (snapshot VM, re-image from snapshot) It was hard to explain the product*: What is Amazon S3? I want Dropbox! * disclaimer: I’m a developer
  • 9. Proxies: FTP ftp-cloudfs ● ● ● ● Personal project of Chmouel Boudjnah (now @ https://github.com/cloudfs/ftp-cloudfs) Open Source Very cool, “almost working” (Jan 2011) fs.py abstraction: Swift API -> FTP Memset started contributing to make it “production ready”: ● ● ● ● ● Support for OpenStack Object Storage (was Cloud Files only) Missing bits in fs.py, more tests, introduced some new bugs Fixed performance problems: memcache all the things! Finally migrated from python-cloudfiles to python-swiftclient (kept the name, it’s cool) Keystone auth, resume downloads, listing +10k files, large file support (>5GB)
  • 10. Proxies: SFTP sftp-cloudfs ● ● ● ● ● ● ● Open Source sponsored by Memset Hosting Ltd https://github.com/Memset/sftpcloudfs ftp-cloudfs’ fs.py + paramiko (ssh2 protocol for Python) Secure: client -> SSH -> sftp-cloudfs -> SSL -> swift Not as performant as FTP (1.6 MB/s vs pyftpdlib 4.2 MB/s), CPU intensive Only password based authentication Partial SCP support contributed by Koert van der Veer + everything supported by ftp-cloudfs
  • 11. Bigger than the API ● ● ● ● ● ● +2 TB / mo traffic (in > out) Small VMs running ftp-cloudfs, sftp-cloudfs and shared cache (memcache) Load-balanced with LVS Easy to scale (add more VMs!) Use cases: backups, CMS plugins (CDN support), remote storage, ??? FTP > SFTP > API Useful Open Source projects: ● ● ● Numbers from PyPI ftp-cloudfs: 1895 downloads last month sftp-cloudfs: 1107 downloads last month Patches from several contributors (including hosting companies) “Stable” and almost feature complete, a new release every now and then
  • 12. Easy Access to OpenStack Object Storage Questions? Juan J. Martínez @reidrac http://www.usebox.net/jjm/ Merry OpenStack, London Dec 2013