SlideShare a Scribd company logo
1 of 14
Download to read offline
Leveraging Swift Storage Policies
Nicolas Trangez
Technical Architect ­ OpenStack
nicolas.trangez@scality.com
@eikke / @scality
Copyright Scality 2015
About Scality Ring
●
Petabyte-scale software-defined object & file storage, fully scale-out
●
Hardware-agnostic
●
Core: Scality “Ring”
– Replication
– Erasure Coding (ARC)
– Interaction with “Ring” through connectors:
●
Plain HTTP (sproxyd)
●
S3, CDMI
●
FUSE, NFS, CIFS/SMB
●
Application-specific (e-mail servers,...)
Copyright Scality 2015
Copyright Scality 2015
Scality & OpenStack
●
Dedicated engineering team
●
Integrating with OpenStack Storage projects
– Cinder (data volumes), in-tree
– Glance (VM images), currently out-of-tree
– Swift (object storage), out-of-tree
– 2015 H2: Manila (shared filesystem)
●
Single system to manage, unify OpenStack storage requirements
– Eliminates multiple storage silos
– Consolidates 80% of OpenStack data storage
– Scalable to petabytes and beyond
●
Team encouraged to work on any OpenStack project(s) as part of job
Copyright Scality 2014
Copyright Scality 2015
Scality Ring Scality Sproxyd
Swift Accounts
Service + Storage
Swift Containers
Service + Storage
Customer
Application
Scality Sproxyd
Swift Object Service
swift-scality-
backend
Swift Object Service
swift-scality-
backend
Swift Object Service
swift-scality-
backend
Swift Proxy ServiceSwift Proxy ServiceSwift Proxy Service
scality-sproxyd-client
Copyright Scality 2015
Swift Storage Policies
●
Allow admin to define policies/classes of storage
– With different performance, pricing models, SLA's,...
●
Allow tenant to assign a policy to a container (only at creation time)
●
Objects in containers stored according to container policy
– Swift upstream: replication count, SSD/spindle, EC (beta in Kilo)
– Scality: map to sets of Sproxyd connectors in different
configurations
Copyright Scality 2015
Use Case #1: Performance vs. Cost
●
Replication vs. Erasure Coding
– Storage consumption: *N vs *((n + k)/ n)
– Low time-to-first-byte vs. higher latency
– Efficient random access vs. mostly-streaming
●
Spindles vs. SSD
●
Depending on application, transfer data between containers/policies
over time
– Keep costs under control
Copyright Scality 2015
Use Case #2: Geo-Distributed Storage
●
Geo-distributed datacenters add network latency impact
●
Keep operations as local as possible
– Configuration of SPs takes location of endpoints into account
– Sort on distance
●
Regulations impose locality constraints
– E.g. privacy laws
– Storage Policies used to ensure data placement complies
Copyright Scality 2015
Use Case #2A: Multi-datacenter, Single Cluster
●
Active/Active, managed as a single Ring
●
Location-aware allocation: both Replication and ARC/EC can spread
data across disparate domains for site failure tolerance
●
Let Swift object servers talk to 'closeby' connectors
– Reduce number of WAN latency hits
Copyright Scality 2015
Use Case #2B: Multi-datacenter, Multiple Clusters
●
Active/Passive, source Ring asynchronously synced
to target
– Site-level Disaster Recovery (within time window)
without latency hit
– Ensure data is replicated to 'hot' access points
– Works really well for immutable objects
– E.g. movie production teams around the world, working
locally, data synced to LA HQ continuously (or at night,
or ...)
●
Ensure Swift talks to 'source' Rings for CUD
operations, local Rings for R operations (taking stale
reads into account, fallback to source Ring on HTTP
404)
Copyright Scality 2015
Implementation
●
Re-use existing Scality Swift back-
end functionality
– HTTP connection pooling
– Detect sproxyd outage & flapping using
φ-accrual failure detector
●
Keep config in 1 file, shared across
all servers
– Ease of deployment
●
Optional per-server location
preference hints
[ring:paris-rep3]
location = paris
sproxyd_endpoints = http://paris1.int/rep3, http://paris2.int/rep3
[ring:paris-arc6+3]
location = paris
sproxyd_endpoints = http://paris1.int/arc6+3, http://paris2.int/arc6+3
[ring:sfo-arc6+3]
location = sfo
sproxyd_endpoints = http://sfo1.int/arc6+3
[ring:nyc-arc6+3]
location = nyc
sproxyd_endpoints = http://nyc1.int/arc6+3
[storage-policy:1]
read = sfo-arc6+3, paris-arc6+3
write = nyc-arc6+3
[storage-policy:2]
read = nyc-arc6+3
write = paris-rep3
[storage-policy:3]
write = paris-rep3
Copyright Scality 201413
Scality, a disruptive software company
Founded 2009
70+ production deployments including Comcast, Dailymotion, RTL
San Francisco (HQ), Washington DC, Boston (R&D), Paris (R&D), 
Tokyo, Singapore
135 employees, increasing at high rate
300% sales growth in 2014
Join us, we’re hiring !!  (www.scality.com/careers)
Questions & Answers
Visit Scality booth #T13
www.scality.com

