Jump to: navigation, search

Difference between revisions of "Swift/ideas"

(Ideas)
 
(85 intermediate revisions by 19 users not shown)
Line 1: Line 1:
= Ideas for OpenStack Swift =  
+
= Ideas for OpenStack Swift =
  
* use keystone api in swift client, if possible
+
This page is a collection of "brain dumps" for ideas about features in OpenStack Swift. If you're working on something, it's a very good idea to write down what you're thinking about. This lets others get up to speed, helps you collaborate, and serves as a great record for future reference. Write down your thoughts somewhere and put a link to it here. It doesn't matter what form your thoughts are in; use whatever is best for you. Your document should include why your idea is needed and your thoughts on particular design choices and tradeoffs. '''Please include some contact information''' (ideally, your IRC nick) so that people can collaborate with you.
* change default ports - https://review.openstack.org/#/c/118200/
 
* reverse listings - https://review.openstack.org/#/c/120709/
 
* stdin streaming to swiftclient
 
* ring validator (in swift-recon): eg test that something is running on the ports in the ring -- not just "something", must verify correct type, because deployers sometimes flip a/c/o and then inexplicable 400 happens -- https://wiki.openstack.org/wiki/OutreachProgramForWomen/Ideas#Swift_-_storage_server_OPTIONS_support_and_checker_tool
 
* deep health check to test all the way to drives (? or at least storage servers)
 
* better ring deployment inside of swift itself
 
* need internal net sec enforcement - https://blueprints.launchpad.net/swift/+spec/secure-internal-network-requests
 
* change the ssync (object-replicator) design to be run as another process for concurrency
 
