<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yumlonne</author_name>
  <author_url>https://blog.hatena.ne.jp/yumlonne/</author_url>
  <blog_title>Mobile Factory Tech Blog</blog_title>
  <blog_url>https://tech.mobilefactory.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>バックエンド</anon>
    <anon>開発</anon>
    <anon>Perl</anon>
    <anon>インフラストラクチャ</anon>
  </categories>
  <description>駅メモ！チームエンジニアの id:yumlonne です。 この記事では Redis の sorted sets で実装していたランキング処理を MySQL に移行した仕組みを紹介します。 背景 駅メモ！には複数のランキングがあり、Redis の sorted sets を使うことでパフォーマンスの高いランキング処理を実現していました。 中にはリリースからの全期間に渡るデータを利用するランキングもあり、Redis のメモリ使用率は日に日に増えていく一方でした。 何度か Redis をスケールアップしてメモリを増やすことで対応していましたが、根本的に対応しなければ今後も Redis をスケールア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.mobilefactory.jp%2Fentry%2F2024%2F01%2F29%2F163000&quot; title=&quot;コスト削減のため Redis の sorted sets で実装していたランキング処理を MySQL に移行しました - Mobile Factory Tech Blog&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/m/mobile-factory/20240129/20240129163007.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-29 16:30:00</published>
  <title>コスト削減のため Redis の sorted sets で実装していたランキング処理を MySQL に移行しました</title>
  <type>rich</type>
  <url>https://tech.mobilefactory.jp/entry/2024/01/29/163000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
