Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6998933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:28:31+00:00 2026-05-27T20:28:31+00:00

Possible Duplicate: Notification of new S3 objects We’ve got an app that stores user

  • 0

Possible Duplicate:
Notification of new S3 objects

We’ve got an app that stores user data on S3. The part of our app that handles the uploads is decoupled from the part that processes the data. In some cases, the user will be able to upload data directly to S3 without going through our app at all (this may happen if they have their own S3 account and supply us with credentials).

Is it possible to get notified whenever the contents of an S3 bucket change? It would be cool if somehow a message could get sent that says “this file was added/updated/deleted: foo”.

Short of that, is there some timestamp somewhere I could poll that would tell the last time the bucket was updated?

If I can’t do either of these things, then the only alternative is the crawl the entire bucket and look for changes. This will be slow and expensive.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:28:32+00:00Added an answer on May 27, 2026 at 8:28 pm

    Update 2014-11:

    As Alan Illing points out in the comments, AWS now supports notifications from S3 to SNS, which can be forwarded automatically to SQS: http://aws.amazon.com/blogs/aws/s3-event-notification/

    S3 can also send notifications to AWS Lambda to run your own code directly.

    Original response that predicted S3->SNS notifications:

    If Amazon supported this, they would use SNS to send out notifications that an object has been added to a bucket. However, at the moment, the only bucket event supported by S3 and SNS is to notify you when Amazon S3 detects that it has lost all replicas of a Reduced Redundancy Storage (RRS) object and can no longer service requests for that object.

    Here’s the documentation on the SNS events supported by S3:

    http://docs.amazonwebservices.com/AmazonS3/latest/dev/NotificationHowTo.html

    Based on the way that the documentation is written, it looks like Amazon has ideas for other notification events to add (like perhaps your idea for finding out when new keys have been added).

    Given that it isn’t supported directly by Amazon, the S3 client that uploads the object to S3 will need to trigger the notification, or you will need to do some sort of polling.

    Custom event notification for uploads to S3 could be done using SNS if you like to get near-real-time updates for processing, or it can be done through SQS if you like to let the notifications pile up and process them out of a queue at your own pace.

    If you are polling, you could reduce the number of keys you need to request by having the client upload with a prefix of, say, “unprocessed/…” followed by the unique key. Your polling software can then query just S3 keys starting with that prefix. When it is ready to process, it could change the key to “processing/…” and then later to “processed/…” or whatever. Objects in S3 are currently renamed by copy+delete operations performed by S3.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: ios5 new Notification Center issue Many apps have established a paradigm like
Possible Duplicate: javascript: pause setTimeout(); Im using jQuery and working on a notification system
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: Change Notification with Sql Server 2008 Am just wondering is there's anyway
Possible Duplicate: What's the proper way to minimize to tray a C# WinForms app?
Possible Duplicate: How can I test Apple Push Notification Service without an iPhone? I
Possible Duplicate: Filetype association with application (C#) I'm writing a C# Windows app to
Possible Duplicate: How to create notification icon badge on Android apps (like iPhone) Friends
Possible Duplicate: Push-Notification Badge auto increment. I have implemented Push Notification for my iPhone
Possible Duplicate: Using SSL in an iPhone App - Export Compliance I am in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.