snsの活用事例

20
第2回 AWS User Group - Japan 勉強会 ライトニングトーク SNSの活事例 印刷株式会社 名辺健 2010.06.14

Upload: takehito-tanabe

Post on 04-Jun-2015

2.478 views

Category:

Technology


4 download

DESCRIPTION

第2回 AWS User Group - Japan 勉強会でのライトニングトークです。 ※ここで言う「SNS」とは、Amazon SNS(Simple Notification Service)の事です。

TRANSCRIPT

Page 1: SNSの活用事例

第2回 AWS User Group - Japan 勉強会ライトニングトーク

SNSの活⽤用事例欧⽂文印刷株式会社  ⽥田名辺健⼈人

2010.06.14

Page 2: SNSの活用事例

Simple Notification Service

Page 3: SNSの活用事例

Notification?

Page 4: SNSの活用事例

依頼するひと

Amazon SNS

通知する⼈人 通知される⼈人々

Message

Message

Message

処理するひと処理するひと処理するひと

Page 5: SNSの活用事例

メッセージの通知先

•Email / Email-JSON•HTTP / HTTPS•SQS (ktkr!)

Page 6: SNSの活用事例

依頼するひと

Amazon SNS

通知する 通知される 々

Message

Message

Message

処理するひと処理するひと処理するひと

何それ?うまいの?

•⼀一⻫斉通知は⼤大変•分散処理•粗結合

Page 7: SNSの活用事例

利⽤用イメージ

•ワークフローシステム例:受注システム

Page 8: SNSの活用事例

受注

Order !

受注通知 AmazonSNS

受注情報

お客さん

担当者

なんか偉い

提携業者とか

在庫確認

注 ありがとう!

HTTP(S)

AmazonSQS

商品情報

確認処理AmazonSNS

商品情報

在庫状況

発送手配

在庫管理

Page 9: SNSの活用事例

SNSを使う理由 1(たぶん)はやい!• APIがシンプル • Rubyライブラリはまだ?

• 正直シンプルすぎる部分が!• あとでブログで⾔言及しとく

http://www.flickr.com/photos/alexeggert/236873823/

Page 10: SNSの活用事例

SNSを使う理由 2やすい!• $0.06 / 10万リクエスト• 10万通のメールでたった$2.00 !

• SQSへの通知はタダ!

http://www.flickr.com/photos/mujitra/4266039832

Page 11: SNSの活用事例

SNSを使う理由 3(たぶん)うまい!• 信頼性が⾼高い(と思う)• 通知先の種類も増えるらしい

http://www.flickr.com/photos/adactio/30956824/

Page 12: SNSの活用事例

今後に期待

出たばっかりだし!

Page 13: SNSの活用事例

実際の例

Page 14: SNSの活用事例

http://awswatch.heroku.com/

Page 15: SNSの活用事例

そこから2週間、夜中にゴソゴソと、RubyのSNSクライアント実装するところからやりました。(使わないメソッドは実装してないなど)

Page 16: SNSの活用事例

表⽰示したいタイムゾーンを設定出来る

AmazonSNSを利⽤用

Page 17: SNSの活用事例

メール通知設定

Page 18: SNSの活用事例

AmazonSNS

Amazon Web Services » Service Health Dashboard

Current Status - Jun 10, 2010

Amazon Web Services publishes our most up-to-the-minute information on service availability in the table below. Check back here any time to getcurrent status information, or subscribe to an RSS feed to be notified of interruptions to each individual service. If you are experiencing a real-time,operational issue with one of our services that is not described below, please inform us by clicking on the "Report an Issue" link to submit a serviceissue report.

Service is operating normally Performance issues Service disruption Informational message

[RESOLVED] Amazon S3 Console

Current Status Details RSS

Amazon CloudFront Service is operating normally.

Amazon Elastic Compute Cloud (N. California) Service is operating normally.

Amazon Elastic Compute Cloud (N. Virginia) Service is operating normally.

Amazon Elastic MapReduce (N. California) Service is operating normally.

Amazon Elastic MapReduce (N. Virginia) Service is operating normally.

Amazon Flexible Payments Service Service is operating normally.

Amazon Mechanical Turk (Requester) Service is operating normally.

Amazon Mechanical Turk (Worker) Service is operating normally.

Amazon Relational Database Service (N. California) Service is operating normally.

Amazon Relational Database Service (N. Virginia) Service is operating normally.

Amazon Simple Notification Service (N. California) Service is operating normally.

Amazon Simple Notification Service (N. Virginia) Service is operating normally.

Amazon Simple Queue Service (N. California) Service is operating normally.

Amazon Simple Queue Service (N. Virginia) Service is operating normally.

Amazon Simple Storage Service (N. California) Service is operating normally.

Amazon Simple Storage Service (US Standard) Service is operating normally.

Amazon SimpleDB (N. California) Service is operating normally.

Amazon SimpleDB (N. Virginia) Service is operating normally.

Amazon Virtual Private Cloud (N. Virginia) Service is operating normally.

AWS Management Console more

Report an IssueNorth America Europe Asia Pacific

1

何分かおきにTaskを起動

2 RSS取得 3 変化があったら、SNSにPublish

4 ドキドキするメールが⾶飛ぶ

Page 19: SNSの活用事例

まとめ

•Amazon SNSは、出たばかりのサービスで、使い勝⼿手が「あと⼀一息」なところがあります。みんなでフィードバックして使いよいものにしよう!

Page 20: SNSの活用事例

ご清聴ありがとうございました続きは blog にて

@dateofrock