{"id":4035,"date":"2025-10-30T17:34:07","date_gmt":"2025-10-30T09:34:07","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=4035"},"modified":"2025-10-30T17:37:00","modified_gmt":"2025-10-30T09:37:00","slug":"aws-eventbridge-latency-latency-analysis-and-optimization-in-an-event-driven-architecture","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/ja\/aws-eventbridge-\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\uff1a\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\/","title":{"rendered":"AWS EventBridge \u30ec\u30a4\u30c6\u30f3\u30b7\u30fc: \u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u304a\u3051\u308b\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306e\u89e3\u6c7a\u3068\u6700\u9069\u5316"},"content":{"rendered":"<p>\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3001\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\uff08EDA\uff09\u306f\u3001\u9ad8\u5ea6\u306b\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u758e\u7d50\u5408\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u4e2d\u6838\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002AWS\u304c\u63d0\u4f9b\u3059\u308b\u30d5\u30eb\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308bAmazon EventBridge\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u9593\u304a\u3088\u3073\u30b7\u30b9\u30c6\u30e0\u9593\u306e\u30a4\u30d9\u30f3\u30c8\u914d\u4fe1\u3068\u81ea\u52d5\u5fdc\u7b54\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5206\u6563\u74b0\u5883\u3067\u306f\u2026<strong>\u30a4\u30d9\u30f3\u30c8\u306e\u9045\u5ef6<\/strong> \u3053\u308c\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30e6\u30fc\u30b6\u30fc \u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306b\u76f4\u63a5\u5f71\u97ff\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>EventBridge \u306e\u9045\u5ef6\u3068\u306f\u4f55\u3067\u3059\u304b?<\/h4>\n<p>EventBridge \u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3068\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u304c\u516c\u958b\u3055\u308c\u308b\u6642\u9593 (PutEvent) \u3068\u30bf\u30fc\u30b2\u30c3\u30c8 \u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u53d7\u4fe1\u3055\u308c\u308b\u6642\u9593 (Target) \u306e\u5dee\u3092\u6307\u3057\u3001\u30a4\u30d9\u30f3\u30c8\u304c\u300c\u30c8\u30ea\u30ac\u30fc\u300d\u3055\u308c\u3066\u304b\u3089\u300c\u6d88\u8cbb\u300d\u3055\u308c\u308b\u307e\u3067\u306e\u901f\u5ea6\u3092\u53cd\u6620\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u3078\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u66f8\u304d\u8fbc\u307f\u3001\u30eb\u30fc\u30eb\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u3078\u306e\u914d\u4fe1\u3001\u30bf\u30b9\u30af\u306e\u5b9f\u884c\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u901a\u5e38\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4f1d\u9001\u3068\u30eb\u30fc\u30eb\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u30d5\u30a7\u30fc\u30ba\u3067\u9045\u5ef6\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u5178\u578b\u7684\u306a\u9045\u5ef6\u6027\u80fd<\/h4>\n<p>\u540c\u3058\u30ea\u30fc\u30b8\u30e7\u30f3\u5185\u3067\u306f\u3001EventBridge \u306e\u5e73\u5747\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306f\u901a\u5e38 [\u6307\u5b9a\u3055\u308c\u305f\u5024] \u672a\u6e80\u306b\u306a\u308a\u307e\u3059\u3002 <strong>0.5\u79d2<\/strong>\u307b\u3068\u3093\u3069\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u306f\u3001\u5b89\u5b9a\u3057\u305f\u72b6\u614b\u3092\u7dad\u6301\u3057\u307e\u3059\u3002 <strong>\u6570\u5341\u304b\u3089\u6570\u767e\u30df\u30ea\u79d2<\/strong>\u3002<\/p>\n<p>\u5730\u57df\u9593\u306e\u4f1d\u9001\u9045\u5ef6\u306f\u304a\u3088\u305d <strong>1\uff5e2\u79d2<\/strong>\u30d4\u30fc\u30af\u6642\u3084\u8907\u96d1\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u5834\u5408\u3001\u9045\u5ef6\u306f\u6570\u79d2\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>EventBridge \u306f\u3001WebSocket \u306e\u3088\u3046\u306a\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u30b5\u30fc\u30d3\u30b9\u3067\u306f\u306a\u304f\u3001\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u975e\u540c\u671f\u30a4\u30d9\u30f3\u30c8\u914d\u4fe1\u3092\u8a2d\u8a08\u76ee\u6a19\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u9045\u5ef6\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u4e3b\u306a\u8981\u56e0<\/h4>\n<ol>\n<li><strong>\u30a4\u30d9\u30f3\u30c8\u898f\u6a21<\/strong>1 \u3064\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u6700\u5927\u30b5\u30a4\u30ba\u306f 256 KB \u3067\u3059\u3002\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u308b\u307b\u3069\u3001\u8ee2\u9001\u901f\u5ea6\u304c\u9045\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30eb\u30fc\u30eb\u306e\u8907\u96d1\u3055<\/strong>\u591a\u5c64\u30de\u30c3\u30c1\u30f3\u30b0\u30ed\u30b8\u30c3\u30af\u306b\u3088\u308a\u8a55\u4fa1\u6642\u9593\u304c\u9577\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30bf\u30fc\u30b2\u30c3\u30c8\u30bf\u30a4\u30d7<\/strong>Lambda \u3068 SQS \u306f\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u6700\u3082\u4f4e\u304f\u3001API Destinations \u3068 Step Functions \u306f\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u6bd4\u8f03\u7684\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u5730\u57df\u9593\u306e\u611f\u67d3<\/strong>\u5730\u57df\u9593\u306e\u9001\u4fe1\u306b\u306f AWS \u30b0\u30ed\u30fc\u30d0\u30eb \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u7d4c\u7531\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u305d\u306e\u7d50\u679c\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u304c\u5927\u5e45\u306b\u5897\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30b7\u30b9\u30c6\u30e0\u8ca0\u8377<\/strong>\u30bf\u30fc\u30b2\u30c3\u30c8 \u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3059\u308b\u540c\u6642\u5b9f\u884c\u6027\u304c\u9ad8\u3044\u5834\u5408\u3084\u8ca0\u8377\u304c\u5927\u304d\u3044\u5834\u5408\u306f\u3001\u30ad\u30e5\u30fc\u30a4\u30f3\u30b0\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4>\u76e3\u8996\u3068\u6700\u9069\u5316\u306e\u65b9\u6cd5<\/h4>\n<p>\u5165\u624b\u53ef\u80fd <strong>Amazon CloudWatch \u30e1\u30c8\u30ea\u30af\u30b9<\/strong> \u76e3\u8996\u30e1\u30c8\u30ea\u30c3\u30af\u306b\u306f\u3001Invocations\u3001FailedInvocations\u3001DeliveryLatency \u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u9069\u5316\u306e\u65b9\u5411\u6027\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><strong>\u8fd1\u304f\u306b\u5c55\u958b<\/strong>\u30a4\u30d9\u30f3\u30c8\u306e\u30bd\u30fc\u30b9\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u306f\u540c\u3058\u30a8\u30ea\u30a2\u306b\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u7c21\u7d20\u5316\u3055\u308c\u305f\u30eb\u30fc\u30eb<\/strong>\u8907\u96d1\u306a JSON \u30de\u30c3\u30c1\u30f3\u30b0\u3092\u524a\u6e1b\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u5206\u5272\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9<\/strong>: \u9ad8\u540c\u6642\u5b9f\u884c\u30a4\u30d9\u30f3\u30c8\u306e\u8fc2\u56de;<\/li>\n<li><strong>\u975e\u540c\u671f\u8a2d\u8a08<\/strong>SQS\u3001SNS\u3001\u307e\u305f\u306f Lambda \u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/li>\n<li><strong>\u30a4\u30d9\u30f3\u30c8\u30b5\u30a4\u30ba\u306e\u5236\u5fa1<\/strong>\u30ad\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u307f\u304c\u6e21\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u8907\u96d1\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5834\u5408\u306f\u3001 <strong>AWS \u30b9\u30c6\u30c3\u30d7\u95a2\u6570<\/strong>\u975e\u540c\u671f\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u81ea\u52d5\u518d\u8a66\u884c\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u901a\u3058\u3066\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u3068\u4fe1\u983c\u6027\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u3068\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u5fdc\u52df\u3068\u6982\u8981<\/h4>\n<p>\u307b\u3068\u3093\u3069\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u306f\u3001\u6570\u5341\u304b\u3089\u6570\u767e\u30df\u30ea\u79d2\u306e\u9045\u5ef6\u306f\u3001\u96fb\u5b50\u5546\u53d6\u5f15\u306e\u6ce8\u6587\u51e6\u7406\u3001\u30ed\u30b0\u30a2\u30e9\u30fc\u30c8\u3001IoT \u30c7\u30fc\u30bf\u30ec\u30dd\u30fc\u30c8\u306a\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306b\u307b\u3068\u3093\u3069\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u305b\u3093\u3002<\/p>\n<p>EventBridge \u306f\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5fdc\u7b54\u91cd\u8996\u306e\u30d3\u30b8\u30cd\u30b9\u3067\u306f\u306a\u304f\u3001\u4fe1\u983c\u6027\u3068\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u3092\u91cd\u8996\u3059\u308b\u975e\u540c\u671f\u30b7\u30b9\u30c6\u30e0\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5168\u4f53\u3068\u3057\u3066\u3001AWS EventBridge \u306f\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3092 1 \u79d2\u672a\u6e80\u306b\u6291\u3048\u306a\u304c\u3089\u3001\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30a4\u30d9\u30f3\u30c8\u914d\u4fe1\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002\u9069\u5207\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u8a2d\u8a08\u3068\u30eb\u30fc\u30eb\u306e\u6700\u9069\u5316\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u5b89\u5b9a\u6027\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u3001\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u30b7\u30b9\u30c6\u30e0\u304c\u30d3\u30b8\u30cd\u30b9\u306e\u5909\u5316\u306b\u8fc5\u901f\u304b\u3064\u78ba\u5b9f\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3001\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\uff08EDA\uff09\u306f\u3001\u9ad8\u5ea6\u306b\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u758e\u7d50\u5408\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u4e2d\u6838\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002AWS\u304c\u63d0\u4f9b\u3059\u308b\u30d5\u30eb\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308bAmazon EventBridge\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u9593\u304a\u3088\u3073\u30b7\u30b9\u30c6\u30e0\u9593\u306e\u30a4\u30d9\u30f3\u30c8\u914d\u4fe1\u3068\u81ea\u52d5\u5fdc\u7b54\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5206\u6563\u74b0\u5883\u3067\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u304c\u30b7\u30b9\u30c6\u30e0\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306b\u76f4\u63a5\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":4036,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-4035","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/4035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/comments?post=4035"}],"version-history":[{"count":1,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/4035\/revisions"}],"predecessor-version":[{"id":4037,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/4035\/revisions\/4037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media\/4036"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media?parent=4035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/categories?post=4035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/tags?post=4035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}