<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lhiroki1205</author_name>
  <author_url>https://blog.hatena.ne.jp/lhiroki1205/</author_url>
  <blog_title>技術ブログ</blog_title>
  <blog_url>https://lhiroki1205.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>Sidekiq アンチパターン 業務でsidekiqを利用するケースがあったのですが、sidekiqのアンチパターンについて知らなかったのでまとめました。 1. 命名規則について ワーカーの名前は後から変更するのは後から変更するのは大変です。 ワーカーの命名規則をつけるときは動作を表すようにしましょう。 BAD 1. WebhookWorker 2. ImportWorker この命名規則はどうでしょうか？ 1はwebhookで何をするのかの情報が不十分です。 2は何をimportするのかの情報が不十分です。 GOOD 1. WebhookNotificationWorker 2. CrewI…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flhiroki1205.hatenablog.com%2Fentry%2F2021%2F12%2F11%2F192219&quot; title=&quot;Sidekiq アンチパターンのまとめ - 技術ブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-11 19:22:19</published>
  <title>Sidekiq アンチパターンのまとめ</title>
  <type>rich</type>
  <url>https://lhiroki1205.hatenablog.com/entry/2021/12/11/192219</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
