<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>estie</author_name>
  <author_url>https://blog.hatena.ne.jp/estie/</author_url>
  <blog_title>estie inside blog</blog_title>
  <blog_url>https://www.estie.jp/blog/</blog_url>
  <categories>
    <anon>technology</anon>
  </categories>
  <description>Q. Lambdaって、毎回.pyを実行するんじゃないの？ A. ハンドラの「関数」を実行する メッセージそれぞれに対して print(&quot;message: &quot;, message[&quot;text&quot;], message[&quot;ts&quot;], time.time() - float(message[&quot;ts&quot;])) と時間差を取得してみても、正しい時間差が取れていました。でも毎回同じメッセージを形態素解析してしまっています。 ということは、requests.getが毎回実行されていないかも知れません。ハンドラの関数内部だけが毎回実行されている仮説、つまりハンドラの外で実行していたrequestsである、 res …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.estie.jp%2Fblog%2Fentry%2F2022%2F11%2F30%2F110000&quot; title=&quot;AWS Lambdaはプログラム全体ではなく、ハンドラの関数を実行する - estie inside blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/e/estie/20220818/20220818203755.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-30 11:00:00</published>
  <title>AWS Lambdaはプログラム全体ではなく、ハンドラの関数を実行する</title>
  <type>rich</type>
  <url>https://www.estie.jp/blog/entry/2022/11/30/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
