<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saboyutaka</author_name>
  <author_url>https://blog.hatena.ne.jp/saboyutaka/</author_url>
  <blog_title>The paradigm shift</blog_title>
  <blog_url>https://saboyutaka.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>そろそろ今年のISUCON、ISUCON8まであと1ヶ月ちょっとになったのでひとりリハーサルをそろそろはじめてるさぼです。去年ISUCON7に初挑戦してRubyを選択してsleep 1が乗り越えられず人権を失いました(原因は他にもあるけど...)。 ngx_lua での sleep 去年、予選終わったあとに感想戦で聞いた、Openresty、ngx_luaを使ったsleep方法を試したりしました。Rubyでsleepを行うと処理をブロッキングしてしまうので、nginx側で1秒待った上でRubyに処理を渡すことでRuby側では処理を待つ必要がなくって捌けるリクエストを増やす算段です。 昨日はng…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsaboyutaka.hatenablog.com%2Fentry%2F2018%2F08%2F13%2F220809&quot; title=&quot;Rubyエンジニアはsleep 1で殺せる、をngx_mrubyのAsync.sleepで乗り越える  - The paradigm shift&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/s/saboyutaka/20180813/20180813215213.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-13 22:08:09</published>
  <title>Rubyエンジニアはsleep 1で殺せる、をngx_mrubyのAsync.sleepで乗り越える </title>
  <type>rich</type>
  <url>https://saboyutaka.hatenablog.com/entry/2018/08/13/220809</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
