<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kawasin73</author_name>
  <author_url>https://blog.hatena.ne.jp/kawasin73/</author_url>
  <blog_title>kawasin73のブログ</blog_title>
  <blog_url>https://kawasin73.hatenablog.com/</blog_url>
  <categories>
    <anon>アーキテクチャ設計</anon>
  </categories>
  <description>あなたとわたしとロバストとパフォーマンス。どうも、かわしんです。 先日 Recall.ai というビデオ会議に関連するサービスのブログ記事を読みました。 www.recall.ai インフラ費用を減らすために動画処理サーバーのプロファイルをとったところ、CPU 時間を一番使っていたのがビデオフレームを送信する際の Web Socket の通信のメモリコピーだったということがわかったので、共有メモリ上に実装したリングバッファを使うことで CPU 使用量を半分にしてサーバー代を半分にしたという豪快なお話です。 同じサーバー内のプロセス間通信に Web Socket を使うと、以下のオーバーヘッドが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkawasin73.hatenablog.com%2Fentry%2F2024%2F11%2F23%2F002053&quot; title=&quot;Recall.ai のリングバッファの設計を考察する - kawasin73のブログ&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/k/kawasin73/20241120/20241120215207.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-23 00:20:53</published>
  <title>Recall.ai のリングバッファの設計を考察する</title>
  <type>rich</type>
  <url>https://kawasin73.hatenablog.com/entry/2024/11/23/002053</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