More Related Content

What's hot

LINBIT_HA_Business_Apr2016
LINBIT_HA_Business_Apr2016LINBIT_HA_Business_Apr2016
LINBIT_HA_Business_Apr2016
Alexandre Huynh
 
Quantum NDX - NAS Based Data Protection
Quantum NDX - NAS Based Data Protection Quantum NDX - NAS Based Data Protection
Quantum NDX - NAS Based Data Protection
Quantum
 
Storage area network
Storage area networkStorage area network
Storage area network
Neha Agarwal
 

What's hot (20)

Survey of distributed storage system
Survey of distributed storage systemSurvey of distributed storage system
Survey of distributed storage system
 
Distributed storage system
Distributed storage systemDistributed storage system
Distributed storage system
 
Introduction to OpenStack (2012)
Introduction to OpenStack (2012)Introduction to OpenStack (2012)
Introduction to OpenStack (2012)
 
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
 
Red Hat Storage Day New York - Intel Unlocking Big Data Infrastructure Effici...
Red Hat Storage Day New York - Intel Unlocking Big Data Infrastructure Effici...Red Hat Storage Day New York - Intel Unlocking Big Data Infrastructure Effici...
Red Hat Storage Day New York - Intel Unlocking Big Data Infrastructure Effici...
 
Netezza vs Teradata vs Exadata
Netezza vs Teradata vs ExadataNetezza vs Teradata vs Exadata
Netezza vs Teradata vs Exadata
 
San nas-
San nas-San nas-
San nas-
 
Introduction
IntroductionIntroduction
Introduction
 
LINBIT_HA_Business_Apr2016
LINBIT_HA_Business_Apr2016LINBIT_HA_Business_Apr2016
LINBIT_HA_Business_Apr2016
 
Personal storage to enterprise storage system journey
Personal storage to enterprise storage system journeyPersonal storage to enterprise storage system journey
Personal storage to enterprise storage system journey
 
Qct quick stack ubuntu openstack
Qct quick stack ubuntu openstackQct quick stack ubuntu openstack
Qct quick stack ubuntu openstack
 
Panasas ® Deluxe Australlia
Panasas ® Deluxe Australlia Panasas ® Deluxe Australlia
Panasas ® Deluxe Australlia
 
Quantum NDX - NAS Based Data Protection
Quantum NDX - NAS Based Data Protection Quantum NDX - NAS Based Data Protection
Quantum NDX - NAS Based Data Protection
 
Storage area network
Storage area networkStorage area network
Storage area network
 
DAS RAID NAS SAN
DAS RAID NAS SANDAS RAID NAS SAN
DAS RAID NAS SAN
 
Dell Emc Ready Bundle for Red Hat OpenStack Platform
Dell Emc Ready Bundle for Red Hat OpenStack PlatformDell Emc Ready Bundle for Red Hat OpenStack Platform
Dell Emc Ready Bundle for Red Hat OpenStack Platform
 
Panasas ActiveStor 11 and 12: Parallel NAS Appliance for HPC Workloads
Panasas ActiveStor 11 and 12: Parallel NAS Appliance for HPC WorkloadsPanasas ActiveStor 11 and 12: Parallel NAS Appliance for HPC Workloads
Panasas ActiveStor 11 and 12: Parallel NAS Appliance for HPC Workloads
 
Network Attached Storage (NAS)
Network Attached Storage (NAS) Network Attached Storage (NAS)
Network Attached Storage (NAS)
 
SAN
SANSAN
SAN
 
Oracle Cloud Infrastructure
Oracle Cloud InfrastructureOracle Cloud Infrastructure
Oracle Cloud Infrastructure
 

Viewers also liked

