<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a2c</author_name>
  <author_url>https://blog.hatena.ne.jp/a2c/</author_url>
  <blog_title>When it’s ready.</blog_title>
  <blog_url>https://a2c.hatenablog.com/</blog_url>
  <categories>
    <anon>gae</anon>
    <anon>python</anon>
  </categories>
  <description>AppEngineには、どんな処理も30秒以内に終わらせないとダメって言う通称30秒ルールという神の掟があってこれを破るとプロセスをKillれてしまいます。ほとんどの処理は30秒もかからないので問題ないですが、クロールとか形態素解析とかやりだすと30秒なんて一瞬です。特にネットワーク経由で複数のものを取りに行ったりすると2秒かかるのを10個もやれば、DataStoreのIOとかも含めると余裕で30秒を使いきってしまいます。そこで、TaskQueueの登場です。適当につんどくと無料Versionだと1秒間あたり5個ずつ処理してくれます。先程の例だと、10個やるのに30秒だったのが1個処理するのに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa2c.hatenablog.com%2Fentry%2F20100505%2F1273064408&quot; title=&quot;KayでシンプルにTaskQueueを使いこなす - When it’s ready.&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-05-05 22:00:08</published>
  <title>KayでシンプルにTaskQueueを使いこなす</title>
  <type>rich</type>
  <url>https://a2c.hatenablog.com/entry/20100505/1273064408</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