* durability simulator based on swift specification (e.g. # of replicas, # of devices and network speed to replicate) (inprogress by Christian)
 
* in the situation where a proxy needs to talk to a storage node on the same server, call the storage node method(s) directly instead of putting bytes on the network (somewhat in progress)
 
* skeleton middleware, well-commented
 
* fsync directories (talk to portante or notmyname in IRC about this)
 
* DiskFile entry point
 
  
 +
''Historic "specs" are available at https://specs.openstack.org/openstack/swift-specs/''
 +
 +
''Etherpads from previous meetups/hackathons/Design Summits/PTGs are available at [[Swift/Etherpads]]''
 +
 +
== Ideas ==
 +
 +
Format: '''Idea''' -- ''link to your brain dump''
 +
 +
* '''Small file optimization''' -- [[Swift/ideas/small files]]
 +
** '''Small files experimentations''' [[Swift/ideas/small files/experimentations]]
 +
** '''Small files implementation''' [[Swift/ideas/small files/implementation]] -- [https://docs.google.com/document/d/1KoLsqWiXv9u2rnMZ5Rh73Js-lwP5h2qRj9CuFJ2IJJc LOSF Design doc]
 +
* '''Reduce memcache lookups''' -- [[Swift/ideas/memoize lookups]]
 +
* '''Improve internal network security''' -- [[Swift/ideas/network_security]]
 +
* '''Metrics around rate-limiting''' -- [[Swift/ideas/ratelimiting_metrics]]
 +
* '''Hierarchical keymaster''' -- [[Swift/ideas/hierarchical_keymaster]]
 +
* '''Container sharding improvements''' - https://etherpad.openstack.org/p/sharding-improvements [https://etherpad.openstack.org/p/swift-auto-sharding auto-sharding-thoughts]
 +
** Auto-Sharding:
 +
*** [https://docs.google.com/document/d/15yG9zOatwPyXCA3YLNLdNIue9qDR4wLyMPIbypcbALc/edit?usp=sharing auto sharding 2.0]
 +
*** Election algorithm -- https://docs.google.com/document/d/17NllKQmH6tfTsKm5nAx3KCKUvs0zs_qamXtkreOQDWg/edit#
 +
*** Shardrange audit -- https://etherpad.opendev.org/p/swift-autosharding-shardrange-audit
 +
* '''High-latency media / Tape support for Swift''' -- [[Swift/HighLatencyMedia]]
 +
* '''The Archival Storage extension to the Swift API''' -- [https://etherpad.openstack.org/p/high-latency-storage-policy]
 +
* '''Metadata index (Elasticsearch)''' -- [[Swift/ideas/metadata-sync]]
 +
* '''Keymaster v2''' -- [[Swift/ideas/keymaster_v2]]
 +
* '''oslo.config''' -- https://etherpad.openstack.org/p/swift_oslo-config
 +
* '''Auto Tiering Basic Infra work''' -- https://etherpad.openstack.org/p/swift_tiering_foundational_work
 +
* '''txt lookup middleware''' -- https://wiki.openstack.org/wiki/Swift/ideas/txt_lookup_middleware
 +
* '''Tasks execution''' - [[Swift/ideas/task-execution]] [https://docs.google.com/document/d/11sBbB6pBvLYNeM9wjTdvvsJIu8Dl8i13UH2NfRVNOqg/edit?usp=sharing Expiring Objects - Task Queue]
 +
* '''Moar Better Faster Rebalance (tsync)''' -- https://etherpad.openstack.org/p/swift-rebalance
 +
* '''More disks in saio''' -- https://etherpad.openstack.org/p/more-disks-in-saio
 +
* '''Update python-swiftclient with Keystone session support''' -- [[Swift/ideas/swiftclient-keystone-session]]
 +
* '''Enable 'atime' for objects''' -- https://etherpad.openstack.org/p/atime_for_Swift
 +
* '''Probe tests with more devices''' -- [[Swift/ideas/more-testing-devices]]
 +
* '''Automatically set db_prealloc for account/containers based on if the drive is HDD or SDD'''
 +
* '''Object copy directly between object-servers''' -- [[Swift/ideas/object-copy-between-object-servers]]
 +
* '''Account quota for number of files''' -- [[Swift/ideas/account-quota-files]]
 +
* '''Use SO_REUSEPORT''' -- https://etherpad.openstack.org/p/PDumlTZ8uX
 +
* '''Third party transfers between Swift installations''' -- [[Swift/ideas/third-party-transfers]]
 +
* '''Add domains in ACLs''' -- [[Swift/ideas/acl-domains]]
 +
Done:
 +
 +
* <s>'''friendly tempurl timestamps''' -- https://blueprints.launchpad.net/swift/+spec/human-readable-tempurl-timestamp
 +
* '''Composite Rings''' -- https://etherpad.openstack.org/p/composite_rings
 +
</s>
 +
* <s>'''Symlinks''' -- https://etherpad.openstack.org/p/swift_symlinks</s>
 +
* <s>'''Container Sharding''' -- [https://docs.google.com/document/d/1-0wUnaRf2TTA0KQGk301BPR8-5wzuyA1r4tLSEh-cbw/edit?usp=sharing container-sharding.odt] [https://etherpad.openstack.org/p/container-sharding-SAT-2016 Etherpad notes] [https://trello.com/b/z6oKKI4Q/container-sharding trello] [https://docs.google.com/document/d/16rPdDrT-4G6hcen_6no8cr8KbxUqbcvsSkOfxxu0EBE/edit?usp=sharing Initial locking db shard approach idea] [https://docs.google.com/document/d/1dsROCHrgM0S_95bNp1BqD9DUUuQbkuoBxKkrhsNNeX0/edit?usp=sharing Sharder 2.0]
 +
** https://etherpad.openstack.org/p/deep-containers</s>
 +
* <s>'''Enable object path obfuscation in logs e.g. replace with hash''' - suggested here https://etherpad.openstack.org/p/BOS-Swift-ops-feedback-session</s>
 +
** Implemented in https://github.com/openstack/swift/commit/a4cc353375264e4bcd8f9aef2f0701ae800e0e73
  
 
----
 
----
  
 
[[Category:ObjectStorage]]
 
[[Category:ObjectStorage]]

Latest revision as of 00:07, 1 May 2020

Ideas for OpenStack Swift

This page is a collection of "brain dumps" for ideas about features in OpenStack Swift. If you're working on something, it's a very good idea to write down what you're thinking about. This lets others get up to speed, helps you collaborate, and serves as a great record for future reference. Write down your thoughts somewhere and put a link to it here. It doesn't matter what form your thoughts are in; use whatever is best for you. Your document should include why your idea is needed and your thoughts on particular design choices and tradeoffs. Please include some contact information (ideally, your IRC nick) so that people can collaborate with you.

Historic "specs" are available at https://specs.openstack.org/openstack/swift-specs/

Etherpads from previous meetups/hackathons/Design Summits/PTGs are available at Swift/Etherpads

Ideas

Format: Idea -- link to your brain dump

Done: