Automatically sync Azure Blob with the local file system

I would like to know if there is a way by which you can automatically synchronize Azure Blob with the local file system .. so that whenever a file is added to the container, it should fire an event and load into a local folder.

I get more local Sync files for Azure blob, but not in a different way.

If I use polling, how often do I need to poll and how much this affects performance.

+5
source share
3 answers

This is what you need to control yourself, since there is no way to observe the blob or container. However: you can check the eTag container (or blob ) to see if the content has been updated.

As for the survey: every time you do a GET, you get a transaction theft. Not that it was very expensive (half a penny per 100,000 transactions): if you did the survey once a second, you probably spent 15 cents (per instance of the role doing the survey) monthly. However: I think it’s a bit aggressive, especially if you have other actions related to the repository that take place simultaneously (polling queue, etc.).

It comes down to how often you think the blob content will be updated, and how relevant your local cache will be.

, , blob , ( URL- blob). , pub/sub ? , ; .

+5

Have you looked at that? Sync files with Windows Azure Storage

it's a bit outdated, but might be a good starting point.

+3
source

All Articles