20131211 Neutron Havana
20131211 Neutron Havana20131211 Neutron Havana
20131211 Neutron Havana
Akihiro Motoki
 
WEB/DOMAIN/E-MAIL SERVICE AGREEMENT
WEB/DOMAIN/E-MAIL SERVICE AGREEMENTWEB/DOMAIN/E-MAIL SERVICE AGREEMENT
WEB/DOMAIN/E-MAIL SERVICE AGREEMENT
webhostingguy
 
CSS Fat Mag Jun-Aug 2015
CSS Fat Mag Jun-Aug 2015CSS Fat Mag Jun-Aug 2015
CSS Fat Mag Jun-Aug 2015
Tracey Porter
 
Get Social with StarBuzz Social Web Community
Get Social with StarBuzz Social Web Community Get Social with StarBuzz Social Web Community
Get Social with StarBuzz Social Web Community
StarBuzz Weekly
 
Wind_energy_Program_FactSheet
Wind_energy_Program_FactSheetWind_energy_Program_FactSheet
Wind_energy_Program_FactSheet
Nicole Lundberg
 
Middle School Matinee
Middle School MatineeMiddle School Matinee
Middle School Matinee
dkommer
 

Viewers also liked (20)

OpenStack超入門シリーズ いまさら聞けないNeutronの使い方
OpenStack超入門シリーズ いまさら聞けないNeutronの使い方OpenStack超入門シリーズ いまさら聞けないNeutronの使い方
OpenStack超入門シリーズ いまさら聞けないNeutronの使い方
 
AWS re:Invent 2016 - Scality's Open Source AWS S3 Server
AWS re:Invent 2016 - Scality's Open Source AWS S3 ServerAWS re:Invent 2016 - Scality's Open Source AWS S3 Server
AWS re:Invent 2016 - Scality's Open Source AWS S3 Server
 
20131211 Neutron Havana
20131211 Neutron Havana20131211 Neutron Havana
20131211 Neutron Havana
 
E merchant digital profile
E merchant digital profileE merchant digital profile
E merchant digital profile
 
NetworkingPAE - Vender está bien, fidelizar al cliente, mejor. Emilio Benítez
NetworkingPAE - Vender está bien, fidelizar al cliente, mejor. Emilio BenítezNetworkingPAE - Vender está bien, fidelizar al cliente, mejor. Emilio Benítez
NetworkingPAE - Vender está bien, fidelizar al cliente, mejor. Emilio Benítez
 
WEB/DOMAIN/E-MAIL SERVICE AGREEMENT
WEB/DOMAIN/E-MAIL SERVICE AGREEMENTWEB/DOMAIN/E-MAIL SERVICE AGREEMENT
WEB/DOMAIN/E-MAIL SERVICE AGREEMENT
 
Fire Drills: an Analog for Verifying Your Solution's Emergency Response Plans
Fire Drills: an Analog for Verifying Your Solution's Emergency Response PlansFire Drills: an Analog for Verifying Your Solution's Emergency Response Plans
Fire Drills: an Analog for Verifying Your Solution's Emergency Response Plans
 
Un "webmaster / community manager ", pourquoi pas ?
Un "webmaster / community manager ", pourquoi pas ?Un "webmaster / community manager ", pourquoi pas ?
Un "webmaster / community manager ", pourquoi pas ?
 
Letras nutritivas
Letras nutritivasLetras nutritivas
Letras nutritivas
 
CSS Fat Mag Jun-Aug 2015
CSS Fat Mag Jun-Aug 2015CSS Fat Mag Jun-Aug 2015
CSS Fat Mag Jun-Aug 2015
 
Get Social with StarBuzz Social Web Community
Get Social with StarBuzz Social Web Community Get Social with StarBuzz Social Web Community
Get Social with StarBuzz Social Web Community
 
Wind_energy_Program_FactSheet
Wind_energy_Program_FactSheetWind_energy_Program_FactSheet
Wind_energy_Program_FactSheet
 
Kompetanseforum NHO: om "Verden er din" og #SoMe
Kompetanseforum NHO: om "Verden er din" og #SoMeKompetanseforum NHO: om "Verden er din" og #SoMe
Kompetanseforum NHO: om "Verden er din" og #SoMe
 
Credenciales portafolio desarrollo web junio 2014
Credenciales portafolio desarrollo web  junio 2014Credenciales portafolio desarrollo web  junio 2014
Credenciales portafolio desarrollo web junio 2014
 
Audi cave
Audi caveAudi cave
Audi cave
 
