<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dkfj</author_name>
  <author_url>https://blog.hatena.ne.jp/dkfj/</author_url>
  <blog_title>プログラマでありたい</blog_title>
  <blog_url>https://blog.takuros.net/</blog_url>
  <categories>
    <anon>プログラム</anon>
    <anon>crawler</anon>
  </categories>
  <description>最近のRubyのクローラーは、EventMachineを使って並列化するのが流行のようです。EventMachineは、非同期処理をお手軽に実装できるフレームワークです。Rubyのスレッド機能との違いは、Reactorパターンを使いシングルスレッドで実装している点です。こちらのブログが詳しいので参考になります。 「見えないチカラ: 【翻訳】EventMachine入門」 EventMachineを使うと、イベント・ドリブンの処理を簡単に実装出来ます。使い方は簡単ですが、通常の同期処理やスレッドをつかった処理に比べると、どうしてもコードの記述量は多くなります。今回の例である並列化してクローラーを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.takuros.net%2Fentry%2F20140103%2F1388701372&quot; title=&quot;複数並行可能なRubyのクローラー、「cosmicrawler」を試してみた - プログラマでありたい&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>http://ecx.images-amazon.com/images/I/51EhPjIQBjL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-03 07:22:52</published>
  <title>複数並行可能なRubyのクローラー、「cosmicrawler」を試してみた</title>
  <type>rich</type>
  <url>https://blog.takuros.net/entry/20140103/1388701372</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
