<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>no_clock</author_name>
  <author_url>https://blog.hatena.ne.jp/no_clock/</author_url>
  <blog_title>にゃみかんてっくろぐ</blog_title>
  <blog_url>https://typewriter.hatenablog.jp/</blog_url>
  <categories>
    <anon>P2P地震情報</anon>
    <anon>Webサービス</anon>
  </categories>
  <description>P2P地震情報の API サーバー (api.p2pquake.net) は、毎日 1000 万リクエスト以上を捌いている。ピーク時は毎秒 300 リクエストを超える。 VPS 1 台でここまで到達するのにそこそこ試行錯誤した。結果として意外性はなくやることやっただけという感じではあるのだが、アーキテクチャーや設定値を整理して記事にしておく。 前提となる構成、及び状況 DB: MongoDB Capped Collections 速度 Tailable Cursors アプリケーションサーバー: Go Web サーバー: Nginx 課題 TLS の負荷（たぶん） 最後に 前提となる構成、及び…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftypewriter.hatenablog.jp%2Fentry%2F2022%2F09%2F17%2F121724&quot; title=&quot;毎日 1000 万リクエストを捌く 1 台の API サーバー - にゃみかんてっくろぐ&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/n/no_clock/20220917/20220917113034.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-17 12:17:24</published>
  <title>毎日 1000 万リクエストを捌く 1 台の API サーバー</title>
  <type>rich</type>
  <url>https://typewriter.hatenablog.jp/entry/2022/09/17/121724</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