Internet
InternetInternet
Internet
 
Oplæg rekruttering cabi virksomhedsnetværk 21 05-14
Oplæg rekruttering cabi virksomhedsnetværk 21 05-14Oplæg rekruttering cabi virksomhedsnetværk 21 05-14
Oplæg rekruttering cabi virksomhedsnetværk 21 05-14
 
Middle School Matinee
Middle School MatineeMiddle School Matinee
Middle School Matinee
 
Desarrollo de péptidos bioactivos y probióticos para la tercera_Daniel Ramón
Desarrollo de péptidos bioactivos y probióticos para la tercera_Daniel RamónDesarrollo de péptidos bioactivos y probióticos para la tercera_Daniel Ramón
Desarrollo de péptidos bioactivos y probióticos para la tercera_Daniel Ramón
 
PORSCHE Sharing e-learning resources SHA Newbury
PORSCHE Sharing e-learning resources SHA NewburyPORSCHE Sharing e-learning resources SHA Newbury
PORSCHE Sharing e-learning resources SHA Newbury
 

Similar to Leveraging Swift Storage Policies using Scality RING

Similar to Leveraging Swift Storage Policies using Scality RING (20)

Creating an open source load balancer for S3
Creating an open source load balancer for S3Creating an open source load balancer for S3
Creating an open source load balancer for S3
 
Introduction to OpenStack Storage
Introduction to OpenStack StorageIntroduction to OpenStack Storage
Introduction to OpenStack Storage
 
Zenko @Cloud Native Foundation London Meetup March 6th 2018
Zenko @Cloud Native Foundation London Meetup March 6th 2018Zenko @Cloud Native Foundation London Meetup March 6th 2018
Zenko @Cloud Native Foundation London Meetup March 6th 2018
 
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
 
OpenStack as an Infrastructure
OpenStack as an InfrastructureOpenStack as an Infrastructure
OpenStack as an Infrastructure
 
Stsg17 speaker yousunjeong
Stsg17 speaker yousunjeongStsg17 speaker yousunjeong
Stsg17 speaker yousunjeong
 
Big Telco Real-Time Network Analytics
Big Telco Real-Time Network AnalyticsBig Telco Real-Time Network Analytics
Big Telco Real-Time Network Analytics
 
Big Telco - Yousun Jeong
Big Telco - Yousun JeongBig Telco - Yousun Jeong
Big Telco - Yousun Jeong
 
OpenStack Swift
OpenStack SwiftOpenStack Swift
OpenStack Swift
 
Zenko & MetalK8s @ Dublin Docker Meetup, June 2018
Zenko & MetalK8s @ Dublin Docker Meetup, June 2018Zenko & MetalK8s @ Dublin Docker Meetup, June 2018
Zenko & MetalK8s @ Dublin Docker Meetup, June 2018
 
Open stack
Open stackOpen stack
Open stack
 
ABCI: AI Bridging Cloud Infrastructure for Scalable AI/Big Data
ABCI: AI Bridging Cloud Infrastructure for Scalable AI/Big DataABCI: AI Bridging Cloud Infrastructure for Scalable AI/Big Data
ABCI: AI Bridging Cloud Infrastructure for Scalable AI/Big Data
 
OpenStack as an Infrastructure
OpenStack as an InfrastructureOpenStack as an Infrastructure
OpenStack as an Infrastructure
 
Building a Resilient, Scalable, Storage System with OpenStack
Building a Resilient, Scalable, Storage System with OpenStackBuilding a Resilient, Scalable, Storage System with OpenStack
Building a Resilient, Scalable, Storage System with OpenStack
 
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
 
How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...
 
Open Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex YangOpen Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex Yang
 
S3 Server Hackathon Presented by S3 Server, a Scality Product, Seagate and Ho...
S3 Server Hackathon Presented by S3 Server, a Scality Product, Seagate and Ho...S3 Server Hackathon Presented by S3 Server, a Scality Product, Seagate and Ho...
S3 Server Hackathon Presented by S3 Server, a Scality Product, Seagate and Ho...
 
Hackathon scality holberton seagate 2016 v5
Hackathon scality holberton seagate 2016 v5Hackathon scality holberton seagate 2016 v5
Hackathon scality holberton seagate 2016 v5
 
Open stackapac swift_alexyang
Open stackapac swift_alexyangOpen stackapac swift_alexyang
Open stackapac swift_alexyang
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Leveraging Swift Storage Policies using Scality RING

  • 1. Leveraging Swift Storage Policies Nicolas Trangez Technical Architect ­ OpenStack nicolas.trangez@scality.com @eikke / @scality
  • 2. Copyright Scality 2015 About Scality Ring ● Petabyte-scale software-defined object & file storage, fully scale-out ● Hardware-agnostic ● Core: Scality “Ring” – Replication – Erasure Coding (ARC) – Interaction with “Ring” through connectors: ● Plain HTTP (sproxyd) ● S3, CDMI ● FUSE, NFS, CIFS/SMB ● Application-specific (e-mail servers,...)
  • 4. Copyright Scality 2015 Scality & OpenStack ● Dedicated engineering team ● Integrating with OpenStack Storage projects – Cinder (data volumes), in-tree – Glance (VM images), currently out-of-tree – Swift (object storage), out-of-tree – 2015 H2: Manila (shared filesystem) ● Single system to manage, unify OpenStack storage requirements – Eliminates multiple storage silos – Consolidates 80% of OpenStack data storage – Scalable to petabytes and beyond ● Team encouraged to work on any OpenStack project(s) as part of job
  • 6. Copyright Scality 2015 Scality Ring Scality Sproxyd Swift Accounts Service + Storage Swift Containers Service + Storage Customer Application Scality Sproxyd Swift Object Service swift-scality- backend Swift Object Service swift-scality- backend Swift Object Service swift-scality- backend Swift Proxy ServiceSwift Proxy ServiceSwift Proxy Service scality-sproxyd-client
  • 7. Copyright Scality 2015 Swift Storage Policies ● Allow admin to define policies/classes of storage – With different performance, pricing models, SLA's,... ● Allow tenant to assign a policy to a container (only at creation time) ● Objects in containers stored according to container policy – Swift upstream: replication count, SSD/spindle, EC (beta in Kilo) – Scality: map to sets of Sproxyd connectors in different configurations
  • 8. Copyright Scality 2015 Use Case #1: Performance vs. Cost ● Replication vs. Erasure Coding – Storage consumption: *N vs *((n + k)/ n) – Low time-to-first-byte vs. higher latency – Efficient random access vs. mostly-streaming ● Spindles vs. SSD ● Depending on application, transfer data between containers/policies over time – Keep costs under control
  • 9. Copyright Scality 2015 Use Case #2: Geo-Distributed Storage ● Geo-distributed datacenters add network latency impact ● Keep operations as local as possible – Configuration of SPs takes location of endpoints into account – Sort on distance ● Regulations impose locality constraints – E.g. privacy laws – Storage Policies used to ensure data placement complies
  • 10. Copyright Scality 2015 Use Case #2A: Multi-datacenter, Single Cluster ● Active/Active, managed as a single Ring ● Location-aware allocation: both Replication and ARC/EC can spread data across disparate domains for site failure tolerance ● Let Swift object servers talk to 'closeby' connectors – Reduce number of WAN latency hits
  • 11. Copyright Scality 2015 Use Case #2B: Multi-datacenter, Multiple Clusters ● Active/Passive, source Ring asynchronously synced to target – Site-level Disaster Recovery (within time window) without latency hit – Ensure data is replicated to 'hot' access points – Works really well for immutable objects – E.g. movie production teams around the world, working locally, data synced to LA HQ continuously (or at night, or ...) ● Ensure Swift talks to 'source' Rings for CUD operations, local Rings for R operations (taking stale reads into account, fallback to source Ring on HTTP 404)
  • 12. Copyright Scality 2015 Implementation ● Re-use existing Scality Swift back- end functionality – HTTP connection pooling – Detect sproxyd outage & flapping using φ-accrual failure detector ● Keep config in 1 file, shared across all servers – Ease of deployment ● Optional per-server location preference hints [ring:paris-rep3] location = paris sproxyd_endpoints = http://paris1.int/rep3, http://paris2.int/rep3 [ring:paris-arc6+3] location = paris sproxyd_endpoints = http://paris1.int/arc6+3, http://paris2.int/arc6+3 [ring:sfo-arc6+3] location = sfo sproxyd_endpoints = http://sfo1.int/arc6+3 [ring:nyc-arc6+3] location = nyc sproxyd_endpoints = http://nyc1.int/arc6+3 [storage-policy:1] read = sfo-arc6+3, paris-arc6+3 write = nyc-arc6+3 [storage-policy:2] read = nyc-arc6+3 write = paris-rep3 [storage-policy:3] write = paris-rep3