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 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
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
Partner Zones AWS Cloud
by AWS Developer Relations
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
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Keep Your S3 Cloud Clean with Multi-Object Delete and Object Expiration

Keep Your S3 Cloud Clean with Multi-Object Delete and Object Expiration

John Esposito user avatar by
John Esposito
·
Dec. 28, 11 · Interview
Like (0)
Save
Tweet
Share
3.00K Views

Join the DZone community and get the full member experience.

Join For Free

A long time ago, in a 32-bit-world far, far away, we ran out of storage space quickly, and kept our closets clean as a result. Lots of the garbage really was garbage, too -- my small non-profit had absolutely no need for year-old log files, for example -- so nothing short of a legitimate hoarding neurosis could excuse these files' persistence.

Then storage became cheap -- then cloud storage became infinite, and why would you bother cleaning up if your storage space just kept growing? The cat hoarder isn't even crazy if the house is infinitely large: even a space filled with a million cats, if its volume is infinite, has zero density. Okay, maybe you pay a little extra, and maybe your performance suffers a little, but nothing crashes, and your performance is probably good enough, and is it really worth an extra half hour on a Friday afternoon..?..

Maybe. But two new (Dec2011) features from Amazon S3 give you that half hour too (and possibly way more):

  • Multi-object delete: lets you delete a thousand objects at once, and/or object versions by Version Id. Great for catching up on old garbage, or clearing out superseded data, or tossing out an outdated project, etc. Learn more from the official announcement or developer guide.
  • Object expiration: lets you define rules to schedule removal of objects from each S3 bucket (up to a hundred expiration rules). in other words: stops the garbage from building up in the first place. Read the announcement, or peruse the developer guide.

 

AWS Object (computer science) Cloud

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Implementing PEG in Java
  • How We Solved an OOM Issue in TiDB with GOMEMLIMIT
  • Getting a Private SSL Certificate Free of Cost
  • 19 Most Common OpenSSL Commands for 2023

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

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: