ROMANCE DAWN for the new world

Microsoft Azure を中心とした技術情報を書いています。

//build/ 2016 振り返り勉強会で Azure Functions の話をしてきました

csugjp.doorkeeper.jp

先週の土曜日、//build/ 2016 振り返り勉強会に参加して、Azure Functions の話をしてきました

speakerdeck.com

最後にデモした Azure Storage Account Replication の補足です。
https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/05/09/azure-storage-account-backup-azure-automation-runbook-azure-functions/blogs.msdn.microsoft.com

上記のブログが元ネタですが、Blob Trigger を利用して、別ストレージアカウントの Cool Storage にコピーするシナリオでした。
f:id:TonyTonyKun:20160522225248p:plain

Azure Portal から Output Binding に Cool Storage を指定できなかったので、一旦コピー元のストレージアカウントに設定した後、Cool Storage に変更し忘れたことがデモに失敗した原因でした。

また、Blob Trigger を利用する際には、Container 内の Blob が 10,000 を超えた場合の注意事項として、リアルタイムに Trigger されなかったり、Trigger が欠落する可能性を考慮する必要があります。これを回避するには、Queue Trigger を使うことを推奨しています。詳しくは、こちらの公式ドキュメントに記載されています。
azure.microsoft.com

Azure Functions にとって、Trigger のリアルタイム性と信頼性は重要なので、正式リリースするまでには改善してほしい部分です。

planned
How can we improve Microsoft Azure Functions?
  • 47 votes
  • 3 comments

Should be support real-time Storage blob triggers

Azure Functions is awesome! I'd like to propose for more convenience.
Currently, Storage blob triggers do NOT support real-time. Because write at
"https://azure.microsoft.com/en-us/documentation/articles/functions-reference/"

"The Functions runtime scans log files to watch for new or change...

feedback.azure.com